Solved

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

Posted on 2003-12-08
5
259 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
Comment Utility
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
Comment Utility
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
Comment Utility
mgonyea,

Please post a comment or close this question.

Cheers

-OBCT
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

763 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

13 Experts available now in Live!

Get 1:1 Help Now