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?
Similar Messages
-
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 = 956you need to execute that resize factLoader code in loaderCompleteHandler
-
Need to read a .swf file in os 10.8.5, Mountain Lion. Caon;t load flash player in this os. How can I do it?
Oh, OK...
...go to your Downloads folder. There will be (a lot by now!) files with a .dmg extension. Double click that file and it will open like a hard drive icon on your Desktop or in your Sidebar. Therein will be an "Install Flash Player.pkg" file (or something like that). Dounle-click the installer and Flash Player will install. It may take a few minutes. After it installs (it may tell you to close your browser(s) that are open before it will install - I don't recall) you may need to quit and restart your browser.
Give it a shot - call back if no joy.
Clinton -
Do I need to resize the sparsebundle file after migrating to new larger AirPort Time Capsule?
Just upgraded my Airport Time Capsule from an old 1TB to a new 2TB version.
I have migrated the sparse.bundle file by using the ethernet method but now I want to know if I need to resize the file using Disk Utility or does it happen automatically? If it doesn't resize automatically then Apple should at least have some option to automate this process as it seems a natural request.
Over time people would want to continue using their same old back up and just allow the file to get bigger as it is moved onto a newer larger device and still have access to all the previous old backups all on one device/system.It should continue to resize automatically or would if Yosemite worked properly.. since TM in Yosemite is lousy it might well need you to fix it.. It isn't hard.
See Pondini A8 here.
http://pondini.org/TM/Troubleshooting.html -
Need to connect different swf files into one site
I need to make this site like presentation for my next exam. I found a good template for a slide show. The presentation will be structured like this:
MAIN PAGE with sidebar which links to:
slide one with slideshow 1
slide two with slideshow 2
slide three with slideshow 3
slide four with slideshow 4
due to the nature of the code thou i cannot put the different slideshows into the same .swf file in different scenes (i copied and pasted them in each scene and modified the actionscript so they would refer to different pictures) because they will create conflict with each other. now they question is can i use the sidebar to link to different swf files but still make it look like it was just one big swf?
thank you!Here is what you have to do
Create a document named main.swf in that document put 4 buttons and instance (button1_btn, button2, button3_btn, button4_btn).
Change the name to your slideshows to slide1.swf, slide2.swf, slide3.swf and slide4.swf.
Now go to the actionScript panel of your main.swf and paste the following code:
//load external content
var loader = new Loader
addChild(loader)
loader.x=0;
loader.y=0;
button1_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide1.swf"));
button2_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide2.swf"));
button3_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide3.swf"));
button4_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide4.swf"));
any problems let me know!!! -
[Need help with a swf file]
Hello,
I need help with a flash demo that I am creating. I have a
main swf file that contains links to other sub swfs that I have
created. What I really want this to do is... when I click on one of
the link on the browser, the other swf have to load in the window.
I tried to code it with .loadMovie,.... but for some weird reason,
it is not showing up.
Can anyone help me on this?
Thanksyou might have a security violation and you do have a
load-target issue. remove that "_parent": there's no 2nd parameter
in the loadMovie() method.
if you want to replace the main swf with that url, loading
into _root is fine. otherwise, you want to use a different
target. -
What is needed to view a SWF file on the web?
Do users just need a version of FlashPlayer?
If you are placing it in a web page, then you normally have to use special embedding code to have it display. I don't know if Illustrator provides the necessary code, but if you have Flash, it can generate the code that code in the web page. Dreamweaver can also do it, though I find it less reliable in doing so. Otherwise, if you link directly to the swf file it should open in a browser window and fill up the window.
-
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 Preloader for Multiple SWF files
SORRY FOR THE DUPE POST, THE OTHER CAN BE DELETED. MY ADOBE
ID PROFILES WERE MESSED UP.
Hi forums, I'm new to Flash. I did the following:
1. Created a complex home page, about 3.5MB in size, due to a
large graphic I had to use many times over and couldn't make into a
symbol (long story). It's called INDEX.SWF, with accompanying
INDEX.HTML file from Flash
2. Split pieces of the INDEX.SWF file into multiple SWF files
to make it load faster
3. Created multiple layers in INDEX.SWF using loadMovieNum to
call to multiple SWF files from step 2
This works OK, but I think a preloader would optimize my page
animation. However:
1. I don't understand how a preloader file gets recognized on
the site load. If I create a file called PRELOADER.FLA and publish
it, how does the site know to use it first? Does it need a special
name?
2. Once I understand #1 above, I might be able to use some
sample preloader files I've found. It seems like all I have to do
is change the actionscript to point to my main file, but not sure
yet. I'll get to that next once I understand how the file even gets
recognized and loaded. Thanks for your help!PLEASE DELETE THIS POST AND USE NEWER ONE FROM
MOUSEHOUSESITE, I APOLOGIZE FOR DUPE POST DUE TO MESSED UP ADOBE
ID. -
I need to combine 2 swf files into 1 file
I have a flash template that is controled by basicly 3 files website.swf, text.xml and index.html (there are a lot of supporting files) When i put a video.swf in the xml file it runs with the website.swf as long as I don't turn on the sound on the video.swf because it will not stop. So I needed some controls on the video.swf which is the skinunderall.swf, but the file comes in 2 pieces and will not intergrate on the website.swf. I have about 18 video.swf files and they all need to be controlled by the user on the site. Is there anyway to combine video.swf and the skinunderall.swf to ONE file with the controls? I will settle for a start stop button, however once the file starts I can't touch it--it seems. But I have turn the video.swf into a link and it was clickable.
I read the captive thing but it seems to be out of date. Oh yeah and I am a page one (begining) coder.
Any help?Hi,
"combine 2 swf files into 1 file" is a pretty abstract question. The short answer is - yes, you can, but you need an appropriate software tool for that. But really it's not clear (for me) how all your files work together exactly. The only what I can derive from your explanation, is that you need to add an interactive control to some SWF files with embedded video, loadable into the main "envelope".
In general all what you need are:
- you must have some named mc within your "main" SWF, which will load your video SWF's into itself by loadMovie() function.
- you need to have some controls (buttons, etc.) in your "main" movie. which will control this mc playback - mc.play(), mc.stop(), etc.
I'm almost sure it's resolvable problem, but can you upload this template to let us see how it all works now? If you don't wish to disclose it all publically, then you may write to me personally. You can find email address at the bottom of the webpage in my signature.
FlashDigger
www.flashdig.com -
Need help with combining swf files together
Hi Everyone
I have problem with my project.
I created several SWF files, now i want them to interact with each other
So there is main SWF file lets call it:
main.swf
then within that file(main.swf) i would like to create buttons which will be calling other swf files for instance by pressing one button one.swf will be open by pressing other button two.swf will be open and so on.
Then I would like to create buttons within one.swf and two.swf which will allowed to go back to main.swf
If someone could help me how to do it I will be grateful.
AS2.0 i am working with
many thanksthanks for quick respond
So the first of all my main.swf would load, within it i would have a button. If i click on button will take me to frame 40 ( just example ) where i will have this.loadMovie("first.swf"), when this file will be loaded i want to have other button with in the first.swf which will take me back to main.swf and now you are suggesting to use this.removeMovie("first.swf")?
I am not sure if i got you answer right
Thanks again for help i am quite new to ActionScript as you can tell. -
I've finished my flash site using a resolution of 1024x768: my professor wasn't so happy of a resolution so "high" (even if today is something like standard) since somebody might still have an old monitor with low res.
Since I really don't want to get a bad vote I wanted to change the resolution to 1000x550 because with that res a 1024x768 monitor still can see everything: then I've exported my .swf file and then into the .HTML file I've changed the width and height fields.
Is this a "correct" operation? There could be any problem??
All tips are welcome!Select everything on every layer and with the "edit multiple frames" option turned on, scale your content proportionately to 800x600. Don't forget to select everything on the scene before scaling, just checking "edit multiple frames" wouldn't be enough
Emil Georgiev - Flash & Web Design -
Safari is resizing the swf file
i go to File => Open => swf
it opens just fine, but then when i resize the window
everything grows or shrinks with the window.
what's that about?Seth Prince;
That is what happens when you open a "bare" swf--embed the
swf in an
html page and set the size in pixels. See flash's publish
feature... -Tom
Unger -
I need help loading a swf file in a flash website
Hi,
I am an interactive design student working on a flash portfiolio and need help. I can't figure out how to load a game I made in flash into my porfolio so that it loads after clicking on a button, becomes playable, then have a button to leave the game and go back to my portfolio. I'm working in Actionscript 2.0 because that's all my teachers will show me and I have minimal actionscript knowledge.
Thanks,
EmilyI thought I got it to work with loadMovie, but it only plays the intro, and then either repeats or exits as soon as the first bit of actionscript starts
-
Need Your Help with Swapping SWF files
Hello,
I am need to swap Two SWF files. I am acheving this by make
one swf as a holder. call it main.fla main.swf file. Embed that
file into my html document. In that file I placed one button with
the
following action :
on (release) {
loadMovieNum("second.swf", 1);
in that file have a button with action to load the 3rd file :
on (release) {
loadMovieNum("3rd.swf", 1);
by loading them in same level (1) they will replace each
other. My problem is that my SWF files obtain some information
using combination of PHP and XML file. I have noticed when I place
the SWF with it’s required PHP and XML in separate folders
the SWF file is uploaded (swapped) but since the PHP files are NOT
run by the server my dynamically generated XML files are empty and
therefore the uploaded SWF file has not information expect the SWF
file. Is there any way to get round this problem?
Thank you in advance for your help and hope you have a great
day.
Cheers,
BabakKhoramdin wrote:
> Hello,
>
> I have two separate Flash SWF files which I would like
upload into the same
> HTML file. But I would like to load only one of them at
the time and would
> like to have a Button on each SWF Flash file which
causes the other SWF to be
> loaded.
>
> hmmm.. I am not sure if I managed to make sense. :o) Let
me try it one more
> time. :o) I would like to swap one SWF file for another
SWF file by clicking
> on the buttons which are placed on the SWF files! :o)
make one swf as a holder. call it main.fla main.swf file.
Embed that file in your html document. In that file place
button with the
following action :
on (release) {
loadMovieNum("second.swf", 1);
in that file have a button with action to load the 3rd file :
on (release) {
loadMovieNum("3rd.swf", 1);
by loading them in same level (1) they will replace each
other.
Pretty simple..uh ?
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free>
Maybe you are looking for
-
Testing 1...2...3
-
Syncing from Iphone Reminders to Ical?
Is it possible to sync between Iphone Reminders and Ical or other app on Mac?
-
Downloaded software from App Store crashes on launch
I downloaded a trial version of a sofware program (Pixelator). After installing and using it to make sure it met my needs, I purchased it from the App Store. App Store downloaded another copy of the software then tried to launch it. Now the software
-
System upgrade fails (krb5-??)
Hello, I am trying to update an quite old Arch system, I could re-install it freshly, but then I would not learn anything. [root@Vaidotas-LPCM /]# pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is u
-
What is the error message -3231
iTunes is apparantly not able to update iTune match each time I try to do so it gives me this error message -3231