Solved

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

Posted on 2003-12-08
5
267 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
anti-download video publishing site? 6 615
Online Course Not Responding 3 94
embedding a media live encoder stream 3 136
flash professional 3 11
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

825 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