Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-09-2009
Member
 
Join Date: Oct 2008
Posts: 76
How to load an External SWF in Flash

I want to load a pre-built flash player that I have the source file and completed swf for. I would also like to suggest that I want swfs to upload when I click on the button situated on it. I think that I need to use loadmovie for this, but where do I assign the action script--on a frame, on an empty movie clip?
Reply With Quote
  #2  
Old 15-09-2009
Member
 
Join Date: Dec 2008
Posts: 202
Re: How to load an External SWF in Flash

Multiple SWF files can be played in succession without making the browser load another HTML page. This avoids the pause or refresh of the page associated with reloading. There are several different methods in which the external file can be loaded into a Sprite. The most typical methods are either through user interaction such as a button being pressed, or on a specific frame through an onFrame event. Because a project can be broken up into multiple movies, the individual SWF files are smaller in size. Smaller files load faster, and manage memory more efficiently.
Reply With Quote
  #3  
Old 15-09-2009
Member
 
Join Date: Apr 2008
Posts: 193
Re: How to load an External SWF in Flash

To load multiple external SWFs, declare different variables for each one - this code loads 3 SWFs. There are several different methods in which the external file can be loaded into a Sprite. The most typical methods are either through user interaction such as a button being pressed, or on a specific frame through an onFrame event. of course, be sure to stae each X and Y location so they don't load on top of each other ( without x and y locations declared, they load at the same default location of x=0 and y=0
Reply With Quote
  #4  
Old 15-09-2009
Member
 
Join Date: Oct 2008
Posts: 167
Re: How to load an External SWF in Flash

I've done some research and found that the movie clip has to be loaded before you can define the size. This works fine, except for the unload issue. The unload issue is that, I've gotten some code that uses the onEnterFrame, but I think my syntax is off. each button loads another movie into the main. these are the movies which I want to unload when i click on the close button placed on them.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to load an External SWF in Flash"
Thread Thread Starter Forum Replies Last Post
How to use an external Slave Flash Alfiee Portable Devices 4 26-06-2011 10:13 AM
Need a good external flash for my camera CloserOne Portable Devices 3 15-12-2010 07:50 PM
Plugins to load flash videos on Linux Ishaant Avasthi Technology & Internet 3 12-12-2010 11:57 PM
Flash Lite 3.1 Unable to load data dilemma Harmony60 Portable Devices 4 20-04-2010 03:00 PM


All times are GMT +5.5. The time now is 01:03 AM.