+ Reply to Thread
Results 1 to 2 of 2

creating a button which clears a UIloader from another swf file

This is a discussion on creating a button which clears a UIloader from another swf file within the Flash English forums, part of the Flash CS3 - CS4 - CS5 category; hi; so i have a main page called "main.swf", in this swf there is a button and a UIloader, when ...

  1. #1
    Junior Member Settled In erickiser is on a distinguished road
    Join Date
    Jul 2010
    Posts
    6
    Rep Power
    0

    creating a button which clears a UIloader from another swf file

    hi;
    so i have a main page called "main.swf", in this swf there is a button and a UIloader, when i click the button it loads another swf called "schedule.swf" on the UIloader.

    now i also have another button on the "schedule.swf" which is suppose to clear the UIloader of the "main.swf". the problem here is that i don't know how to code that button for it to be able to clear the UIloader from the other swf.

    i hope you got what i meant please help.

  2. #2
    Junior Member Settled In dsgn1graphics is on a distinguished road
    Join Date
    Sep 2010
    Posts
    12
    Rep Power
    0

    Re: creating a button which clears a UIloader from another swf file

    Sounds to complex bro... Why don't you use the Loader class instead of the UILoader class to load your SWF's. Since there can only be one Loader object on the stage at any given time you would not have to remove anything. Flash will replace the current Loader object with a new Loader whenever you call for a new Loader. Basically, you can have all of your buttons in one frame(if your using the timeline), and possition them next to the Loader, and each button can have a different Event Lisenter to load a new swf.

+ Reply to Thread

Similar Threads

  1. As3+on click button+load swf file
    By sansrival in forum advanced Actionscript 3.0
    Replies: 2
    Last Post: 19-10-10, 11:35
  2. UILoader PNG24bit/pattern
    By fabrix in forum Actionscript 3.0 avanzato
    Replies: 0
    Last Post: 17-12-09, 12:23
  3. UIloader can't find images
    By cananot in forum Components
    Replies: 0
    Last Post: 28-11-09, 02:30
  4. utilizzo e problemi con UILoader
    By jacopo88123 in forum Actionscript 3.0 base
    Replies: 1
    Last Post: 26-06-09, 21:15
  5. button e funzione il file.as - perchè non funziona?
    By Eugene in forum Flash Italiano
    Replies: 11
    Last Post: 30-09-07, 10:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts