Actionscript :: Change An External Swf's Dimension In Project?

Nov 17, 2009

I used Loader to load an external swf file, and try to display it in a fixed area, like a fixed dimention sprite object. And I don't know the exact size of the swf file, I just want it to fit the fixed area.

code:

var loader:Loader = new Loader();
loader.load(new URLRequest("some path"));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);

[Code].....

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Put Project In Net With The Right Dimension

Oct 26, 2009

Im doing a project of a site in flash/as3.... now im trying to put it on web to see some results...

But when i go to publish... i dont know what options are the best... Like... i put percent 100% in width and height.... and it works fine in height but in width it shows me more then my stage width :/

what should i do...? i can show u what i mean ....[URL] this is the url where im doing some tests....

View 2 Replies

ActionScript 2.0 :: Change The Stage Dimension By XML?

Dec 14, 2005

Say that, I have a basic image galery using xml file as image sources. After a time I replace images in xml file by a different image group with higher dimensions. At this point I want my swf file to adopt new height and width values. How can this be done ?I tried but failed In Flash help files, it says as read-only properties for Stage.height and Stage.width, but because I'm not an AS guru I thought that there should be a way t

View 1 Replies

Media Server :: How To Change Player Dimension

May 3, 2010

I'm sorry, but I wanna change the dimension of the built-in flash player that we get from installing the FMS.. can i do that?I need it to fit my web in the center, and on the left & right side there's bar for ads..anyway, I embed my web with the videoPlayer.swf I got from this folder:"C:Program FilesAdobeFlash Media Server 3.5samplesvideoPlayerswfs"then I checked the source folder and i realized that it's builed with Flex, and I'm not proficient in Flex.After that I tried to decompile the .swf file using sothink swf decompiler and recompile it again, but it gives me error message in Adobe Flash CS3 Professional.

View 2 Replies

Flex :: Change Swf File Dimension In Html?

Aug 11, 2010

I just built a flex applcation with AS3 only.. the generated swf will expand as much as browser's window..I wish to reduce the dimension of swf file.

View 1 Replies

ActionScript 3.0 :: Disable Focal Change In Z Dimension?

May 4, 2010

Whenever I move things along the Z dimension, it gets blurry, like it "should". Any way to disable that, and keep infinite focus?

View 3 Replies

Actionscript 3 :: Dynamically Alter The Main Timeline Display Dimension To Match A Loaded 3D Swf's Dimension To Keep Source 3D Properties?

Dec 16, 2010

The issue I'm having is that I have a main "wrapper" 100x100 (but it could be any size) - it's just there to hold and display whatever content, swf, gif, etc we may want to throw into it. As long as the loaded content doesn't have 3D animation like rotationY going on, it displays fine. But when it does, the 3D "anchor" properties (like projectionCenter) of the loaded swf inherit those of the main timeline (i.e. 100x100 (main) vs 728x90 (loaded)). If I change the dimension of the main "wrapper" in Flash IDE to match what's coming in - the 3D behaves fine, but I won't know what the dimensions of the content will be until it comes, so I need a way (if there is one) to dynamically alter the main "wrapper" or root display object through AS. Stuff like "this.width = loader.width" or "stage.width = loader.width" or "root.width = loader.width" etc doesn't work. Flex has the hBox and vBox

View 1 Replies

ActionScript 2.0 :: Change The Browser Dimension Dynamically In Flash?

Jun 18, 2006

Is possible to change the browser dimension dynamically in flash? I have a ball that bounce up and down on the stage and I would like that everytime it bounces on the bottom the broswer window gets bigger ..

View 1 Replies

ActionScript 3.0 :: Setting External SWF Dimension

May 16, 2010

i'm now working on a project using action script 3 now what i'm trying to make is a Main SWF that load whatever other swf into it the tricky thing is that i used 1 xml document read the external swf source nad it's setting(such as it's x,y position and it's width and height) and i'm having problem setting it's width and height (i mean the loaded swf width and height)[code]

View 2 Replies

ActionScript 3.0 :: Preload Project, But Wait For Said Project To Load External Assets?

Jun 15, 2009

I am working on this one project that has a couple of movieclips (already placed on stage) which have a custom class set to export via the Library. Each of those custom classes loads an external SWF using URLRequest().

Is it possible (or, what is the best way) to preload the whole project first, including the external SWFs?

View 7 Replies

ActionScript 3.0 :: Setting External Loaded SWF Dimension?

May 20, 2010

i'll be straight to point,well i'm now working on a project using action  script 3 now what i'm trying to make is a Main SWF that load whatever  other swf into it the tricky thing is that i used 1 xml document read  the external swf source and it's setting(such as it's x,y position and  it's width and height) and i'm having problem setting the loaded swf width and  height btw it's an desktop application and not a website application.,

[Code]...

View 11 Replies

ActionScript 2.0 :: [FMX] Obtain The External Movies' Resolution / Dimension (800x600 Px)

Oct 21, 2003

At _level0, external movies are loaded through a movieclip using loadMovie("externalmovie.swf","targetmc");

1. Obtain the external movies' resolution/dimension (e.g. 800x600 px) using actionscript.

2. Assume the movies have different dimensions and are smaller than or equal to _level0's dimensions. If they are smaller, you have to scale up the movie until it reaches the largest size possible, to fit into _level0's dimensions. Again, the external movies are loaded using a target mc and not using levels

3. Note: Remember that when movies are loaded through target MC, they inherit the properties of that mc, so if the size of the mc is 600x600, the external movie would be so too, even if it were 800x600px . This means that you may not do a direct [AS]MC._xscale = 200;[/AS] to it.

* The _level0 movie will serve as a master swf where the different external movies will load into, and consecutively play (one at a time), automatically (ergo, without having to manually open and quit and open and quit the movies).

View 8 Replies

Flex :: Change Which Browser Uses When Run Project

May 20, 2009

How do I change which browser Flex uses when I run my project?

View 3 Replies

Actionscript 3 :: Change Package Name In Whole Project?

Feb 22, 2012

I have two projects (created with Flash IDE), which i'd like to merge. both use the default package and have a lot of classes, some of which conflict.is there a easy way to change the package of a whole project from default to something specific?

View 1 Replies

Change Project Width Size - Realign Everything

May 15, 2009

So I have my project area set at 900px and have everything setup and they way that I want it. Anyways I want to change my size are to only 800px which I know how to do. But how can I shift everything over say those 100px to center everything back up?

Is there an easy way to center everything with out manually doing it?

View 1 Replies

ActionScript 3.0 :: Change Stage Coordinates Of A Project?

Sep 29, 2011

Is it possible to change the coordinates of a project so that is it more like a graph?

Eg. The center of the page is 0,0 and the bottom is -200 and the top is 200

View 4 Replies

Flex :: Change Project From MXML To AS Error

Apr 13, 2011

I am trying to change a Flex mobile application using MXML to describe views, to one which uses AS3 to create the views. I changed:[code]

View 2 Replies

ActionScript 3.0 :: Change Icon When Publish Project In Flash?

Nov 11, 2009

I publish my project... i put it on the web... but the icon that happears is 1 white page.... how can i change the icon??

View 1 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

ActionScript 3.0 :: Project Which Loads An External Image Via XML?

May 25, 2011

I'm working on this flash project which loads an external image via XML, the problem is the image resolution is a whooping 11472x6000! I think flash wont allow you to render greater than 4000px(correct me if I'm wrong), Is there any solution for this?

View 7 Replies

ActionScript 2.0 :: Using External SWFs To Navigate Through Project?

Mar 10, 2005

I've been working on this project, and I've been using external swf's to navigate thru my project. I started working on it, and everything was good, but I noticed that when I was navigating around the project, it was starting to get really slow with the animations.

The way that I had it set up was this:
I had a file called "home.swf" that held a movie clip called "container", and then i would load everything thru that.
Then I put that same "container" movie clip on my other swf's, and scripted it out so that other swf's could load thru the "container" MC on those pages.

That is what I was doing, and I was thinking that was good, but it's making my animations run slow. I was scripting everything out like this for the navigation on the buttons:
on (press) {
container.unloadMovie("promotions.swf");
} on (release) {
container.loadMovie("apparel.swf");
}

My question is do I need to not have the "contianer" MC on each one of my swf pages? Here what I have done so far: [URL]. Not all of the pages work just yet (I'm still working on it), but if you click thru the pages "print", "apparel", "promotions", all the ones that are on the top of the white center area, you can see what I'm talking about.

View 4 Replies

Embedding External Music Player Into Flash Project Possible?

May 28, 2009

I am trying to figure out if it's possible to embed an external flash music player (in this case sound cloud) to play some of my own tracks in my flash site. I don't want to create my own player as the sound cloud player is really nice and also has stats.

View 2 Replies

ActionScript 3.0 :: Load In External SWFs Slowing Project Down

Mar 13, 2011

I have created a small website using Flash CS4/AS3. Each of the pages is a seperate swf which i am loading into a container swf file when a button is clicked.

However when i test the site, it gets progressively slower every time another page is loaded in.

All my buttons are located in the external swf files and call the 'page load functions' in my container swf

Here is the code from my container swf where all the swfs are loaded into[code]...

View 2 Replies

Actionscript 2.0 :: Import An External SWF Onto The Stage Of A New Flash Project?

Sep 10, 2011

Im trying to import an external SWF onto the stage of a new Flash project. I found the following AS2 code and created an ActionScript layer and placed it into the first frame. However, when I press the Play button, nothing happens and no movieclip is placed into the library.

this.createEmptyMovieClip("mc",1);
mc.loadMovie("mymovie1.swf");
mc._x = 0;
mc._y = 0;

View 1 Replies

ActionScript 2.0 :: Making A Project To Pull The External Images?

Nov 5, 2004

I am making a project to pull the external images, but this total bad one, what I would like to know is, I make to pull 5 external images showing one loading before show the images, I only start to show the images when all the images already will be pulled. Somebody knows as to make? or some tutorial one?

View 1 Replies

ActionScript 2.0 :: [F8] Whisper's - Implement The FullScreen For Project ... External Files

Sep 11, 2007

I have managed to implement the fullScreen for my project, but can't figure out, for the life of me, how to bring in external files that center just as nicely as the internal content, when resizing the browser...

[Code]..

View 21 Replies

ActionScript 2.0 :: Building A Project That Dynamically Loads External Images And Audio Into It?

Nov 14, 2009

I'm building a project that dynamically loads external images and audio into it.The images in the external folder are numbered sequentially in the order they display as you click through them (1.jpg, 2.jpg, 3.jpg, etc). No problem.There is audio that is supposed to fade in a play with certain images. (1.mp3 fades in when 1.jpg is displayed.). No problem.Here's where it gets tricky... At least for me.Not every jpg has an audio file associated with it. The last audio that was triggered needs to keep playing until another jpg with cooresponding audio file plays, at which point the two audio files need to smoothly crossfade.1.jpg displayed => 1.mp3 fades in and plays.

(user clicks)
2.jpg displayed => 1.mp3 crossfades to 2.mp3.
(user clicks)

[code]........

View 5 Replies

Actionscript 3 :: Include External Plain File In Pure Project (packages/classes)?

Jan 13, 2011

I'm building Action Script project in Flash Builder. No flex, no third party libs. Pure actionscript - hierarchy of packages and classes. How do I include a plain external .as file, which is not a package or class, but just a set of statements?

View 1 Replies

Add A Widget Board To Flash Project So Users Can Embed Project In Their Webpage?

Jul 4, 2009

I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.

View 2 Replies

Actionscript 3.0 :: Import Authorware Project And / Or Director Project In Flash

Dec 10, 2010

I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved