|
-
KoolMoves Moderator
onclipevent(data)?
Is this supported?
In theory this event is triggered when a clip completes a loadMovie or a LoadVariables. What I was attempting to do was scale the movie which loads dynamic jpg, but I can get size untill it's done loading the jpg.
I cannot seem to get this event to trigger though.
-
Why not use a MovieClipLoader and it's onLoadInit event ?
-
KoolMoves Moderator
 Originally Posted by w.brants
Why not use a MovieClipLoader and it's onLoadInit event ?
hmm ok didn't know that one 
Now I have to go look up the syntax for that.....
-
I also cannot get onClipEvent(data) to fire. I use loadVariablesNum() to send the contents of a form to a PHP script for onward emailing and need to know that it has been received. I can return a dynamic text variable from the PHP script that displays correctly but I would like to be able to trigger a function.
Mark
-
KoolMoves Moderator
Mark you should use LoadVars, as this is a two way event that is much improved over loadVariables Check the forum and the exchange, I have a pretty full example of an email form using loadVars there.... http://koolexchange.com
Just noticed the date of the original thread, no wonder I didn't remember it... LOL
-
Hi Bret,
Thanks for the tip, LoadVars does the trick. Incidentally I used the same LoadVars object for send and load which seems to work fine.
I'm new to Flash/ActionScript and you might be able to answer a question for me. If I create an object in a movie frame that is later replayed, I assume Flash will create a new object? Does this automatically release (free) the old object, as I don't see anything like a release() or delete() method in any docs.
Mark
-
KoolMoves Moderator
Not sure if it gets reused or not. I've always tried to avoid it myself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|