Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

how to make a button to load another movie in flash

  • 07-05-2008 8:41pm
    #1
    Closed Accounts Posts: 401 ✭✭


    as Above ^^ Last query for today hopefully!!


Comments

  • Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭Placebo


    jaysus

    make a button, export for actionscript, give it an instance name

    actionscript 3
    instanceName.addEventListener(MouseEvent.CLICK, theMethod);
    
    function theMethod(event:MouseEvent):void
    {
    var request:URLRequest = new URLRequest("http://www.[yourdomain].com/externalSwf.swf");
    var loader:Loader = new Loader()
    loader.load(request);
    addChild(loader);
    
    }
    


  • Closed Accounts Posts: 401 ✭✭culabula88


    made button then did it with window -> behaviours after , thanks anyway


  • Registered Users, Registered Users 2 Posts: 35,524 ✭✭✭✭Gordon


    Use the help manual with the Application :)


Advertisement