Skip navigation
Slateclean
Currently Being Moderated

External SWFs Not Getting Added When Movie is Published

Jul 5, 2012 2:43 PM

Tags: #swf #actionscript3 #external_swf #addchild #swf_not_showing_in_published_movie

What would cause external swfs to suddently not display when a movie is published?

 

My external swf's are getting loaded and added to the stage when I test/ CTRL + Enter the movie, but when I Publish/ F12 the movie directly in Flash, or import the main swf into Dreamweaver and publish my page from there, my external swfs are not showing up.

 

I've three external .swfs, one is a collection of buttons, the other two each contain TLF Text dynamic text fields.

 
Replies
  • Currently Being Moderated
    Jul 5, 2012 2:47 PM   in reply to Slateclean

    If your swf is located in a separate folder than the html page that loads it, that can be the source of the problem.  Anything an swf file loads needs to be targeted as if that swf is in the same folder as the html page that embeds it (it doesn't have to be in that same folder, it just has to act like it is).

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 6:13 PM   in reply to Slateclean

    How are you "adding" the swfs? Are you using a Loader? Embed metadata? Something else?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 8, 2012 6:16 PM   in reply to Slateclean

    When it comes to what is best put where you should try to think interms of functional divisions.  Ideally, any file you create as a separate swf should be able to be adated for use with any number of other applications. 

     

    Just as an example, if one happened to be an mp3 player, then it would be beneficial for you to be able to take that and re-use it at will.  So in that sense, it would probably be better to have the files it uses to be processed from within it.  But to make it portable/adaptable, you would probably also want to have the ability to feed data to it to define the files that it should target.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points