How To  resize swf with actionscript 2

I want to make a swf that loads other swf files and when
rollOver, the swf loaded, will change it's size from 50x50 to
100x100
How can I do this?
PLS help....I need to have this done today
here you can see what I have done for now
http://www.claudiudesign.org/adobe_forums_pt_resize/adobe_forums_pt_resize.html
the file has 3 mb so you'll have to wait a bit to load

He Peter,
Thanks for your reply. I've made some steps, but still no perfect solution. I've managed to compile a swf with ant using only the AIR SDK.
But, check these results
- Compiled using Flash Builder release : 455 kb
- Compiled with ant using mxmlc : 104 kb
- Compiled with ant using compc : 139 kb
Can you provide us an example, how to compile a swf using ant. For example, with an AIR mobile project.
Thanks Peter.
Tim.

Similar Messages

  • How to compile swf with ANT en ASC 2.0?

    He All,
    I used to compile a swf in Flash builder with this antscript below. But mxmlc in not supported anymore. Any idea how to compile the swf with ASC 2.0?
    <target name="compile.apple" depends="clean.apple">
      <echo message="Compiling swf"/>
      <mxmlc file="${app.projectfile}" output="${app.rootfile}" optimize="true" configname="airmobile" debug="false">
      <load-config filename="${app.rootdir}/resources/ant/build.config"/>
      <source-path path-element="${flex.sdkPath}/frameworks"/>
      <source-path path-element="${app.sourcedir}"/>
      <source-path path-element="${app.rootdir}/libs"/>
      <static-link-runtime-shared-libraries/>
      <compiler.library-path dir="${flex.sdkPath}/frameworks" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      <arg line="-swf-version=17" />
      <arg line="-define=CONFIG::debug,false" />
      <arg line="-define=CONFIG::device,true" />
      <arg line="-define=CONFIG::local.false" />
      <compiler.library-path dir="${app.rootdir}" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      </mxmlc>
      </target>

    He Peter,
    Thanks for your reply. I've made some steps, but still no perfect solution. I've managed to compile a swf with ant using only the AIR SDK.
    But, check these results
    - Compiled using Flash Builder release : 455 kb
    - Compiled with ant using mxmlc : 104 kb
    - Compiled with ant using compc : 139 kb
    Can you provide us an example, how to compile a swf using ant. For example, with an AIR mobile project.
    Thanks Peter.
    Tim.

  • Flash CS4 Trial not producing SWF with ActionScript

    After installing Flash CS4 (the trial), it has appeared that
    when compiling saved FLAs no longer produce SWFs with AS3 code.
    AS1/2 works fine, and compiling a Untitled-1 document works fine,
    it is just saved AS3 FLAs. Even FLAs saved with Flash CS3 that work
    in that product no longer work in Flash CS4.

    if you really started the installation and it installed halfway through or similar, run the cleanup script which can be found here: http://kb2.adobe.com/cps/406/kb406241.html and reinstall CS4 again, this time download it with a different browser if possible.

  • How to resize document with content?

    ID CC 2014
    How do you resize a document with content so that the scale of everything is maintained, but the final output is just a smaller size?
    I have a 7x7 square booklet, laid out with content, I want to make this a  6x6 square booklet.

    Thank you.
    …The more I use InDesign and Illustrator the more and more amazed I am at Adobe's ability to entirely disregard features that seem obvious and required. This process should be no more complex than a dialog box, much like Photoshop's "image size" - Enter a new desired page size, and all objects scale up or down in uniform to match the new page size.
    How is this not in the software already?
    I can't be the only one who has had a output size change after the project has started or is finished.

  • How to play swf with progress bar?

    I have a SWF file that was generate NOT from Flash. Is there
    a player that can allow me to play it full screen with basic
    controls at the bottom? Controls that I can choose play, stop,
    pause, fast fwd, rewind and a progression bar. Thanks!
    Another question is how can I convert swf to exe with the
    flash projector embedded with the exe, keep in mind that this is
    not originally from Flash, it's from a third party program that
    can't export to flash projector.
    Thanks.
    Glenn

    Hi Patrick,
    Since this issue is mainly related to a control which belongs to third-party, I would recommend you consider posting this issue on the same site like the following thread because issues related to third-party are not supported.
    https://forums.adobe.com/thread/717505?tstart=0
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to resize image with high quality

    I refer lot of examples in image resizing. But quality of resized image not good. pls can give me solution for that with code?

    I refer lot of examples in image resizing.Have you read [_this article_|http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html]?
    db

  • How to play SWF with AxShockwaveFlash control using a stream rather than a file path?

    My WinForm app downloads and plays SWF files from my server. Currently, I have an object of type AxShockwaveFlash called "flash" display the movie. The code I use to load the SWF is:
    flash.Movie = "http://example.com/file.swf"
    The URL is generated dynamically by the module based on what the user wants to watch.  I'd like to know how can I load the SWF using a memory stream rather than a file path? I have already configured my server to process the url and return the contents
    of the file. What I don't know is how to read those contents within my WinForm application as a stream instead of the default which is to just provide a URL path to the movie.
    For instance I think I can use the Net.HttpWebRequest object to make an HTTP request, and read the response contained in the resulting Net.HttpWebResponse into a stream, but I have no idea what I could do to that stream to feed it to AxShockwaveFlash
    A very similar question was posed on
    stackOverflow but I cannot make sense of the answer (I'm quite inexperienced).
    I'd appreciate your help,
    -Patrick

    Hi Patrick,
    Since this issue is mainly related to a control which belongs to third-party, I would recommend you consider posting this issue on the same site like the following thread because issues related to third-party are not supported.
    https://forums.adobe.com/thread/717505?tstart=0
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create swf with transparent backgound

    I have a web site project created in Dreamweaver. On the home page I need a swf file that is transparent and will animate over the dreamweaver backgound. Does the wmode need to be coded in actionscript or is there another way of solving this.
    KatyDad

    The wmode parameter is set in the html code of the web page.  Setting it to a value of "transparent" should make the background invisible for most browsers.

  • How to play WMA with actionscript 3

    Dear everybody
    I want to make music player from Adobe Flash CS3 code. I have
    test already with mp3
    Now i want to play WMA. But i don't know the class that can
    play WMA file
    thanks
    muny

    thanks for the quick reply. i should clarify that the files are downloaded (walmart.com) in .wma with drm. strange but i reinstalled the firmware (v.40) and out of the ten files I downloaded i was able to transfer 6 of them using cms or wmp 9.0. the remaining 4 still errored out with the same error. by trial and error i was able to figure out that by playing them locally (which acquires the license) I could then successfully transfer them. thanks for the help.

  • How to resize swf module loaded by ModuleLoader according to parnet container?

    Hi,
    I have an Application MXML which contains ModuleLoader which loads external flex movie.
    I want that the loaded module should adjust its size atomatically based on its parent container.
    Can anybody help on this issue?
    Thanks,
    Prithvi Zankat.

    Hi,
    I have an Application MXML which contains ModuleLoader which loads external flex movie.
    I want that the loaded module should adjust its size atomatically based on its parent container.
    Can anybody help on this issue?
    Thanks,
    Prithvi Zankat.

  • How can I use LCCS with ActionScript 3 and Flash CS4?

    Hi,
    Using Stratus I was able to create an an application using Action Script 3 and Flash CS4.  The sample code on the Adobe site was quite straight forward and easy to understand.  I now want to switch over to  LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS.  Do I need to know Flex to be able to use LCCS?  Everything was quite simple and easy to understand with Stratus and makes complete sense.  But LCCS is really confusing.  Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client.  There is nothing in the  LCCS SDK that covers Flash and Action Script 3.  Please help!  I found the link below on some forum but it takes me nowhere.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=y

    Thanks Arun!
    Date: Thu, 29 Apr 2010 11:44:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
    Hi,
    Welcome to the LCCS world.
    Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a  pretty basic app, but should help you moving.
    We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
    Thanks
    Arun
    >

  • How to resize a rectangle with an image?

    Hey,
    I am working on a MacBook, for me this combination would be "CMD" + "ALT" + "SHIFT" to resize the Rectangle AND the Image placed inside. How is this possible with Indesign script? I'm working with Javascript.
    Thanks really much in advance!!
    Best regards

    I found a workaround. This is not the proper solution, but it works for me. Note: "Width" and "Height" are the geometric bounds of the page substracted. x2-x1 = width, y2-y1 = height.
    newX = width/100*5;
    newY = height/100*5;
    newWidth = width/100*95;
    newHeight = height/100*95;
    Then I just added my rectangle like so:
    myRectangle = rectangles.add({geometricBounds:[newY, newX, newHeight, newWidth]});
    myRectangle.place(File(myFile));
    myRectangle.graphics[0].fit(FitOptions.proportionally);
    myRectangle.graphics[0].fit(FitOptions.centerContent);

  • How to create table with resizable row ?

    how to create table with resizable row ?

    I'd suggest you start here:
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • How do I batch resize images with different aspect ratios?

    How do I batch resize images with different aspect ratios?

    poa66 wrote:
    Landscape: I want result to be 1960 x 1103 px and 72 ppi whether the original is 300 ppi or 220 ppi and wether it is 2Mb or 10 Mb. Cropped centered top and bottom.
    There will be a set of Landscapes that that have a narrower aspect ratio the 1960:1103 that would also need the top and bottom cropped like all Portraits would could be.  You need to realize that center cropping Landscape image that have aspect ratios near 1960:1103 will usually produce acceptable compositions.  However Cropping wide panoramas and portraits will only produce acceptable landscape  1960:1103 composition occasionally.
    Here you will see what happens when image have aspect ratio the do not fit the desired aspect ratio.  Where Landscape  are forced to portrait and portrait forced to Landscape.  Here are two Collage I populated with a mixture of image  with different  aspect ratios.   One collage has all 3:2 Landscape places and the other 2:3 Portrait places.
    I create a 1 image 1960x1103 collage 72dpi and create those too. Note the landscape boy foot is cropped off 3:2 is narrow compared to 1960:1103

  • How do I play FC swf with animation & video inside interactive pdf?

    Hello...good people! I want to create an interactive PDF using a published FC swf (offline view version) with flv video and animation. The problem I'm having is with video playback inside the pdf. EVERYTHING ELSE WORKS EXCEPT VIDEO! It's as if Acrobat is not reading the asset folder (where the video file is located) created by FC. All animations work and even the video control (skin) appears! Just....no....video!
    When I RUN PROJECT (inside browser), everything works perfectly!
    As a matter of fact, I am able to create damn-near-the-same SWF (with flv video playback and animation) inside InDesign CS5 (hint hint!) using the animation and media panel and Export> SWF command (and again everything works perfectly!)
    In case you want to know how I do it, here's how it works....
    1. Drag-and-drop your SWF created in InDesign into Acrobat 9 Pro or Pro Extended.
    2. When the INSERT FLASH dialogue box appears, check SHOW ADVANCED OPTIONS. Click the RESOURCES tab. Click the ADD DIRECTORY button. Then, locate the asset folder (with flv/f4v video) associated with your SWF. Click OK.
    3. And bam!!...the SWF (video playback and animation) should appear and play as soon as the dialogue box closes.
    But remember...this is with InDesign CS5! How do I do this with FC? Why does everything work BUT the video playback when I follow these same steps after publishing from FC? WHAT AM I MISSING OR DOING WRONG?!!! I know I can do a lot more with FC and I want to see the same awesomeness of FC interactivity in my PDF as I see in my browser!!! If InDesign can do it, I know there's a way FC can!!!! Now....a little help please!
    Thanks,
    Big Waddy

    Hi,
    Interesting application for the Fc output.  I tried this out and it seems to work fine.  Here are the steps I went through.
    Created the fxp file and output the result
    Created the pdf
    From inside Acrobat Pro, I selected the Multimedia > Flash Tool and then chose the area in the document where I wanted to place the Fc output
    I chose the Main.swf for placement
    Acrobat Pro places the file
    I saved the pdf and then opened the file in the browser
    A play button appears and works when pressed
    Not sure what would happen when placed on a server.  Expect that you would need to keep all the files in the correct path/relationship to each other.
    Hope this helps.
    Tanya

Maybe you are looking for

  • How to get all the values in one column of a JTable

    How to get all the values in one column of a JTable as a Collection of String. I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column.

  • Inventory Cube Stock Quantity/Value Issue

    Hi Experts, I have an issue regarding inventory cube about the stock value and quantity. The Issue is: 1.  I Loaded the 2LIS_03_BX first to initialise the materials opening balance, after compressed ther request with the Marker (checked) . 2.  I load

  • How can i finf internal orders,Business area wise?

    Hi experts, As you know,we are creating internal order under a business area. Now my problem is,when i am trying to view internal orders Business area wise in KO03,its showing me all the internal orders and B.Area is not showing side to that. Any oth

  • Asha 311 radio application does not close.

    The radio application in my asha 311 does not close. I tried using the back button first, but when I swiped the screen the radio showed up so I used the end call button and then it showed "Radio Off". But then again when I swiped to check whether the

  • Windows 8.1 Ent. Helix - UltraNav, TouchPad and Keyboard issues

    System: Helix 3701XXX Windows 8.1 Enterprise 64-bit Third Apps installed Latest Lenovo Drivers installed Problem: Latest versions of ThinkPad Synaptic UltraNav Drivers (versions 18.0.7.39 to .57)  causing keyboard to act sporadically. This would caus