Ask a Question related to Macromedia Flash, Design and Development.
-
Phantom_guitarist #1
Adding listener to dynamically created empty movie clip.
Can anybody help me with this problem.
I want to create a blank movieclip object in flash using actionscript i.e
then load a picture in i.e.>>this.createEmptyMovieClip("mymovieclip",1);
but this is the bit i'm struggling with, I can seem to set it up so that>>mymovieclip.loadMovie("picture.jpg");
this new image is clickable i.e
trace("I've been Pressed");>>mymovieclip.onRelease = function() {
}
Flash doesn't seem to respond to the event. I know I may have to use
addListener() but I can't seem to find an example which seems to work.
Regards
Stefan
Phantom_guitarist Guest
-
Managing ViewState of a dynamically created Custom Composite Server Control -(where the original is also dynamically created)
Ok here's my scenario. I have a Custom Composite Server Control (CCSC) consisting of a TextBox, Button & Panel. (And some other code - which I... -
adding click event to dynamically created button
Hi i have created a button using createObject and want to add click event and on click event want to call a function but its not working. The... -
Dynamically placing a movie clip on a layer
This is undoubtedly a trivial question, but I'm a new user in the middle of learning Flash and am having trouble with Actionscript. I have a... -
Can you add a listener to a movie clip?
For instance, this doesn't seem to work. Can someone tell me why? mcRolloverListener = new Object(); mcRolloverListener.onRollOver = function ()... -
Guestbook doesn't work when loaded into empty movie clip
I will initially explain my problem before I upload any files to the forum or the server and pray to god you can help (I have a deadline approaching)...



Reply With Quote

