Resizing Imported SWF?

I have imported an SWF into a FLA project library and have
dragged it onto a frame in my project. I am trying to resize the
SWF to about 1/4 of its original size to make it fit correctly in
the new project. I cannot figure out how to resize the SWF. I have
tried the properties sheet, but it won't take different width and
height parameters. No object boundaries appear (all I have is a dot
to select the object) so I cannot use the transform tool to scale
it. Any ideas?

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.

Similar Messages

  • 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.

  • Need to resize a SWF file

    i need to resize a swf file thats 800 x 300 down to 600 x 226
    how can i do this without having to set the new parameters in
    the embed tag like this <embed src="banner.swf" height="226"
    width="600"> ..??
    is there a way to resize the whole project when i export the
    swf file or something.
    i made my project a lil to bigger than i needed and have
    already imported a few other swf files into this main banner swf
    project so i need to resize everything down now..
    How can i do this..??

    What format is the file in before you export to SWF?
    What program are you using to convert your file from its
    current form to SWF?

  • 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

  • How to resize a SWF file to fit on stage

    Hi everyone,
    I'm fairly new to Flash so please bear with me. I'm trying to resize a SWF file made in InDesign. My Flash application is set at 1920x1080 and the SWF file was made at the same size. I need it to be resized to 1700x956. This is the section of script that relates to the SWF file.
    break;
    case 'fact_btn':
    eventAction = ".../FactSheet.aspx";
    eventLog(eventAction);
    factLoader.load(new URLRequest("FactSheet/HABFactSheet.swf")); //fact.swf
    factLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
    break;
    factLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loaderCompleteHandler);
    spotlightStageRect.addChild(factLoader);
    spotlightStageRect.visible = true;
    spotlightStageRect.addChild(close_btn);
    close_btn.addEventListener(MouseEvent.CLICK, removeSpotlight);
    I've tried adding in the code below but the stage comes up blank when I run it in Flash. Anyone have suggestions? Also let me know if you need to see more of the script.
    factLoader.width = 1700
    factLoader.height = 956

    you need to execute that resize factLoader code in loaderCompleteHandler

  • 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

  • Load and resize a SWF inside a MC

    Hi,
    I'm using AS2 to load an SWF inside an MC. The MC measures
    800x600, while the SWF (which can vary in size) measures in this
    case 14x60, even though, looking at it, it seems to be about half
    the size of the hosting MC. This makes me think that the dimension
    scales are different. I'm loading the SWF using MovieClipLoader and
    I'd like to resize it so that it fits as proportionally snug as
    possible within the MC. How can I do this? If I try to resize the
    SWF to the MC's dimensions, it become way too large and goes off
    screen. If instead I try to rescale the hosting MC to fit around
    the SWF, the SWF itself rescales as well. I'm going nuts! How can
    accomplish this?
    Thank you,
    Tatiana

    To make things simple, I'd like to take an existing SWF (the
    picture) and load it into a FIXED SIZED MC (the frame) and I'd like
    to rescale the SWF so that it fits perfectly into the frame.
    By all means, I know that what you said should work and I
    admit my inexperience with AS2, but somehow the SWF's I'm loading
    in, have scales that are totally different with respect to my
    Stage. I even tried loading the SWF directly onto the stage and
    then I loaded the frame separately onto the stage and tried to
    resize it to the SWF's _width and _height. The frame became a tiny
    dot on the screen, while the SWF filled half of my Stage.
    Thanks again for your help.

  • 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.

  • 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 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,

  • 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

Maybe you are looking for