Importing swfs question

Hi
I have a swf ("A") that imports two other swfs ("B and C").  This works fine.
I have another swf ("D") that imports swf "A".   D imports swf A, but suddenly swf A won't import B and C - a URL error gets thrown.
I have played with the publish settings for a few hours, but have no solution.
What should I change to make it work?
Thanks
Shaun

I'm using this code to load B.swf and C.swf (only showing B code):
var loader_dee_art_gallery:Loader = new Loader();
var defaultSWF:URLRequest = new URLRequest("player_component_swfs/B.swf");
loader_dee_art_gallery.load(defaultSWF);
loader_dee_art_gallery.x = 0;
loader_dee_art_gallery.y = 0;
addChild(loader_dee_art_gallery);
Swf D is in...
pic_swfs/
Swf A is in folder...
pic_swfs/artists/dee_kramer/image_swfs/
loaded... artists/dee_kramer/image_swfs/A.swf
Swfs B and C are in...
pic_swfs/artists/dee_kramer/image_swfs/player_components/
loaded... player_component_swfs/A.swf  and player_component_swfs/B.swf
Please let me know if this is not enough.
Thanks Ned
Shaun

Similar Messages

  • Import SWF or FLV Jobs

    Hi, I search a way to import FLV-jobs, created with Flash
    CS3.
    Problem: I don't find any way to export a Flash as a FLV-file
    - it takes lot of options, but nut a FLV-suffix.
    Secend Question: Who can I import SWF-files into Captivate?
    The only option I find is "Insert/Animation", which is used for
    animated buttons.
    Thanks a lot for any advice, Wolvo

    Hi Wolvo
    Insert > Animation is what you are looking for. It should
    allow you to insert the following file types:
    * SWF
    * GIF
    * AVI
    * FLA (.FLA is the Flash source file format)
    Seems odd that Flash doesn't have the capability to create
    .FLV format. I'm wondering if you maybe just need some sort of an
    additional file you can install to make it do this.
    Cheers... Rick

  • Imported swf

    Hi,
    I am hoping someone will be able to help here. I have a
    10-slide presentation in Captivate 3 and the first slide is a flash
    animation I created in Flash CS3. When I test the project using the
    preview option - In Web Browser everything works fine and as
    expected.
    My problems start when I publish my project. I have tried
    swf, exe, with and without preloaders; I add a blank slide in right
    at the start to see if that was the problem again with and without
    a preloader. The imported swf does not play no matter what I do.
    After a while though the click button become active and when I
    click it moves on to the next slide. I just need to work out why my
    first slide does not play correct, as this is a key slide.
    I would appreciate any help in resolving this issue.
    Kind regards

    Hi Dave
    I know you have already found your answer, but I have a
    question and/or comment.
    When you published, were you certain to include the
    additional .SWF among the files on the server? If not, that
    probably explains why it failed. By changing to Flash 6, you caused
    the .SWF to be embedded inside the main Captivate movie, hence no
    additional file to ensure you distribute.
    Cheers... Rick

  • Slidelet causing imported SWF to advance

    Hi,
    I'm seeing some strange slidelet behavior. I have an imported
    SWF on the slide, consisting of 8 frames. On the same slide are 2
    slidelets. When rolling OFF either slidelet the imported SWF
    advances 1 frame. The slidelets have their own screen real estate
    and don't overlap or interact with the SWF in any way (other than
    this advancing feature/bug ;-) I have tried adding movie stops to
    each frame of the animation, but they seem to be ignored.
    I have also tried various order combinations in the timeline
    of the SWF and slidelets to no avail.
    Ideas anyone?
    Thanks,
    John

    Thanks for the suggestion, I think I understand what you are
    trying to achieve. The thing is that the user is asked to interact
    with the .swf and then roll over the answer(s) to question(s) about
    the .swf. Although the .swf and slidelets could be on seperate
    slides, I would prefer not having to switch back and forth between
    slides in order to answer the questions. Before anyone asks 'why
    not just use buttons with captions?', I have tried that, but
    buttons (clickboxes and questions) don't reset
    John

  • Error while importing swf file in to Crystal Xcelsius Designer 4.5

    help me...., Error while importing swf file in to Crystal Xcelsius Designer 4.5

    I read in the book called "CRYSTAL XCELSIUS for DUMMIES" on page 243 under topic called Nesting a Dashboard within another Dashboard.
    sorry i used the wrong word embed, here i am importing the swf using image component.
    My requirement is somethis like this parent child dependency menu.
    eg: i have to two tabs 1)alphabets 2) Numerics  First levet menu
    if you click alphabets tab then the following menu A/B/C/D/..... Z i have diff charts.. under each alphabet.
    If you click numberic tab then the follwing menu should one/two/three/.......ten  here also i have diff charts under number
    in over to avoid complexity in dynamic visibility i divided the into 3 dashboards.  1- alphabets 2- number and 3 -importing both swfs.. everything works fine except first tab and last tab under alphabets and numerics.
    If some one help me with some alernative ... would be great.
    Thanks

  • Import swf files in CP3, but export without any voice?

    Did anyone have the same problem with me?
    I imported swf file in slide and published. But I can't hear any voice in the slide....
    At the same time, I tried to import as flv file and published, then it works. Voice in slide can be heard with no problem.
    How can I fix the problem? thanks!!

    Hi,
    Just a quick check. Go to menu item " Edit > Preferences" and select category "Publish Settings".
    Confirm that option "Include Audio" is checked.
    regards,
    Mukul

  • Imported swfs display different every time

    Hello -
    I have tried importing swfs, and each time it displays different when published. The first time, it resized and could be seen completely within the window. The second time, it did not resize so only the top left of the image could be seen. The third, time it sort of resized, but is still cut off on the bottom. I inserted the same swf file the same way each time, so I'm not sure what affects the way it displays when published. I'm using the trial version of Presenter version 7.0.7 Build 7746. The swfs were created in Captivate 5.0, and I'm using Office/PowerPoint 2010. Below are examples of what each looks like after the publish. Does anyone know how I can control how the swf will display once published?
    Thanks!
    Katherine

    Hello -
    I think it has to do with resizing the swf once it is imported. I resized it first by widening it so it went the entire width of the page - the second time I believe I did the same thing and got the larger image. Then I tried various ways of resizing and also not moving or resizing at all, and got these different results. It is not consistent, the same way of resizing did not result in the same output. Is it not possible to resize the imported swf - for example, resize so it takes up the entire slide? Below is a link to download the swf I'm using.
    http://mylearn.documentum.com/curriculumdevelopment/slide4.zip
    Thanks!
    Katherine

  • Importing Swf

    Hi there,
    I have created a flash file using codebaby and it is transparent; however, when I bring it into adobe presenter, it has a black background.  How do I get rid of the black background of the imported swf file?  It looks great in other tools; however, I need it to be transparent in adobe presenter.  I have 7.0.
    Adobe presenter 7.0.6 build 7604

    Hi there,
    I am using AS2; however I still get the black background, so then I tried capturing the background and using that in my background and I get a border.

  • Why an imported SWF created in Flash CS5 doesn't works fine?

    perhaps I am not lucky. I find no answer.. perhaps im a noob (daaaah)  please if you can help it would be appreciated!
    I'm new in flash and flash catalyst.. but i'm not bad at all hehe. After publishing a swf from flash CS5 (that works perfect when i preview it) i want to import it in flash catalyst...
    ... i click on import swf and i select my swf. When i execute the project (CTRL+ENTER) in flash catalyst the motion tweens created in Adobe Flash doesn't start
    Even if it works well when i run the SWF from desktop or in Adobe Flash directly

    A detail that could help you guys..
    I used FlashEFF2 in Adobe Flash CS5 (as a Text Effect (it's awesome)) and this effect only starts and works fine in Flash Catalyst. The motions tweens created in Adobe Flash CS5 doesn't starts in Flash Catalyst
    Thanks to read it!
    Max

  • Call a function in the shell SWF from a imported SWF

    We have flash set up as a shell to take lesson data from XML
    and display it frame by frame.
    We import SWF files when the XML tells it to to be displayed
    on the frame.
    How can I get the imported SWF file to call a function in the
    shell....
    basically have a button or movie clip in the imported swf
    call the "gotoNextFrame()" function in the shell.

    We found a "bit" easier way if anyone is interested.. we have
    the have an eventlistner added to the loader to assign a event to
    the swf file thats imported:
    flashLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    addEventHandlers);
    then when its completed, it adds event listeners and calls
    our "goNextFrame" function (then clears it when its removed from
    the stage):
    function addEventHandlers(event:Event):void
    var swfMC:MovieClip = event.target.content as MovieClip;
    swfMC.addEventListener("NextFrame", goNextFrame);
    swfMC.addEventListener("PreviousFrame", goPrevFrame);
    swfMC.addEventListener(Event.REMOVED_FROM_STAGE,
    clearEventListeners);
    Then in the swf file thats to be imported, its real simple:
    next_btn.addEventListener(MouseEvent.CLICK, MoveToNextFrame);
    prev_btn.addEventListener(MouseEvent.CLICK,
    MoveToPreviousFrame);
    function MoveToNextFrame(e:MouseEvent):void
    dispatchEvent(new Event("NextFrame"));
    function MoveToPreviousFrame(e:MouseEvent):void
    dispatchEvent(new Event("PreviousFrame"));

  • HELP my imported SWF

    I have created an animation of a superman like character flying with the animation being his cape flapping, his eye moving occasionally, and he moves up and down slightly to imitate the movement of flight.
    I exported that animation as a SWF movie.
    I then opened a new document and then imported that SWF file into the library to use, but when I place it on the stage, the functionality doesn't work. The only animation that has carried over from the original file is the cape flapping. The moving eye doesn't work, and he doesn't move up and down anymore.
    I'm quite new to animation in flash, so maybe I'm exporting and importing too many times or something, or I'm just not going about it the right way.
    Should multiple animations be done in the same document? or should they be done individually and then all imported into a new document where they all come together?
    All help and advice most welcome.
    Thank you.

    First of all I done all the artwork in Illustrator, then I imported the pieces into Flash and set them in position, putting on seperate layers the parts that were to to move, eg. the pupil in the eye moving within the eyeball.
    For the cape, I had done what you said not to do, but it's the only thing that's working, ironically. I made the flapping cape animation in a separate flash document using 5 different images and changing to each along the timeline every 1 second. I then exported the flapping cape as a SWF movie and then imported it into the flash file where the body of the character was and positioned it where it should be.
    The eyeball moving occasionally was done using a motion tween, as was the gentle moving up and down of the man flying.
    Then I exported ALL that as another SWF movie so that it was one animation (which actually included 3 different animations. 2 done in the document, and one imported SWF), but it's only the flapping cape that continues to work even if I copy all the layers across instead of importing the SWF.
    I know that all sounds a bit of a mess to people who know how it should be done, but I'm a bit lost at the moment as I'm not sure which steps I should be taking and in which order.
    Thanks for your help with this.

  • Resizing imported swf files...

    I have a movie clip that I want to import a swf file into,
    but the swf is larger than the movie clip's area. I tried using a
    resizing code for importing images that I found, but it makes the
    swf very small. Is there a way to control the size of the imported
    swf?

    I did this recently where I had a backdrop clip that I wanted
    to serve as a 'screen' for jpgs I loaded in. I wanted them to
    resize to the full extent of the background clip and maintain their
    aspect ratio. The backdrop clip could have different dimensions at
    different points in time as well... anyhow this should work with
    swfs same as jpegs.
    So I'll explain it in my context as I don't know exactly
    yours (sorry this might sound a bit complicated because of that).
    #1 If your holderclip is called
    imageHolder and it contains a single clip inside at location
    0,0 called
    imageBackdrop
    #2 You create an emptyMovieClip inside imageHolder and use it
    to load your swf into using a Loader with a listener
    #3 you have some code similar to this in your onLoadInit
    event for the Loader (onLoadInit lets you initialise things like
    size location etc before it displays)
    If you can do something like that then I think you should be
    on the right track for what I think you want to do.

  • Imported SWFs background to "Transparent" in Presenter?

    Is it possible to set an imported SWFs background to transparent within Presenter?  I have Presenter 7, PowerPoint 2007, Flash CS4, working in Windows Vista.
    The only way I know to set SWF transparency is with the WMode parameter... so, in PowerPoint, if I right-click the imported SWF and choose "Properties" I get the Properties window which contains a field WMode.  I set this to "Transparent", but when publishing the Presenter file to "My Computer" the original SWF background (white in this case) still shows up.
    My PowerPoint has a gradient background, and my SWF file's stage is smaller than my PPT stage.  Making teh SWF BG transparent will allow me to place the SWF wherever I need to on the PPT stage without having to worry about lining up background gradients precisely.
    Any help is appreciated.

    So, not even 4 years later, and after 2 new versions of Flash can we still not produce a transparent background to be able to seamlessly go in a Powerpoint 2010 file?  I imported a single/looping file under the <Insert Tab. It had a transparent backgound and a playhead with start/stop on it. Can't remember how I did it though? 
    Thanks,

  • Cannot import swf/air file from flash catalyst

    Cannot import swf/air file from flash catalyst, states error in code, there is nothing in the properties panel.

    Hi Kristen
    Have you tried using ActionScript 2? You might give that a go
    and see if things improve.
    Just a thought... Rick

  • After effects cs6 will not import swf files...

    after effects cs6 will not import swf files...keeps saying it's unsupported. why would this be? what do i need to change?

    What SWF file? What source? How was it generated? SWF generated by Flex/ Flash Server may contain constructs that are incompatible and SWFs that render all their elements dynamically using Flash drawing primitives and use lots of ActionScript may also not work...
    Mylenium

Maybe you are looking for