|
-
Button movie
quick question:
if I make a button adn drop it inside a movie (so i can use various instances of it, using vars to load the button text) when the rollover effect stops once i click the button.
i guess this is a behaviour of the movie but i'm not sure what i need to do to get around this...
cheers
Last edited by j0s3; 07-20-2007 at 11:25 AM.
jose gonzalez

-
rabid_Delineator
try to just use a movieclip instead of type button. You can assign onRelease, onRollOut functions to movieclips with instance names. So you can have one generic btnMc , that has multiple instance names with different event handlers.
btnOneMc.onRelease = function():Void{
getURL(crap);
}
or
btnOneMc.onRelease = mx.utils.Delegate.create(this,releaseFunc);
function releaseFunc():Void{
do something
}
-
awesome
thanks a lot! that's great to know
jose gonzalez

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
|