How can I make a transparent square box swf file in flash cs4?

Hi,
I have one picture imported into flash cs4 and would like to make a rectangle box which should be transparent. Finally I will save it as .swf file for later use. But the box should be transparent (without any background). How can I do that? Please do help.
Thanks.

Hi just a shot in the dark..
Have you fiddled with movieclips and the alpha property?
Best regards
Peter

Similar Messages

  • How can i make a picture from a video file with final cut pro x?

    how can i make a picture from a video file with final cut pro x?

    Go to the "share" menu, select "save current frame"

  • How can I control a button from one swf file to another swf file?

    Hi,
    I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
    Now, how can I write code on my main.swf file for the button which is on my external.swf file?
    Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
    Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
    Thanks.

    Here's some example code that you should be able to adapt to your needs.
    // create a new loader object instance...
    var loader:Loader = new Loader();
    // make the download request...
    var request:URLRequest = new URLRequest("external.swf");
    // add a complete event listener to the loader
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    // start the actual loading process...
    loader.load(request);
    // create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
    var externalMovie:MovieClip;
    // this function is called when the download has finished and the file is ready to use...
    function completeHandler(event:Event):void {
       // set the contents of the loaded movie to the new empty movieClip...
               externalMovie = MovieClip(event.target.content);
       // add this new movie to the display list...
       addChild(externalMovie);
    Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
    externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
    function btnClickClose(event:MouseEvent):void {

  • How can I make images transparent in my documents?

    I've got InDesign CS5.5 and like to save my banners, etc. that I create as a jpeg but when I try to use them on something else it has a white background.  How can I make sure the backgrounds are transparent?

    I didn't know that about the png in CS6.  Thanks for letting me know.
    Unfortunately, I don't have Photoshop.  I just recently purchased Photoshop Elements.  I haven't really done much on it as I have other projects I need to work on. Do you know if I would be able to convert in that program?
    Wish I could afford a newer version of InDesign but I can't.

  • How can I make my PDF document a smaller file size

    I am using photoshop cs3. I have a 8.5 x 11 document. It includes images and text. It is 5.48 MB. How can I make to file size smaller??? This is for print so I need to keep the quality of the image.

    In the user guide (available as a searchable PDF on the install disc)
    Chapter 15: Saving and exporting images
    Then
    Saving files in Photoshop PDF format
    Several pages to read... do so

  • How can i detect if the picture or swf file is produced from legal flash?

    I have recently bought images and swf files from a student for my website.
    I've just realized that the images and swf might be from pirated flash product because i found out that
    the original flash is really and i mean really pricey! I don't believe he bought an original product.
    How do i detect if it is from a legal product? I'm worried as i'm going to put it in my website.
    I can't get the guy who did this for me as he is in another country already.
    If it is possible to detect this and it is indeed from pirated product, how can i make it legal again?
    Please help.

    Hey Rob,
    Its the same question, just that i want to know if it is possible to trace the source if the file is an image.
    If it is not possible to trace the source be it a swf or an image file, then i will just upload it to my website.
    I wouldn't bother to check if it came from a pirated flash product.
    The image is created from flash 8 just for me. It is not downloaded from another source.
    Thanks.

  • How Can I make A transparent Pdf with Indesign

    Hello,
    I Have a Document in Indesing.File is a Psd document and doesn't have background. I make some designs with this file in indesign then again I want to use it in photoshop, but when I make it PDF (x3/2002) and open in photoshop white background is comming.
    Do you Have any idea fot How Can i use İndesign pdf document in photoshop without background?

    I've never seen a PDF exported from ID that didn't open with a transparent background in Photoshop unless there actually was some sort of fill. Are you sure you have used a paper-filled frame?

  • How can i make a Transparent background in flash

    I'm developing a web page for a small business I'm new to
    flash, I have been trying to learn flash for a vary long time and
    only recently had the time and resources to do it. I have
    secsessfuly made the menu and actions to work how i wanted them to
    so when you hover over the butten a drop down menu apears however
    my problem is when i export this to the web page a white background
    is present. i need it to be transparent so you can see the web page
    under the flash menu. how can i obtain this effect?

    In your publish settings, under the HTML tab is a dropdown
    under "Window Mode". Select Transparent Windowless and hit publish.
    It will generate all the needed code to do what you ask, copy that
    and insert it into your desired page.
    Basically learn from the flash generated example, its
    properties in the embed code that have it set to "transparent".
    Take a look at the source code on to see a live example.
    www.privedisplay.com

  • How can I make a transparent text marking with the courser in InDesign CC?

    How can I mark a Text with the Courser and see things, that are behind it (next layer…)
    Of course, it works at Version CS5.5.
    I havn't found any preference for this problem.
    Thx 4 help

    I'll think there was a missunderstanding. So i've made screenshots of the problem.
    Here in CS5.5:
    https://www.dropbox.com/s/bxwuqjh9n8a2nr7/Screenshot%202013-11-20%2009.09.54.png
    Here the same in CC:
    https://www.dropbox.com/s/8x9kfsmf1vlf7k3/Screenshot%202013-11-20%2009.09.38.png
    Sometimes I have to reconstruct old documents and have to make small modifications.

  • How can I make a droplet save a modified file next to the original file?

    I am having a problem getting a Photoshop Droplet save a modified file next to the original file. That is, when I drag a file "page_6.pdf" from some directory onto my droplet, I want it to do its work and save a modified "page_6.psd" in that same directory.
    This isn't working for me on Photoshop CC 2014 on Mac OS 10.10.
    I have an Action which has an Open command, with the filename "page_1.pdf". Then it has a bunch of editing commands. Then it has a "Save As... Photoshop format" command, and a Close command. When I run this action within Photoshop, it brings up Open and Save As dialogues, and works fine.
    In creating the droplet, I used File... Automate... Create Droplet..., and selected the following options:
    Override Action "Open" commands
    Destination menu value = Folder
    Using Choose... button, select an output folder, Directory_1/ .
    Check Override Action "Save As Commands" is checked
    For File Naming, I use [Document Name] + "_deleteme" + [extension]
    When I drag a folder, say "page_5.pdf" from some directory onto the droplet, Photoshop runs the Action on the document. However, it saves the modified document in Directory_1/, regardless of where the original file came from. And it always names the modified document "page_1_deleteme.psd", instead of using the Document Name of the original file.
    If I modify the Open command in the Action to mention a different file, then the droplet always names the modified document with that name. It's as if Document Name in the File Naming dialogue always reflects what's in the Open command in the Action.  But -- I asked the droplet to Override Action "Open" commands!
    When I set the Destination menu value to "Save and Close", then when I drag a file onto the droplet, the droplet opens a File Save dialogue and forces me to tell it where to store the file.  I don't understand this behaviour, and have a hard time reconciling it with the documentation at Photoshop Help | Processing a batch of files .
    (Interestingly, when Destination menu value = None or Save and Close, Photoshop displays an alert about overwriting an existing droplet when I click OK to save. But when Destination menu value = Folder, there is no alert about overwriting existing droplet.)
    How can I set up a droplet so that it writes the modified file in the same directory as the original file, and with the same root filename, but a different extension to reflect the different output file format?
    Has anyone else made a droplet behave this way on Photoshop CC 2014 on Mac OS X 10.10?
    Thanks in advance for your help.

    Thanks for your insights.
    Does my Action need to include an Open command?  I sure thought so, because of how the Photoshop Help | Processing a batch of files documentation describes 'Override Action “Open” Commands'.
    "...If the action contains an Open command that opens a saved file and you don't select this option, the Batch command opens and processes only the file you used to record the Open command..." I don't want to operate only the file I used to record the Open command. However, this sentence doesn't say that an Open command should be part of a droplet Action.
    "...Deselect this option if the action was recorded to operate on an open file..."  Maybe I if I rethink my Action as operating on an open file, then the Droplet will take care of the Open for me.  However, I have less control over the options the droplet's Open command uses.
    I'll try disabling the Open command, and create a Droplet with that.

  • How can i call a function of a swf-file which is embedded as a Resource in 3D-Annotation?

    Hi.
    I use a Flash-menu as an embedded *.swf in a 3D-Annotation. Now i want to trigger one of the ActionScript-Function out of the 3D-Annotation.
    How can i get access to that function?
    Cause of it is embedded, the callAS() Methods still not possible. But how else can i do that?
    Can u give me a simple example? How is the usability of Flashvariable in the Ressource-Tab of 3d-Annotation?
    Kind regards
    Florian

    It depends to some extent on how your SWF has been bound to the 3D scene. If you have bound it using a script, then you have a FlashMovie object that has a .call() method - but if you've attached it to something using the binding option on the Resources panel you will need to collect a reference first. If you know you are going to talk to the SWF it's best to bind it using JavaScript.
    Let us assume you have a SWF in the resources collection but it's not bound to anything. In the 3D scene there is an object called 'cube' on which the SWF must appear as a material, and the SWF has declared a function to the ExternalInterface engine that is called "myFunction", which expects a string as a variable. Here's what you would put in the script attached to the 3D scene:
    var fm = new FlashMovie("demo.swf");
    var matl = scene.meshes.getByName("cube").material;
    matl.useFlashMovie(fm);
    fm.call("myFunction","hello");
    The call() method is strictly typed - for example if your AS function expects a boolean and you sent it a string, it will not execute. There is also a limit on the possible returned variables - e.g. you cannot send back an Object.
    Note that commands sent in the other direction using ActionScript's ExternalInterface.call() method are targeted at  document-level by default, not at the 3D API - so if your AS is trying to call something it must exist as a document-level JavaScript function. It is possible to divert this traffic into the 3D API using the FlashEventHandler object, but it gets complicated as your code must implement XML encoding of the traffic - this is done automatically by the document-level script but not by the 3D API.
    To answer your second question, in the resources dialog you can define the FlashVars string which is passed to the SWF when it loads - this is the same URL-encoded set of variables that you would send to a SWF when embedding it in an HTML page. It's a static string; you cannot read or edit it with JavaScript but this means it will still work if the user disables the JavaScript engine.

  • How can I stop timeline sounds in external swf files from playing during loading?

    I am having a problem with timeline sounds in external swf files playing during loading in a main swf. Can anyone help me?
    Here is some of the code from the main swf. I hope I have included enough.
    Thanks.
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.events.SliderEvent;
    import flash.media.SoundTransform;
    preloader_mc.fill_mc.scaleX = 0;
    var swfA:Array = ["part1.swf","part2.swf"];
    var frameA:Array = [];
    var currentLoader:Loader;
    var swfTotalFrames:int;
    var tl:MovieClip = this;
    var st:SoundTransform = new SoundTransform()
    var index:int = 0;
    loadNextF();
    play_slider.enabled = false;
    function loadNextF():void{
                    tl["loader_"+index] = new Loader();
                    tl["loader_"+index].name = index.toString();
                    tl["loader_"+index].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
                    tl["loader_"+index].contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
                    tl["loader_"+index].load(new URLRequest(swfA[index]));
    function progressF(e:ProgressEvent):void{
                    var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);
                    preloader_mc.fill_mc.scaleX = fractionLoaded;
                    preloader_mc.tf.text = (100*fractionLoaded)+"% Loaded";
    function completeF(e:Event):void{
                    tl["loader_"+index].contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progress F);
                    tl["loader_"+index].contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
                    SoundMixer.stopAll();
                    var mc:MovieClip = MovieClip(tl["loader_"+index].content);
                    mc.gotoAndStop(1);
                    frameA.push(mc.totalFrames);
                    index++;
                    if(index<swfA.length){
                                    loadNextF();
                    } else {
                                    // all loads complete.  start play.
                                    restart_mc.buttonMode = true;
                                    restart_mc.alpha = 1;
                                    tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
                                    tl.removeChild(preloader_mc);
                                    preloader_mc = null;
                                    play_slider.enabled = true;
                                    playpause_mc.alpha = 1;
                                    currentLoader = tl["loader_0"];
                                    tl.addChild(currentLoader);
                                    MovieClip(currentLoader.content).play();
                                    sliderParamsF();

    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.events.SliderEvent;
    import flash.media.SoundTransform;
    preloader_mc.fill_mc.scaleX = 0;
    var swfA:Array = ["part1.swf","part2.swf"];
    var frameA:Array = [];
    var currentLoader:Loader;
    var swfTotalFrames:int;
    var tl:MovieClip = this;
    var st:SoundTransform = new SoundTransform()
    var index:int = 0;
    loadNextF();
    play_slider.enabled = false;
    function loadNextF():void{
        tl["loader_"+index] = new Loader();
        tl["loader_"+index].name = index.toString();
        tl["loader_"+index].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
        tl["loader_"+index].contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
        tl["loader_"+index].load(new URLRequest(swfA[index]));
    function progressF(e:ProgressEvent):void{
        var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);
        preloader_mc.fill_mc.scaleX = fractionLoaded;
        preloader_mc.tf.text = (100*fractionLoaded)+"% Loaded";
    function completeF(e:Event):void{
        tl["loader_"+index].contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progress F);
        tl["loader_"+index].contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
        SoundMixer.stopAll();
        var mc:MovieClip = MovieClip(tl["loader_"+index].content);
        mc.gotoAndStop(1);
        frameA.push(mc.totalFrames);
        index++;
        if(index<swfA.length){
            loadNextF();
        } else {
            // all loads complete.  start play.
            restart_mc.buttonMode = true;
            restart_mc.alpha = 1;
            tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
            tl.removeChild(preloader_mc);
            preloader_mc = null;
            play_slider.enabled = true;
            playpause_mc.alpha = 1;
            currentLoader = tl["loader_0"];
            tl.addChild(currentLoader);
            MovieClip(currentLoader.content).play();
            sliderParamsF();
    ///////////////// start sliders /////////////////////////////////
    sound_slider.addEventListener(SliderEvent.CHANGE,soundSliderF);
    function soundSliderF(e:SliderEvent):void{
        st.volume = e.value/100;
        tl.soundTransform = st;
    play_slider.addEventListener(SliderEvent.CHANGE,playSliderF);
    play_slider.addEventListener(MouseEvent.MOUSE_DOWN,playSliderDownF);
    //play_slider.addEventListener(MouseEvent.MOUSE_UP,playSliderUpF);
    function playSliderDownF(e:MouseEvent):void{
        tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
        stage.addEventListener(MouseEvent.MOUSE_UP,playSliderUpF);
    function playSliderUpF(e:MouseEvent):void{
        tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
    function playSliderF(e:SliderEvent):void{
        SoundMixer.stopAll();
        var frameNum:int = Math.ceil(swfTotalFrames*e.value/100);
        var partialTotalFrames:int = 0;
        for(var i:int=0;i<frameA.length;i++){
            partialTotalFrames += frameA[i];
            if(partialTotalFrames>=frameNum){
                break;
        partialTotalFrames -= frameA[i];
        //trace(i,frameNum,frameNum-partialTotalFrames);
        if(currentLoader!=tl["loader_"+(i)]){
            tl.removeChild(currentLoader);
            MovieClip(currentLoader.content).stop();
            currentLoader = tl["loader_"+(i)];
            tl.addChild(currentLoader);
        if(playpause_mc.currentFrame==1){
            MovieClip(currentLoader.content).gotoAndPlay(frameNum-partialTotalFrames);
        } else {
            MovieClip(currentLoader.content).gotoAndStop(frameNum-partialTotalFrames);
    function sliderUpdateF(e:Event):void{
        var playedFrames:int = 0;
        for(var i:int=0;i<Number(currentLoader.name);i++){
            playedFrames += frameA[i];
        playedFrames += MovieClip(currentLoader.content).currentFrame;
        play_slider.value = Math.round(100*playedFrames/swfTotalFrames);
    function sliderParamsF():void{
        swfTotalFrames = 0;
        for(var i:int=0;i<swfA.length;i++){
            swfTotalFrames += MovieClip(tl["loader_"+i].content).totalFrames;
    ///////////////// end  sliders //////////////////////////////////
    ///////////////// start playpause restart ///////////////////////
    playpause_mc.addEventListener(MouseEvent.CLICK,playpauseF);
    playpause_mc.alpha = .2;
    restart_mc.addEventListener(MouseEvent.CLICK,restartF);
    restart_mc.buttonMode = false;
    restart_mc.alpha = .2;
    function playpauseF(e:MouseEvent):void{
        if(!e.currentTarget.toggle){
            MovieClip(currentLoader.content).stop();
            tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
            e.currentTarget.gotoAndStop(2);
        } else {
            MovieClip(currentLoader.content).play();
            tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
            e.currentTarget.gotoAndStop(1);
        e.currentTarget.toggle = !e.currentTarget.toggle;
    ///////////////// end playpause //////////////////////////////
    function playUpdateF(e:Event):void{
        sliderUpdateF(e);
        var playingFrame:int = MovieClip(currentLoader.content).currentFrame;
        if(playingFrame==frameA[Number(currentLoader.name)]){
            // next loader
            MovieClip(currentLoader.content).stop();
            SoundMixer.stopAll();
            MovieClip(currentLoader.content).mute();
            var nextIndex:int = Number(currentLoader.name)+1;
            if(nextIndex<swfA.length){
                tl.removeChild(currentLoader);
                currentLoader = tl["loader_"+nextIndex];
                tl.addChild(currentLoader);
                MovieClip(currentLoader.content).gotoAndPlay(1);
            } else {
                tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
                playpause_mc.gotoAndStop(2);
                playpause_mc.toggle = !playpause_mc.toggle;
                //playpause_mc.alpha = .2;
                // all swfs have completed play
    function restartF(e:MouseEvent):void{
        MovieClip(currentLoader.content).stop();
        tl.removeChild(currentLoader);
        SoundMixer.stopAll();
        MovieClip(currentLoader.content).mute();
        currentLoader = tl["loader_"+0];
        tl.addChild(currentLoader);
        if(playpause_mc.currentFrame==1){
            MovieClip(currentLoader.content).gotoAndPlay(1);
        } else {
            MovieClip(currentLoader.content).gotoAndStop(1);

  • How can I make a transparent animated gif?

    I'm using CS2. I have an animated gif that I want to take the black background out of so that the animated part of it is all that remains.
    Here is a link to the image:
    http://img.photobucket.com/albums/v97/tragicmike/random/Tesseract.gif
    I basically want to remove all of the black background from the image so that the animated tesseract is all that remains. I know how to open the gif to expose the layers using ImaegeReady, then edit them in PhotoShop. But when I made the black areas of each layer transparent (by selecting the RGB channel, inverting the selection, and hitting delete), saved a copy, and tried viewing it, it seems to just display all of the transparent layers constantly instead of cycling through them.
    Can someone please help me figure out how to make an animated gif with a transparent background? If I lose some of the black areas of the animated part (since they seem to get deleted when I remove all of the black background) it's no big deal. I just need to know how to do this so that it plays correctly.
    Thank you!!!
    Mike

    &gt;
    <b>"I have to wonder why the black background was included on every frame of the moving shape."</b>
    <br />
    <br />Well, George...the only reason I can think of is because it's an animated GIF, and GIFs only support one layer.
    <br />
    <br />Whatever application it was created in should have been able to render it out with a transparent BG. But I suppose the creator had his/her reasons for going with the black BG.
    <br />
    <br />(Full disclosure: I ran across
    <s>that same</s> a similar animation back in December, and the version I grabbed only had the black showing through the inside of the tesseract. I opened it in ImageReady and
    <b>
    <i>added</i>
    </b> a black BG so the edges didn't look jaggedy.)
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1FgHXbj4UpXYtUVrbeah7sbqQXDR40" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1FgHXbj4UpXYtUVrbeah7sbqQXDR40_thumb.gif" border="0" />

  • How can I make this desktop dialogue box default on a larger size?

    When I do a "save as" with a document, the dialogue box is so small I have to scroll to reach the folder I want it in.  Then I have to drag the corner to make it larger. 
    Is there a way to make this box default on a larger size so I can see more file choices?  see pic

    Hold down option as you resize the window.

  • How can I make grunge transparent?

    I am very new to Illustrator but have had a little experience creating artwork in Photoshop. In Photoshop, I created a t-shirt design where I used the eraser tool with a grunge brush to erase color in spots so that the color of the shirt was visible within the design where I erased. I am working on a new t-shirt design in Illustrator where I would also like to have this look, but the eraser tool doesn't seem to work the same in Illustrator as I am not able to select a variety brushes. Is there a way to add transparent grunge to a shape in Illustrator? I hope this makes sense...

    Hi Cheryl, I am hoping you won't mind helping me out again. Like I said I am a complete newby and really only do this kind of artwork for a charitable beer festival I am in charge of organizing. This is the first year I am trying to use Illustrator instead of Photoshop, both of which are amazing programs.
    I found a tutorial called Grunge Construction, by Gilles Landy, which is a very good tutorial and I believe is about the same process as you suggested. It seem to be exactly what I want to do, and I have tried to follow all the steps exactly as it says, but I can't get it to work for me. The funny thing is, the first time I tried to make grunge on a simple practice shape, it worked, but I haven't been able to get it to work since and I've tried like 8 or 10 times (even with just a simple shape).
    There are a couple of steps that I'm not sure about, so I must have just gotten lucky the first time I tried. Here is a link to the tutorial with the steps I took and below are the questions I have.http://http://www.istockphoto.com/article_view.php?ID=127
    All my questions are concerning the Illustrator portion of the tutorial in Step 4:
    1. Step 4 says to "combine the two images." So does that mean to open my logo and bring my grunge image into my file by using the "place" command? Is that the appropriate way, and do I place it in its own layer or do I place it on the same layer along with all my grouped objects (I have a number of layers to my logo). Also, is it safe to assume that the grunge should be placed on top of my grouped logo objects?
    2. Also, it says to "Select the image and go to select > arrange> send to back. Do you think it means to select my grunge image or my logo group? I think it means my logo group, but assuming my grunge texture is already on top, wouldn't the logo group already be in the back???
    3. I tried to select both the logo group and and the grunge to use the Minus Front in the Pathfinder palette, but I'm doing something wrong, because I don't get the grunge knock out, most of my logo gets completely gone.
    I hope I don't sound too ignorant, but I feel I am very close to getting this. There is just something I am either missing or not doing correctly. If you can clarify it for me or would do things differently I would sure appreciate your expertise. Keep in mind I need some detail, though.
    Thank you!

Maybe you are looking for