Imported SWF actionscript not working in _root movie...

Hello.
I will tell you below what I want to accomplish, then I'll
tell you what I have done (that didn't work). I'm hoping that
someone here can tell me where I went wrong, and also how to fix it
and pull off what I'm trying to do. Thanks!...
WHAT I WANT TO DO:
I want to have a Captivate SWF loaded into the bottom half of
a main Flash "shell" SWF, and then when the Captivate SWF is done
playing, a text field on the main "shell" SWF puts the word "DONE!"
in it.
WHAT I HAVE DONE (that didn't work):
I have a Flash SWF that loads a Captivate3 SWF in its bottom
half (that works fine). The top half of the main Flash movie has a
dynamic text field on it called "doneText_txt".
I then made another SWF that is just 10x10px and all that is
on it is ActionScript on the first frame that says:
_root.doneText_txt.text = "DONE!";
I then went on the last slide/frame of my Captivate project
(in Captivate) and did an "Insert-->Animation" to insert that
small 10x10 SWF onto that final slide.
When I load that main "shell" and then the Captivate project
loads at the bottom and finishes playing, nothing is displayed in
the "doneText_txt" text box.
THINGS I NOTICED:
When I imported the SWF into Captivate, it was transparent
(didn't show up). I adjusted the transparency on it (in Captivate)
to both 0% and 100%, and it still didn't show up. I thought that it
may be just because it had nothing on it (just the default white
background), so I went back into Flash and re-exported the 10x10
SWF after filling it with black. I re-imported it into Captivate,
and still it didn't show up. Like, I figured you'd see a black
square on the slide. It was on the timeline, and I could move it
around on the slide, but it was just a clear transparent box. This
made me think that the reason the "DONE!" text wasn't getting
passed was because there was a problem with the SWF even being on
the slide in the first place.
Any ideas???? Or, if there's another way to pull off what I'm
trying to do, that would be fine with me as well. Thanks!!!

quote:
Originally posted by:
jbradley88
I don't think inserted objects are placed on _root, so I
wouldn't expect it to work.
But isn't "_root" just the top-most object? So, if I'm
loading the Captivate project from my main Flash SWF, then that
main Flash SWF is the "_root" no matter what, right? Or am I wrong
about that???
quote:
Originally posted by:
jbradley88
Perhaps you need to have your object identify itself via a
global variable, then have your code reference the object via the
variable?
Can you explain in more detail how to do this? I REALLY need
to get this working, but I'm just at a total loss!
Thanks!!!

Similar Messages

  • Ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

  • Importing bookmarks I go to file and the IMPORT link is not working ... not Illuminated ... what can I do?

    I want to import bookmarks from Explorer and I go to File Tab and the IMPORT link is not working or not illuminated?

    Make sure that you not run Firefox in permanent [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"

  • "Do not import duplicates" is not working

    The "Do not import duplicates" box is checked for all imports but is not working.  This is both for my Nikon DSLR, my Canon S-95 and my iPhone. This was happening with both Snow Leapord and Lion as operating system.  I have been using Aperture since the first release and only in the last few months has this been an issue.  Any thoughts?

    There's a known (and old) bug when duplicate identification fails on photos
    that have been imported from another catalog.
    Sent from phone.

  • I bought my macbook pro this morning. When I turned it on it led me through set up with voice over. I finally quit VO but my pointer is not working. It moves but does not open anything. Can anyone help?

    I bought my macbook pro this morning. When I turned it on it led me through set up with voice over. I finally quit VO but my pointer is not working. It moves but does not open anything. Can anyone help?

    ladislavfromcygnet wrote:
    Thank you Shootist007. I cannot do even Update now. I probably should have spent the same amount of money on a new IMac!
    No not really. If this is a brand new Macbook Pro take it back for a refund. Apple has a 14 day No Questions Asked return policy for Full refund.
    Take it back, get the Full Refund (DO NOT LET THEM TRY TO FIX IT. YOU BOUGHT A NEW COMPUTER NOT ONE THAT HAS BEEN WORKED ON OR NEEDS TO BE FIXED) and then decide whether to buy another Macbook Pro or the iMac. Or you could return it, get the Full refund and buy some other brand computer.

  • In some pc ActionScript not working even after running the .SWF or .EXE, what may be the problem ?

    In my flash project i am using ActionScript to get FULLScreen and mouse hide action. I hv already used the AS3 in Adobe Flash CC and AS2 in Adobe Flash CS6.  All my files are working well, both .SWF and .EXE (projector..) . But the client is saying in his pc the Full SCREEN and Mouse hide is not working. I instructed to update the flash player plugins, still they are getting the same issue. What is the matter pls any one guide us. My code is in the first frame of Flash file which is mention below.
    /*AS2 code*/
    fscommand("fullscreen","true");
    Mouse.hide();
    /*AS3 code*/
    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    Mouse.hide();

    Hi all, few days ago the client told , one of the project file (.SWF and .EXE) showing full screen. Again day before yesterday the client again said, all the project files working Full Screen and Mouse hide action. Still i do know such happens ? if any technical issue is behind its problem than anyone pls inform me. However it is running well in their PC now.

  • Flex: Actionscript project swf is not working after export the release build...

    Hi guys..
       I tried to built a project with AS3 only in Flex. When I run the project in flex, everything looks fine, but when I export the release build, the images that are supposed to be added are gone. I appreciate if someone can help me about it.
              init();
                public function init(loadedVideoCount:Number):void{
                singleHolder=new singleVideoCont();
                singleHolder.x=loadedVideoCount*singleHolder.width+2;
                singleHolder.y=6;
                singleHolder.buttonMode=true;
                addChild(singleHolder);
                this.addEventListener(MouseEvent.CLICK,onClick);
                showTn();
            private function showTn():void{
                    imgLoader = new Loader();
                    imgLoader.load(new URLRequest(_tnPath));
                            imgLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onProgress);
        imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoaded);
            private function onImgLoaded(event:Event):void {
            singleHolder.progBar.alpha = 0;
                   var image:Bitmap = imgLoader.contentLoaderInfo.content as Bitmap;
                    image.width=TN_WIDTH;
                    image.height=TN_HEIGHT;
                    image.x=3;
                    image.y=3;
                    singleHolder.addChild(image); //this line work when I run the project inside flex but the images are gone when I test my release build...
                    imgLoader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,onProgress);
                    imgLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE,onImgLoaded);
                    //imgLoader = null;

    The link you provided is to the SWF file, not to an HTML
    file, so no one can test your HTML file.
    Have you checked the code for the embedding of the SWF file
    in your HTML file? I don't use Dreamweaver much, but I do know that
    if you start assembling a Dreamweaver file without first saving the
    HTML, embedded graphics and other items are inserted as direct
    links to the files on your computer, rather than as relative paths.
    There is one other possible issue: I note that your swf is
    called CWABanner.swf. Depending on your FTP settings, it is
    possible that your server is forcing all file names to lower case
    (a common practice). Which means the file on your server will be
    cwabanner.swf. Again, depending on how the web server is set up, if
    it is case sensitive, it will treat CWABanner and cwabanner as
    separate files. So if the HTML calls CWABanner.swf, but the FTP
    upload has forced a rename to lower case to cwabanner.swf, the HTML
    file will not find it. Check this out, or to be absolutely certain,
    rename everything to lower case: the file name itself and the
    reference in the HTML file.

  • SWF file not working properly in Explorer

    I have made a kind of slide show showing jpg images loaded
    from the web in an swf file, and it will not work properly. It is
    my first .swf application, and I am using the free downloadable
    FlashObject.js to load the swf into the browser. The problem is
    that it sometimes loads perfectly, while other times it will not
    work at all! It is not the paths, because I have tried setting the
    images in the same directory as the swf, and not importing the
    image names thru flashVars. What drives me mad is that it works
    consistently in Explorer, the first time I load it, and the first
    time after I have cleared the temporary internet files. Otherwise
    it will not load at all. In Firefox however, if randomly fails to
    load about one time out of ten or something like that. The code is
    compiled using the free downloadable compiler. Anyone have any idea
    what may be wrong?

    I may be late but better late then...
    Not true
    You can nest hundreds of layers as long as all symbols are graphics.
    People try to use a Movie symbol and this is script executed.
    I am animator on cartoon all done in flash and we have dozens or more NESTS!!!!
    Eyes inside of head inside of Character in car on stage...
    many
    Trick to not crashing is in FLASH
    Set publish settings to FLASH 8.
    Never use FLASH 9 with Actionsscript 3... This adds a lot of instability.
    1 of these swfs in a project could kill it.
    I render SWF at 30fps at 1920x1080 then into AE, then scale down to SD wide screen resolution 720x480 16x9.. set scale to 45.5 x 44.5 percent.
    I output final animation at Quicktime ANIMATION 100 millions of colors... 1.21 (16x9)audio added at 48k
    I have hundreds of hours trying to make this work reliably and finally I got the mix.
    Then I take QT to Premiere for final edit, audio and titles.
    Good luck
    NATMAX

  • SWF animations not working properly when exported as PDF from InDesign

    I'm using InDesign CS5 and have created a document that I want to add interactivity and animations to. I've created buttons and page destionations, etc, which all work perfectly  when exported to a PDF but the simple animation that I wanted to include don't work. The animations have been created in InDesign then selection exported as a SWF file and then imported and placed in InDesign and then exported as an interactive PDF where the animations either don't work, haven't been picked up or don not work as they should. What am I doing wrong, how do I get the animations to work correctly?

    Try this tutorial:
    http://tv.adobe.com/watch/csinsider-design/indesign-creating-interactive-pdfs-with-page-tu rn-and-flash-animations/

  • Report and Layout Import Wizard does not work

    We used the Report and Layout Import Wizard extensively in 8.80 with no problems encountered.
    We are now upgraded to 8.81 PL07.  This is the first attempt at using the wizard in 8.81.  The intro window of the wizard, with 'To Start, use the "Next" button' message is as far as I can get.  The "Next" and "Cancel" buttons are inoperative - when I click them, there is no response (but they are not greyed out).  The program has not crashed - I can move the window, and the "X" close button at top right works, but nothing else does.  I am logged in as a superuser, running B1 in an RDP session on the server, same as under 8.80.
    Any ideas out there?

    Hi,
    This is a 8.81 PL07 bug!
    I had the same problem this week, and i found the note [1615932 - Buttons "Cancel" and "Next" are inactive in Report and layout import wizard window], that says that it is corrected on PL08!
    Regards,
    Alice

  • Actionscript not working right

    hi
    sorry if this is the wrong place to post this, but it seems like the right place.
    basically, i have some actionscript which works fine when i export an SWF using flash, or run the swf as a standalone, but when i make the SWF a projector / exe file, the actionscript fails to work correct.
    what the actionscript is, is an rss feed that scrolls, and when it gets to the end its supposed to refresh and continue scrolling.  as an exe its scrolling fine, but not refreshing.  it picks it up when it first runs, but nothing after that.  when i run the SWF it refreshes fine.
    is there something in the settings that i need to change?
    hope that this makes sense.
    Thanks

    ignore this, i've sorted it.  didn't realise that in the flash player settings manager you could put in EXE's as well.  put it in, and it works fine.
    sorry should have looked at that first!!!

  • ActionScript not working after save

    Hello
    I installed flash CS4 Pro on 3 computers and i have this problem:
    I create a new project (CS4 + AS3), create a simple animation and put ActionScript on first keyframe. When I run this project (CTR+Enter) everything is working perfect....
    BUT... when i save this project and run it once again, scripts are not working. Debugger says, that there are no scipts, console is empty, but scripts are still in the same place. (i can see them in editor). Only change i made is that i click on Save in menu and put a name in dialog.

    I uploadet files here:
    http://wagoon.sweb.cz/pokus-aktivita3.fla
    http://wagoon.sweb.cz/pokus-aktivita3.swf
    ... and thanks for you help and time...

  • Manual import of workstations not working on Linux

    Hi
    We are currently running our Zenworks installation on Netware 6.5. We are
    running Zen 7, sp1. All this is working fine, but we want to move over to
    the Linux platform.
    My question is this : How does Zenworks work and perform on the SUSE
    platform ? Last time we considerd moving to SUSE there was an issue when a
    manual import of a workstation was performed, that did not work. Does
    anyone know if this is still an issue. Hos does the imaging part of Zen
    perform ?
    Thanks
    Hans P.

    On Wed, 06 Jun 2007 09:23:58 GMT, Hans Petter Malme wrote:
    > Last time we considerd moving to SUSE there was an issue when a
    > manual import of a workstation was performed, that did not work. Does
    > anyone know if this is still an issue. Hos does the imaging part of Zen
    > perform ?
    that shouldn't matter.. performance wise I don't have any numbers but I
    think it is the same.. benefit on the linux backend is that you can manage
    the pxe menu easily
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Menus not working when flash movie is added

    We have some menus on our portal and if we add a flash movie, the submenus under the menus will not work on IE6, however in IE7 and firefox it works fine. When we remove the flash movie all the submenus will work on IE6, IE7 and firefox.
    Any help on this?
    Thanks
    Here is the code for our flash stuff
    <object type="application/x-shockwave-flash" data="http://dddd.swf" id="FlowPlayer" height="270" width="360">
    <param name="movie" value="http://ddd.swf" />
    <param name="quality" value="high" />
    <param name="scale" value="noScale" />
    <param name="wmode" value="transparent" />
    <param name="flashvars" value="config={videoFile: 'http://dd/1/134263.FLV', autoPlay: false, loop: false, showMenu: false, initialScale: 'orig' }" /></object>

    You can try 3 things :
    - use full urls in your menu : http://your_portal:your_porta/portal/page/portal/... instead of just "/portal/page/portal/...."
    - embed" your menu code as well as your flash code with a complete html code (<html><head></head><body>...</body></html>
    - spceify some <base url=...> in the head section of each. There can be conflicts about this. When you say your menu does not work, you mean the links are wrong when you click on a submenu ? What is the url of the link and what is the url you're getting at ?

  • Camera tracker not working on large .mov file

    I am using the camera tracker and it works perfect on a small .mov file however, once I import a larger .mov file everything crumbles. Text not working, points don't show up, etc.
    Any ideas?

    First idea is for you to provide the name of the program you are using, so a Moderator may move this message to the program forum where actual users may respond

Maybe you are looking for

  • Re: Yoga 2 Pro - Auto brightness feature and how to disable in Windows 8.1

    I got my YOGA 2 PRO, and after 15 days (I did not copied my files to it yet!) I already have the screen brightness diming without any control. It seems like it goes brigther and darker alone while I am reading a page at firefox or explorer. I saw the

  • IPod Touch to iPad transfer question

    I have an iPod Touch, 4G.  If I have Minecraft installed and want to tranfer everything to a new iPad, will I lose my game data?

  • While loop not breaking?

    I'm writing a parser for some text files. My setup looks like so: public void parseFile(String fileNameIn) throws IOException{         BufferedReader br = new BufferedReader(                 new FileReader(fileNameIn));         String line = null;   

  • Why does it keep telling me to restart in 32 bit mode?

    A yellow button appears with a notification along to top of the window below the different link tabs. It tells me it would be better in 32 bit mode. I click the button and firefox restarts.

  • Tri fold template for Pages?

    Tri Fold templates, can anyone recomend one for Pages?