Click to See Complete Forum and Search --> : onclipevent(data)?
blanius
09-15-2005, 03:31 PM
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.
w.brants
09-15-2005, 03:40 PM
Why not use a MovieClipLoader and it's onLoadInit event ?
blanius
09-15-2005, 03:59 PM
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..... :yikes:
markpotts
04-10-2008, 07:25 PM
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
blanius
04-10-2008, 10:30 PM
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
markpotts
04-11-2008, 02:46 PM
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
blanius
04-11-2008, 02:50 PM
Not sure if it gets reused or not. I've always tried to avoid it myself.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.