Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-12-08
5
Medium Priority
?
281 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 1800 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

598 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