Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
callback functions for plugins

callback functions for plugins

2004-06-11       - By kim aldis

 Back
Reply:     1     2     3     4     5     6     7     8  

This is a bit of a long shot here seeing as 4 hasn't been around that long
but I'll give it a go anyway. I'm building a plugin, ppg as part of it,
using PPGlayout and adding callback functions to the ppglayout items and
buttons. Calbacks take the form <itemBane>_Onclick() and they're normally a
part of the plugin script. There's also PPGLayout.logic where you can add
callback functions as strings. The former would be the preferred method but
if you're building ppg layouts on the fly and only know the names of the
items at build time then ppglayout.logic is the only way. My query is about
what happens if you want to mix in-script callback logic with
ppglayout.logic. In other words, if part of your ppglayout calls callbacks
from the plugin file but you have a few ppglayout items that need to be
built on the fly. It seems that setting PPGLayout.logic wipes out all the
plugin script callbacks. Does anyone have any bright ideas about how to
handle this?

cheers,


K.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=078333909-11062004><FONT face=Arial size=2>This is a bit of a
long shot here seeing as 4 hasn't been around that long but I'll give it a go
anyway. I'm building a plugin, ppg as part of it, using PPGlayout and adding
callback functions to the ppglayout items and buttons. Calbacks take the form
&lt;itemBane&gt;_Onclick() and they're normally a part of the plugin script.
There's also PPGLayout.logic where you can add callback functions as strings.
The former would be the preferred method but if you're building ppg layouts on
the fly and only know the names of the items at build time then ppglayout.logic
is the only way. My query is about what happens if you want to mix in-script
callback logic with ppglayout.logic. In other words, if part of your ppglayout
calls callbacks from the plugin file but you have a few ppglayout items that
need to be built on the fly. It seems that setting PPGLayout.logic wipes out
all
the plugin script callbacks. Does anyone have any bright ideas about how to
handle this?</FONT></SPAN></DIV>
<DIV><SPAN class=078333909-11062004><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=078333909-11062004><FONT face=Arial
size=2>cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=078333909-11062004><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=078333909-11062004><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=078333909-11062004><FONT face=Arial
size=2>K.</FONT></SPAN></DIV></BODY></HTML>