Solved

Resizing .swf files

Posted on 2004-04-21
8
2,401 Views
Last Modified: 2012-12-04
I have created little movies that are now .swf files. I would like to incorporate them into a portfolio site that is 500 x 500. The .swfs are too big. Someone said that I need to go back to the original flash file and resize it there, but when I do this by selecting all, not all elements in the animation resize. How do I go about resizing the .swf so that I can place it into an empty movie clip in my main flash file?
0
Comment
Question by:pamelagillie
8 Comments
 
LVL 3

Accepted Solution

by:
mixart earned 500 total points
ID: 10885877
You will have to make sure you have the "EDIT MULTIPLE FRAMES" button selected under your main timeline. You will then have to move the little onion skin markers that show up to the right and left of the playhead in the timeline to span the number of frames you want to edit in your timeline so all frames in the animation are selected - then press ctrl-A to make sure all elements are selected and then scale using either your transform tool or "scale" from the menu.

(if you have multiple scenes you will have to do this step for each scene)

Hope this makes sense... if you get stuck look in the flash help for "edit multiple frames"
0
 
LVL 9

Expert Comment

by:krishnaprathab
ID: 10889902
Hi,

 You need not really go and edit each file and change the size. The follwing action will do the magic.

my_mc.loadMovie("page1.swf"); // my_mc is the movie or placeholder into whcih you are laoding your swf
my_mc._xscale=10;// Resizes to 10% the x
my_mc._yscale=10;// Resizes to 10% the y

This works for me and will work for you too.

Hope this helps !

Thanks,
KP
0
 
LVL 3

Expert Comment

by:mvwmail
ID: 10894364
Thats all very well, but is it necessary. Bearing in mind that SWF files are vector based and will shrink and grow with no loss of quality, why not simply force the SWF to be of a smaller size in your document by specifiying height and width in your HTML code.. less work.
0
 
LVL 3

Expert Comment

by:mvwmail
ID: 10894373
The SWF files that are calle din your portfoio site will them have to fit into the space provided.. and I hope that makes sense, it kind of does to me, but I have just OD'ed on chocolate
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 23

Expert Comment

by:Zeffer
ID: 10894921
you could also size the target (empty) movieclip on the main timeline..
and your incoming movies will scale with it..eg

on the clip put the code..

onClipEvent(enterFrame){
        _width = 500;     //the 500 is pixels
       _height = 500;
}

Z
0
 
LVL 5

Expert Comment

by:Demon1s
ID: 10895338
right click --> set size 500x500, then if it messes up size things, change it manually. If things dont resize, select them indevidually and look into whats going on.
0
 
LVL 9

Expert Comment

by:krishnaprathab
ID: 10911006
pamelagillie,

 If your question is answered plese close the quesion.

Thanks,
KP
0
 

Expert Comment

by:VLamBeat
ID: 38659188
is there an updated way of this method in Action Script 3?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now