How to resize a swf created in Catalyst?

Hello,
I have created a beautiful site in Catalyst. My problem is: I don't know a code to edit the size of the swf created in Catalyst.
The swf is now 800 x 600, but I want it to automatically fit the browser.
I already made an swf in Flash Professional CS5, and then import it in Dreamweaver, and edit 800 x 600 to 100% x 100%.
This works really well, but when I do the same with my swf created in Catalyst, it doesn't.
Does anyone know how I can solve this problem?
Thanks,
Matiege

Hi Matiege,
What version of Fc are you using? The latest version of FC, called "Panini", supports constraints, so you can run the project, resize the browser and all objects that are using constraints will be aligned properly. The object layout constraints are specified with so called "suction cup" displayed when the object is selected. There is also a few options if you right click on the suction cup. The "Panini" is available for download at http://labs.adobe.com/technologies/flashcatalyst_panini/.
The older version of FC supports absolute coordinates only.
Does it answer your question?
Thanks,
- Mykola
FC QE

Similar Messages

  • Import SWF created in Catalyst

    The Catalyst program I created photo gallery and exporting him into swf. Then I put it into a new project (web pages) in the Catalyst Import function. In the program I see him as a SWF Asset, but the test (Run) even when exporting to the SWF, the original interface does not appear. SWF files created in another program (Sothink) appear normal.
    Thanks

    Unfortunately you can't import an SWF from Flash Catalyst into Flash CS5.  Flash Catalyst uses the Flex Framework for building the its SWF.  Flash CS5 does not use the Flex Framework and doesn't know what to do with that kind of file.  You can load an SWF from Flash CS5 into your Flash Catalyst project, though. 

  • 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

  • Mi swf (created on Catalyst) is cropped when I resize it on Modzilla and Explorer

    I made a Flash Catalyst file, and then exported it into an SWF File. When I open the HTML file with the swf, I try resizing or scaling the file and its gets cropped and is not in proportion with the window. Here you can see my file: www.estaydesigned.cl. Please!!! I need help

    In Flash Catalyst 1.0, the swf will not resize. To add this functionality you will have to manually add it within Flash Builder. This can be a complex process. In Flash Catalyst 5.5, resizable applications are now supported. FC 5.5 is slated to ship in May 2011. Don't know if that helps are not.
    Chris

  • How do I add .swf created with Photoshop web gallery to Dreamweaver page.?

    I've used Photoshop CS3 to create a Flash Web Gallery. I put that folder in my site root in dreamweaver, but when I add the .swf to the webpage- it only shows as a white box. Even when I press "play" nothing happens. What else needs to be done? All of the files created with the .swf are also already in the root directory

    That would seem to be a question for the DW forum
    http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=12

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

  • How do you reference a valueObject located in main to a custom component created in Catalyst?

    Hello,
    I have been working with the Catalyst Beta 2 / Flash Builder beta trying to create a photogallery and have hit a little bit of a snag, try as I might I can't seem to find the answer anywhere. I am still new to Flex so please excuse me if this is a basic question, I have been trying to understand more about Flex to make my designs in Catalyst better.
    I found this video on Adobe TV: http://tv.adobe.com/watch/rich-internet-applications-101/ria-stepbystep-16-binding-a-data- service-to-flash-builder-components/
    It's wonderful and I have the datalist I created in Catalyst working with the XML file I generated but I designed my little photogallery a bit diffrent, I created a Custom Component in Catalyst so that when you click an item on the DataList it pop's up a little screen with a larger photo in on it, rather then having an image in the main application. Now my problem seems to be that I can't refrence the valueObject I created with the wizard as it's in my Main.mxml file, is there a way to refrence it from my Custom Component so the larger image will display? Is there a way to let the component know which item on the dataList in the main application is selected and display the correct image?
    I should also say I really enjoy working with the Beta for both Flash Builder / Catalyst, thanks for the hard work!
    Thanks for the help,
    Chris

    I am afraid you cannot bind to static properties in Windows Store Apps. It is simply not supported.
    You could create a proxy class that exposes the static command property and bind to this property of an instance of the proxy object:
    http://stackoverflow.com/questions/14186175/bind-to-a-static-field-in-windows-8-xaml
    http://stackoverflow.com/questions/4708711/how-can-i-use-the-xstatic-extension-for-phone7-silverlight-apps
    You will of course have to create an instance of the proxy object. There is no way around this.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question.

  • How to resize a doc in CC that was created with cs4

    I created a tabloid size document in CS 4 and now need to resize it to Letter size using CC, not having much luck figuring it out.
    Help??

    What is the obstacle?
    ID CC will open a CS4 file.
    CS4 had Layout Adjustment which would automate re-sizing the document.
    CC has Liquid layout and perhaps Layout Adjustment. (I am not above CS.5)
    The amount of work to change Tabloid to Letter will be dependent on how well the file was created. 

  • HELP: S10, how to resize or create new partion

    anybody can help me plz...
    how to resize or create new partion
    thanks... 

    Hi and welcome to the lenovo forum,
    the quickstart itself will/ is install/ed in hidden folders on the windows partition. Installed as a normal program and de-/re-installable ,  its available in the download driver section .
    Next ..that used free software has no spy/nag or virus in  ..
    Important is Do as a first step ,  backup/save the whole hdd  on an extra media external hdd i.e.because changing position and size you could loose your recovery function...!
    Resize and Partition/correction will easy managed by partioning tool in windows after apply it restarts and do the action for you...  
    Aware you can loose with grub and linux install your  recovery feature ... quickstart is totally independed about that..so if that proggy is activated in BIOS/or windows ...and you have installed i.e. linux, see whats happen when you start ... start ...quickstart will comes first , you can use quickstart or ... if you didnt press any key while starting (boot-progress) it will go further, grubloader comes up now you can choose boot to windows or linux ...
    a triple multi system ...
    sincerely KalvinKlein
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • FAQ: How can I make a SWF from Flash Catalyst scalable?

    The SWF files that Flash Catalyst publishes are fixed in size. Even if you set the size of the SWF manually when embedding it, the content created in Catalyst will remain the same size. However, with a small amount of work in Flash Builder, you can make your SWF scale to fit the width and height you want.
    Follow the instructions in this tip on FlashCats.
    Answered by: Bear Travis.
    Read original discussion.

    Welcome to our community
    Please take a look at the links below. Not only do they answer your question, they are there to help you get the best forum experience.
    Forum Participation Suggestions
    Frequently Encountered issues
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

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

  • How to resize a photo from CameraUI?

    Hi there,
    i really need som help here. I cant seem understand how to resize an still image taken with the camera. Here are the code so far(also with the upload part). I just need a thumbnail to be uploaded to the server, not the HQ-image. Any ideas?
              Simple AIR for iOS Package for selecting a cameraroll photo or taking a photo and processing it.
              Copyright 2012 FIZIX Digital Agency
              http://www.fizixstudios.com
              For more information see the tutorial at:
              http://www.fizixstudios.com/labs/do/view/id/air-ios-camera-and-uploading-photos
              Notes:
              This is a barebones script and is as generic as possible. The upload process is very basic,
              the tutorial linked above gives information on how to post the image along with data to
              your PHP script.
              The PHP script will collect as $_FILES['Filedata'];
              import flash.display.MovieClip;
              import flash.events.MouseEvent;
              import flash.events.TouchEvent;
              import flash.ui.Multitouch;
        import flash.ui.MultitouchInputMode;
              import flash.media.Camera;
              import flash.media.CameraUI;
              import flash.media.CameraRoll;
              import flash.media.MediaPromise;
        import flash.media.MediaType;
              import flash.events.MediaEvent;
              import flash.events.Event;
              import flash.events.ErrorEvent;
              import flash.utils.IDataInput;
              import flash.events.IEventDispatcher;
              import flash.events.IOErrorEvent;
              import flash.utils.ByteArray;
              import flash.filesystem.File;
              import flash.filesystem.FileMode;
              import flash.filesystem.FileStream;
              import flash.errors.EOFError;
              import flash.net.URLRequest;
              import flash.net.URLVariables;
              import flash.net.URLRequestMethod;
                        // Define properties
                        var cameraRoll:CameraRoll = new CameraRoll();                                        // For Camera Roll
                        var cameraUI:CameraUI = new CameraUI();                                                            // For Taking a Photo
                        var dataSource:IDataInput;                                                                                          // Data Source
                        var tempDir;                                                                                                                        // Our temporary directory
                        CameraTest() ;
                        function CameraTest()
                                  Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
                                  // Start the home screen
                                  startHomeScreen();
                        // =================================================================================
                        // startHomeScreen
                        // =================================================================================
                        function startHomeScreen()
                                  trace("Main Screen Initialized");
                                  // Add main screen event listeners
                                  if(Multitouch.supportsGestureEvents)
                                            mainScreen.startCamera.addEventListener(TouchEvent.TOUCH_TAP, initCamera);
                                            mainScreen.startCameraRoll.addEventListener(TouchEvent.TOUCH_TAP, initCameraRoll);
                                  else
                                            mainScreen.startCamera.addEventListener(MouseEvent.CLICK, initCamera);
                                            mainScreen.startCameraRoll.addEventListener(MouseEvent.CLICK, initCameraRoll);
                        // =================================================================================
                        // initCamera
                        // =================================================================================
                        function initCamera(evt:Event):void
                                  trace("Starting Camera");
                                  if( CameraUI.isSupported )
                                            cameraUI.addEventListener(MediaEvent.COMPLETE, imageSelected);
                                            cameraUI.addEventListener(Event.CANCEL, browseCancelled);
                                            cameraUI.addEventListener(ErrorEvent.ERROR, mediaError);
                                            cameraUI.launch(MediaType.IMAGE);
                                  else
                                            mainScreen.feedbackText.text = "This device does not support Camera functions.";
                        // =================================================================================
                        // initCameraRoll
                        // =================================================================================
                        function initCameraRoll(evt:Event):void
                                  trace("Opening Camera Roll");
                                  if(CameraRoll.supportsBrowseForImage)
                                            mainScreen.feedbackText.text = "Opening Camera Roll.";
                                            // Add event listeners for camera roll events
                                            cameraRoll.addEventListener(MediaEvent.SELECT, imageSelected);
                                            cameraRoll.addEventListener(Event.CANCEL, browseCancelled);
                                            cameraRoll.addEventListener(ErrorEvent.ERROR, mediaError);
                                            // Open up the camera roll
                                            cameraRoll.browseForImage();
                                  else
                                            mainScreen.feedbackText.text = "This device does not support CameraRoll functions.";
                        // =================================================================================
                        // imageSelected
                        // =================================================================================
                        function imageSelected(evt:MediaEvent):void
                                  mainScreen.feedbackText.text = "Image Selected";
                                  // Create a new imagePromise
                                  var imagePromise:MediaPromise = evt.data;
                                  // Open our data source
                                  dataSource = imagePromise.open();
                                  if(imagePromise.isAsync )
                                            mainScreen.feedbackText.text += "Asynchronous Mode Media Promise.";
                                            var eventSource:IEventDispatcher = dataSource as IEventDispatcher;
                                            eventSource.addEventListener( Event.COMPLETE, onMediaLoaded );
                                  else
                                            mainScreen.feedbackText.text += "Synchronous Mode Media Promise.";
                                            readMediaData();
                        // =================================================================================
                        // browseCancelled
                        // =================================================================================
                        function browseCancelled(event:Event):void
                                  mainScreen.feedbackText.text = "Browse CameraRoll Cancelled";
                        // =================================================================================
                        // mediaError
                        // =================================================================================
                        function mediaError(event:Event):void
                                  mainScreen.feedbackText.text = "There was an error";
                        // =================================================================================
                        // onMediaLoaded
                        // =================================================================================
                        function onMediaLoaded( event:Event ):void
                                  mainScreen.feedbackText.text += "Image Loaded.";
                                  readMediaData();
                        // =================================================================================
                        // readMediaData
                        // =================================================================================
                        function readMediaData():void
                                  mainScreen.feedbackText.text += "Reading Image Data.";
                                  var imageBytes:ByteArray = new ByteArray();
                                  dataSource.readBytes( imageBytes );
                                  tempDir = File.createTempDirectory();
                                  // Set the userURL
                                  var serverURL:String = "http://www.hidden_in_this_example.com/upload.php";
                                  // Get the date and create an image name
                                  var now:Date = new Date();
                                  var filename:String = "IMG" + now.fullYear + now.month + now.day + now.hours + now.minutes + now.seconds;
                                  // Create the temp file
                                  var temp:File = tempDir.resolvePath(filename);
                                  // Create a new FileStream
                                  var stream:FileStream = new FileStream();
                                  stream.open(temp, FileMode.WRITE);
                                  stream.writeBytes(imageBytes);
                                  stream.close();
                                  // Add event listeners for progress
                                  temp.addEventListener(Event.COMPLETE, uploadComplete);
                                  temp.addEventListener(IOErrorEvent.IO_ERROR, ioError);
                                  // Try to upload the file
                                  try
                                            mainScreen.feedbackText.text += "Uploading File";
                                            //temp.upload(new URLRequest(serverURL), "Filedata");
                                            // We need to use URLVariables
                                            var params:URLVariables = new URLVariables();
                                            // Set the parameters that we will be posting alongside the image
                                            params.userid = "1234567";
                                            // Create a new URLRequest
                                            var request:URLRequest = new URLRequest(serverURL);
                                            // Set the request method to POST (as opposed to GET)
                                            request.method = URLRequestMethod.POST;
                                            // Put our parameters into request.data
                                            request.data = params;
                                            // Perform the upload
                                            temp.upload(request, "Filedata");
                                  catch( e:Error )
                                            trace(e);
                                            mainScreen.feedbackText.text += "Error Uploading File: " + e;
                                            removeTempDir();
                        // =================================================================================
                        // removeTempDir
                        // =================================================================================
                        function removeTempDir():void
                                  tempDir.deleteDirectory(true);
                                  tempDir = null;
                        // ==================================================================================
                        // uploadComplete()
                        // ==================================================================================
                        function uploadComplete(event:Event):void
                                  mainScreen.feedbackText.text += "Upload Complete";
                        // ==================================================================================
                        // ioError()
                        // ==================================================================================
                        function ioError(event:Event):void
                                  mainScreen.feedbackText.text += "Unable to process photo";

    1. Create a BitmapData of the correct size of the full image
    2. Use BitmapData.setPixels to create pixel data from your byteArray
    3. Make a new Bitmap, Bitmap.bitmapData = BitmapData
    4. Create a matrix with the correct scaling factors for your thumbnail
    5. Create a new BitmapData the size of your thumb
    6. Use BitmapData.draw to draw your image data from the Bitmap to the new BitmapData with the scaling matrix
    7. Use BitmapData.getPixels to create a bytearray from your thumb BitmapData
    8. save it
    You'll have to look up the AS3 reference to see how all these methods work.

  • How to resize all pages -Acrobat 9 Pro Extended ? ?

    I came across a pre-existing pdf file of an old book of genealogy.  According to the front pages, it was 'Digitized by Microsoft', so I know nothing on how it was generated.  Total pages are in excess of 1,100.
    In viewing the pages, they are reflected as 2 pages to a view; not the book opened with the spine in the middle, but images side by side ... in numerical order ... and they appear as a normal sized 2 page for that view.  When I print out a page, by number, it also prints out in a normal size on an 8x11 inch sheet of paper.
    However, rather than print page by page on individual sheets of paper, I want to print out multiple pages, 2 to a sheet of paper.  In doing this, the images of the pages come up as 3x5 inch; thus not readable if printed without the usage of magnifier.
    Not that familiar with the program, but tried to do a resize process by setting some adjustments and then to a new pdf file.  It did not change that much ... and increased the file size dramatically.
    I am a novice to these processes.  Can someone advise how to resize the whole file, with images of pages side by side, so that when multiple print is used for 2 pages the size comes up closer to something like 5x7 inch each?
    Thanks

    Let me try it this way.....
    1.  The pdf file, when initially opened up, in the opening view shows 2 simotaneous pages side by side ... with hardly a divider between them.  This at this point has nothing to do with the print mode.
    2.  The book in question was 'Digitized by Microsoft' ... don't know if that makes any difference, but thought it would help to under stand that it was not created by the normal Adobe Acrobat method.
    3.  Now, when I go to the Print mode, from where I just viewed the 2-side-by-side pages, the initial view there, for 'page', is just 1 page ... not the 2 page view I just came from ... and it will print out this view in a full sheet version.
    4.  But, not wanting to print out 1130 pages, want to print multi-page as allowed under Acrobat options.
    5.  So choose multi-page and 2 pages and "Print to printable area"..
    6.  When this option appears in the print viewing window, the 'images' (presuming that to be the correct reference) are small, over the normal (roughly) 5 x 7 inch (each) for a 2-page print option.
    7.  With the 2-page print option, the images are only 3.5 x 5.25 inches ... rather than something like 5 x 7 inch ... which is difficult to read without a magnifier.  [Note:  This 3.5 x 5.25 is as indicated in Properties that the original 'Digitizing' did.
    8.  So, in essence, how can one change the default individual image size from 3.5 x 5.25 inch size, to something closer to 5 x 7 inch size ... so that each image fills in more of it's half of the 8.5 x 11 inch page being printed ... rather than the small size reflected in the attached jpg ?
    I've attached a jpg of the print screen, and one of the 2 page side-by-side 'default' view in Acrobat.
    Thanks

  • How to Preloading a swf file in one application

    hello friends,
    How to preload a swf file in one application??
    i have two panel in one panel i given login screen and In second panel there is one module i have to show this panel which is visible="false" when user logged in but i have to preload this module in second panel when the user is doing logi. and when user logged in that time i have to show the second panel hiding the first panel.
    so how to do this i m not getting can anyone help me??
    Thanking you,
    Gajanan

    i have created a jar file.Now i want to reuse this
    jar file in another java program.Could anyone please
    guide me with the steps of how to reuse a jar fileput your jar file in class path and import the class which u want to reuse in your code so that u can access all the methods in that class in ur code.

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

Maybe you are looking for