Solved

Flash MX - ActionScript 2.0 - Problems using the Loader component...

Posted on 2003-12-08
5
263 Views
Last Modified: 2011-09-20
When trying to use the Loader component to load an external SWF movie, I noticed that all the ActionScript events programmed did not take effect for the loaded movie.  For example, I have a main menu with a Loader component that loads "settings.swf".  The settings.swf file contains a drop down menu and an auto-calc field for square footage.  When the main menu loads the SWF movie into the Loader component, the Drop down menu doesn't drop down anymore, and the auto-calc fields don't auto-calc. :-)

Has anyone experienced this problem before (or can re-create this problem easily) and/or know a solution for it?

Thanks a bunch. (of points, that is)
0
Comment
Question by:mgonyea
  • 2
5 Comments
 
LVL 27

Expert Comment

by:negatyve
ID: 9933966
Well, maybe it's a problem with the drop down menu and the auto calc fields, which use "_root" notation (absolute) instead of _parent (relative), notation which is broken when the movie is loaded inside a movieclip..
0
 
LVL 9

Accepted Solution

by:
OBCT earned 450 total points
ID: 10016309
mgonyea,

Components will not work when you load them from an external swf file. I am not sure of the reason for this however I imagine it to be a glitch with Macromedia Flash MX 2004. You might be able to find more information here:
http://www.macromedia.com/devnet/mx/flash/

Rather than importing a swf file for a small area of content, try creating your components dynamically. This way you won't have any problems with having to change frames, have too much content on one frame while developing etc etc etc.
If this cannot be achieved for whatever reason, then you may have to result to using a dynamic text box for your auto-calc and a movie clip for the drop down menu (I totally advise against making a drop down menu as a movie clip)

Anyway, I wish you all the best.

Cheers

-OBCT
0
 
LVL 9

Expert Comment

by:OBCT
ID: 10035443
mgonyea,

Please post a comment or close this question.

Cheers

-OBCT
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now