Solved

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

Posted on 2003-12-08
5
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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 what frame rate is, how to control it and what effect it has on the video.

740 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