Flash 6 legacy use of _root

I use Flash about twice a year, so I really only have half a
clue...
I have an old Flash 6 app that I want to reuse as part of a
new project. It
uses _root extensively. Soooo I toldya I only have half a
clue :-(
Anyway, I am trying to load it into a movieclip on screen:-
myMovie = "mySwf.swf";
myClip_mc.loadMovie(myMovie);
This works just fine :-)
Now, here's the thing. The file was built and published as
Flash 6, and
works fine on its own. But once I import it into a new Flash
file, it stops
working - specifically there is some XML parsing code used to
dynamically
create a menu that is failing.
Among other things I've tried matching Flash publish versions
- so make sure
both old file and container are published as Flash 6, for
instance. No Joy.
So I tried publishing the old file as Flash 7 (and 8, 9), and
it stopped
working as standalone, and still didn't work in the
container. I tried
ActionScript 1 and 2 (either is fine as Flash 6) still no
joy.
Anyway - rather than bore you further, is there a good
article anywhere that
helps to troubleshoot and fix idiot use of _root?
Oh, I should add that I have experimented with lockRoot too,
with only
limited success.
Steve

Setting lockRoot to true on the clip being loaded in should
do the trick.
What does 'limited success' mean? What is still failing to
work? Quite a bit
has changed from Flash 6 days... could be something as simple
as 'add' being
changed to +.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Create a flash video using adobe media encoder cc 2014

    How to create a flash video using adobe media encoder cc 2014?

    removal of FLV and F4V export features from Adobe Media Encoder, After Effects, and Premiere Pro

  • How to watch flash based videos without adobe flash installed using Safari

    How do I watch flash based videos without adobe flash installed using Safari?

    Once you have Chrome installed, activate the Develop menu in Safari (go to Safari Preferences > Advanced > Show Develop Menu). You then will see under the Develop menu the Open Page With option and Chrome will be listed there.
    So each time you open a page with Safari requiring Flash, you use that menu option to open the same page in Chrome.

  • Tracing Captivate 4 variables in Flash CS4 using AS3

    Hello. I've googled this 9 ways to Sunday and can't find an answer. I'm hoping one of you can help.
    I have a very simple Captivate 4 quiz with one question. I embed the Captivate SWF file in a Flash file, which plays fine. However I am struggling with tracing one of the Captivate variables in the Flash file using AS3.
    All I want is for Flash to read the Captivate variables so I can continue developing my quiz in Flash (building additional functionality Captivate does not provide).
    The variable I'm attempting to trace is cpInfoAuthor.
    I've attempted:
    trace(root.cpInfoAuthor);
    trace(root.movie.cpInfoAuthor);
    var cpAuthor = MovieClip(root).cpInfoAuthor;
    All of the above examples error out: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    Captivate preferences are set to publish in AS3.
    Anyone with an explanation?
    Be splendid, Jodie.

    Hi Jodie,
    I'm not exactly 100% proficient in AS3 but to me it looks like your statements are wrong.
    Since you are loading your Captivate SWF into a Flash SWF then (root) actually refers to your Flash SWF. I guess that you are loading your Captivate SWF into a movieclip on your Flash stage and that movieclip has an instance name,
    You would therefore need to grab the variables like var cpAuthor = yourLoaderMovieClip.cpInfoAuthor;
    See if that doesn't do the trick for you.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • Flash Player use to execute the main class entry point before rendering. Now it does not

    Adobe Flash Player use to execute the main class entry point before rendering the first frame. Now using the latest browsers and Flash Player 11.8 (11.8.800.94, or 11.8.800.97 for Chrome).
    With one of our swf apps, there are visual display objects on the first frame of the timeline. When the main class constructor is executed, those display objects are set to visible = false. So previously those display objects were never displayed because the first frame did not render until after the main class code was ran.
    Now when we browse to the our website, we find that those display objects are visible for a split moment of time (such as a quarter of a second).
    It appears that this may be a bug. We are wondering this could be new behavior based on loading/unloading the swf to optimize CPU usage and that Flash Player is taking a snapshot of the internal state of the first frame and displaying the cached snapshot before it actually loads.
    So...Chris (or other Adobe representative), is Flash Player supposed to be rendering the display before any code executes it runs the main class?

    Not that I'm aware of.  If this is something that just started with 11.8, then we could be running into some sort of bug injection.  Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code, application or URL so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the bug number and we'll investigate from there.

  • What's the best flash to use for nighttime sports games?

    What's the best flash to use for nighttime sporting events? I have a rebel XT and I'm pushing it to its limits trying to stop the action. I've tried a speedlite 430 but it didn't have a hook up for an external battery pack and I was told I'd need the extra power. Just tried the 580ex ll on Friday but at the 1/1 setting, it didn't flash for each frame in a burst, even with the external power. I should have backed it down to 1/4 but didn't know at the time. Any thought on a really good flash for night sports? Is the 580 a good choice?

    JUst as Tim_S said. YOu will want a external battery pack. Unforatannly the 430 does not have the option to plug in a external battery pack so will want to pick up a 580 or one of the new 600 series. 
    Then you start looking at the battery packs. I recommend Quantum power packs
    http://qtm.com/index.php/products/2012-05-17-18-18-59/turbos
    5D III, 8-15L, TSE 24L, 24-105L, 85L, 70-200L, EX600 X2

  • Update the Player Flash CS5 Uses (In Test Movie)

    So Flash CS5 came with a beta version of Flash Player 10.1.
    Now that the official release of Flash Player 10.1 is released, how do I update what Flash CS5 uses when I Test Movie?
    I have so far updated the Flash Player in my browser and my standalone players but I can't seem to figure out how to update the Player that Flash CS5 uses.
    This wouldn't be so bad if the beta of 10.1 wasn't breaking my project because of bugs.
    Any help appreciated.

    More bumps, there has to be a way to do this.  Adobe wouldn't cement in a beta verison of Flash Player into Flash CS5 would they?

  • Where and how can I know which version of http protocol that flash player used?

    If flash player uses web brower's http protocol?

    Is the EOB a PDF document?
    Firefox updates every 6 weeks and the current version is 31.0. Rolling back almost 6 months is not recommended for security reasons. If that's their best answer, I suggest we either figure out a workaround for getting the document, or you just use a different browser for their site.

  • Unloading a flash movie using Safari browser

    I have MAC 10.4 and safari 2.0 browser.I run a flash movie(Instruction.swf) and after that the actual test for the student run.So while running The first movie i.e Instruction.swf I am not able to unload that movie using javascript in Safari 2.0 browser so that the actual test can run.It just hang up after finishing the movie.While in the other Mac and windows it is working fine.
    Please Help me.
    Thanks In Advance.

    Welcome to Apple Discussions!
    Do you mean to say, in other Mac and Windows web browsers it is working fine? If that's the case, it sounds like the version of Flash plugin used by the Safari plugin is probably older than the one used by the other web browsers.
    With Safari Enhancer's enabling of the Debug menu you can force certain webpages to open in other web browsers. That would help streamline your viewing of those pages.
    http://www.lordofthecows.com/safari_enhancer.php
    You can also enable the Debug menu with:
    defaults write com.apple.Safari IncludeDebugMenu 1
    from the Terminal.

  • Customizing DataGrid component in Flash CS3 using AS3

    Can anyone please explain how to customize the DataGrid
    component in Flash CS3 using AS3???
    How do you remove/change the grid lines for the rows and
    colums?
    How do you remove/change the border?
    My day has been lost searching for this answer. Flash
    Documentation is worthless and Google finds nothing with regards to
    AS3. ASDGRH.
    Thanks in advance,
    TedWeb

    I hope you've found a resolution to this by now, but I just noticed the discussion title when posting a captioning issue.
    In a nutshell, create a listener on your FLVPlayback module with a VideoEvent.SKIN_LOADED event. You'll also need to set the showCaptions in your FLVPlaybackCaptioning object to true. Apparently, if the captions are set to false when the player object loads the skin, the captions aren't recognized and your captions toggle will require an extra click to activate the captions.
    Here's the link to another discussion on the same topic with all of the details:
    http://kb2.adobe.com/cps/402/kb402452.html
    Also, have you had any issues with the caption button in the FLVPlayback skin not showing up? That's my current issue. Here's the discussion for it:
    http://forums.adobe.com/thread/796423?tstart=0

  • What version of Flash is used for Kindle Fire?

    What version of Flash is used for Kindle Fire?

    The latest Kindle Fire HD is not officially supported by Flash  Player.  Please see this page for a list of all certified devices:
    Flash Player Certified Devices
    That said, some users have been able to get Flash Player working on the Kindle Fire by using Dolphin, a third party browser.
    How to install Adobe Flash on your Kindle Fire HD   
    Get Flash on Kindle Fire HD (video)

  • How to choose the speakers Flash Player uses?

    How on earth do I choose the speakers which Flash Player uses?
    I downloaded the latest Flash Player, and it worked fine. Then I had a Skype conversation, and now Flash uses the same "speakers" which Skype uses ie a USB headset.Flash player can no longer see the computer's speakers.
    There seems to be absolutely no way in the web-based setup to tell Flash Player which sound output to choose. In Windows control panel (WIn XP SP3) the defaults for both sound and voice playback are set to the speakers (Realtek HD Audio) -  Windows media player plays correctly over the speakers.  If I right-click on an embedded video, I get a settings manager which lets me choose the microphone and camera Flash Player uses, but not the speakers.  And I can't choose the speakers  in the general sound controls of the Realtek HD audio, because those controls have no way of referring to any individual program. It is wierd!!!!
    I don't think there is anything cracked or broken - it was fine this morning, now not. How do I get sound coming out of the speakers again?
    Many thanks
    Andy
    Bristol, UK

    Flash Player:
    Adobe Reader:

  • How to create a USB recovery flash drive using recovery ISO image?

    This “HowTo” provides information and instruction how to create a USB recovery media flash drive using the Toshiba recovery ISO image files or Toshiba Recovery discs (DVDs)
    To create a USB recovery media flash drive, a USB flash drive with at least 16GB disk space is suggested (depends on the size of the ISO images or recovery discs).
    Note: Since 2015 the ISO layout has changed and a different procedure must be processed to create the USB media. The new recovery media type can be identified by the names of the ISO files.
    More info: http://aps2.toshiba-tro.de/kb0/HTD4103KB0000R01.htm

    Yes, that article should apply to tablets.
    But if your USB recovery drive does not get recognized then it must be corrupted - you should be able to format your disk and perhaps try to see if creating a Recovery device on other devices will make it recognizable on your tablet 2.

  • Should I download and install the latest version of Adobe Flash to use with Lion?  My need for Flash is very basic: Google Maps, YouTube, and content on certain websites.  Thanks for any help you are able to provide.

    Should I download and install the latest version of Adobe Flash to use with Lion?  My need for Flash is very basic: Google Maps, YouTube, and content on certain websites.  Thanks for any help you are able to provide.

    Thanks for the speedy reply.  I have read so many comments about Flash being incompatible with Lion I was wondering whether to download it or not.  So many sites on the Web still require flash, however, you almost don't have a choice but to download it even if it is incompatible.  I gather a better version of Flash will be available for Lion soon.  Again, thanks for the help.  I will download the latest version of Flash.

  • Firefox freezes when flash is used.

    Firefox freezes when flash is used at all.
    I have checked everything and it is only with flash 10.1.53.64 on Fir
    == a site using flash is opened

    try this
    it's working perfectly with me
    http://www.technogadge.com/how-to-stop-firefox-plugin-container-exe-process/

Maybe you are looking for

  • Call function in abap routine of infopackage

    Experts, Good day. I have a problem concerning the data to be imported in my ods.I can't find a similar thread corcerning my problem. My ‘File date’ field should contain only 2 years and 3months data of recent data. I'm using a call function fima_dat

  • Displaying a file in a JSP

    Hello, I am new to the world of JSP programming. I was wondering if anyone would be able to help me with some advice? I need to be able to display the contents of a simple text file on a web page written in JSP and Java. I am happy with writing a JAV

  • I just bought a Canon MG5422 It prints fine with the wire but wireless it stays offline.

    I just bought a Canon MG5422. It works fine by wire but wireless it stays offline. It appears to find the access point. The printer screen shows me my router name and says it's active. Printer still says offline on the computer. When I try to detect

  • Increasing the Upload and if possible download speed of Linksys X3000

    Hi I'd like some assitance in increasing my download an dupload speeds of my Linksys X3000. Mian reason I want to increase them for include: 1- TwitchTV hardly ever loads properly for me, what methods can I go about to make it stream normally? 2- Her

  • Quicktime video on IPod

    Hello all, When I try to open a QuickTime video on IPod with Safari, I see a "desactivate feature logo". With all other browsers on PC and MAC (IE, Chrone, Firefox), I can watch the QuickTime video. The problem is only on IPod. Is there a solution ?