ActionScript 2.0 :: LoadMovie Swf Resizes?
May 12, 2004
i have made a menu which is made up of 4 movieclips. its a sliding menu. so when you click a button the other movieclips slide to show the corresponding section (movieclip).within each section (movieclip) i want to load different content so i used the loadMovie code.at first i couldn't get this to load within my "container" mc but eventually i got it to work by putting the code on the main timeline instead of within the certain movie clip (I'm sure theres a way to put the loadmovie code within each section .
so my problem is, when my the swf loads it is has increased in size and the borders around the dynamic text fields wont show up.I have tried putting the noscale fs command in the .swf that i load but that didn't work.anyway i attacked a zip with the files incase someone wants to check it out for me."version2.fla is the main file with the menu etc."contact.fla" is the .fla file for the .swf that i want to load.
*you'll notice 4 movieclips.the only movieclip i'm concerned with at the moment is window1 (the movieclip that says'contact' on it). it contains my blank movieclip (container) and is where i'm trying to load my .swf
View 6 Replies
Similar Posts:
May 12, 2004
i have made a menu which is made up of 4 movieclips. its a sliding menu. so when you click a button the other movieclips slide to show the corresponding section (movieclip). within each section (movieclip) i want to load different content so i used the loadMovie code.t first i couldn't get this to load within my "container" mc but eventually i got it to work by putting the code on the main timeline instead of within the certain movie clip (I'm sure theres a way to put the loadmovie code within each section so if anyone watns to tell me how that would be awesome).
so my problem is, when my the swf loads it is has increased in size and the borders around the dynamic text fields wont show up.I have tried putting the noscale fs command in the .swf that i load but that didn't work.anyway i attacked a zip with the files incase someone wants to check it out for me."version2.fla is the main file with the menu etc."contact.fla" is the .fla file for the .swf that i want to load.you'll notice 4 movieclips. the only movieclip i'm concerned with at the moment is window1 (the movieclip that says 'contact' on it). it contains my blank movieclip(container) and is where i'm trying to load my .swf
View 6 Replies
May 4, 2010
I'm using a crossfading gallery with images 500x330px real size.
The movie window itself has this size, so it's OK. However, the photos inside the window are smaller and there's an unused black space around them (right and bottom)! I just can't figure out why they get resized smaller.
The XML code:
PHP Code:
<gallery timer="2.3" order="random" fadetime="1.2" looping="yes" xpos="0" ypos="0"><image path="images/01.jpg" width="500" height="330" /><image path="images/02.jpg" width="500" height="330" /><image path="images/02.jpg" width="500" height="330" /></gallery>
[Code].....
View 1 Replies
Nov 10, 2009
I'm trying to make an swf that resizes to the browser's size at initialization and when the stage is resized... but it seems to initialize at the original stage width (which is 800 * 600) and then when the stage is resized, it works... the swf is currently nothing but an image that says the site is under construction... but I'd like to resize it to screen size... here are my AS 3.0 and HTML code...
[Code]...
View 5 Replies
May 4, 2010
I'm using a crossfading gallery with images 500x330px real size. The movie window itself has this size, so it's OK. However, the photos inside the window are smaller and there's an unused black space around them (right and bottom)! I just can't figure out why they get resized smaller.
[Code]...
View 5 Replies
Jun 7, 2006
How do they do it? Best example would be at [URL]- where the thumbnails get reorganized into additional columns if you expand your browser window. Is this a ticky thing to accomplish?
View 2 Replies
Sep 27, 2006
I am trying to create a movieclip that can be used as a button that has a textfield and also a box in the background behind the textfield that is relative to the width of the textfield. I want to do this so I can dynamically create a bunch of these MCs with different text as labels and that are all different widths according to how long the text is. The end result should be a bunch of MCs that have different text on them and that have boxes of varying widths relative to the text they contain.When I create a textfield dynamically I have to specify the width first and so I can't figure out how to choose the width after I have created the textfield, determined by it's contents.
View 4 Replies
Nov 3, 2008
how the image in the background always fills the browserwindow and always stays in proper aspect ratio with cropping asnecessary, but the text on top of it floats over the imagedepending on how big the window is and the size of the text doesnot change.'ve been able to manage most of this. I can get my image toresize in the browser window to always fill it completely and cropas necessary. But the type that I want to place over the image alsoresizes, which I don't want it to do. I've done this by creating acustom class, which I've attached, and then setting the size of theswf file on the page at 100%.
View 4 Replies
Oct 28, 2009
I came upon this site [url]... In it the navigation components resize with the browser window change of size but the content remains the same size.
View 3 Replies
Mar 23, 2011
i want to know whether the website www.hbo.com is scaling or not and can you give a brief hint how to get same type of resizing effect . Because i found the the website have fixed minimum hight and minimum width and i scales to fit the browser window when it resizes.
View 1 Replies
Apr 5, 2010
I am having an issue with an actionscript event that I am firing every time a flex component resizes. In the event, I am altering the height of the flash object within its html wrapper via an external javascript function. This in turn causes the component to resize and the event to loop in upon itself and continually add height to the component.
[Code]...
View 1 Replies
Jan 22, 2009
[URL]
go to media >> aikido pictures
I am using this screen resolution: 1024 x 768
the whole website seems to work fine, but when I change my resolution to a higher resolution, everything works fine until I go to media >> aikido pictures, and then the whole parent swf is resized to a smaller size but the child swf is still filling the screen.
View 4 Replies
Sep 18, 2007
I'm making a horizontal image scroller, with a bunch of icons inside of movie clips, these movie clips will be moving from side to side. what I want to do is determine a parameter such as an _x coordinate and when a thumbnail reaches that point it enlarges and scales back down to a normal size once it has past the center point. I want each movie clip to do this however I do not know where to even begin.
View 1 Replies
May 28, 2002
how to make the browser window resizes automatically by clicking on a button in a flash movie [URL]
View 1 Replies
Apr 27, 2009
First let me say that I am just starting out in AS3 so this may be a simple problem that I am having due to my lack of experience. Goal: I have a mask over a mc that holds video being streamed in. This mask is set to show only a portion of the video and when the user mouses over the mask I want it to expand to show the whole movie. When the user mouses off the mask I want it to re-size back to its original size.Problem: The second time the mouse is over the mask, it does get tweened to the larger size, but you do NOT see the animation occur. It just blinks in.Code:I have included everything but my video class and grid class.For this I have turned off my grid. BTW this my FLA file includes this class. I have this feeding from an xml file, i removed that code. I also have 2 other movies that will function the same as movie1 but I have removed that code. Once I get movie1 working it should be fine for movies 2 and 3.
Code:
import caurina.transitions.Tweener;
import flash.utils.Timer;
[code].....
View 3 Replies
Sep 18, 2003
This is the code I have....
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.enarde.com/popups/3D/3DRed.htm','newWin1','width=511,height=448,left=0, top=0,toolbar=No,location=No,scrollbars=No,status= Yes,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
Everything works, its fine...in my flash movie you would click on a icon to see the pic in a new window...okay that works...but i want the user to be able to click on another pic and have the last window they open resize to the size of the pic...Its not doing that...it does open the pic in the same window but not resized...it stays the same size as the first pic they clicked on...what i have done was for every pic i would change newWin1 to newWin2 and so on...but that just opens it in another window.So is there a way that i can make it so when i click on a pic it resizes the first window that was open?
View 2 Replies
Apr 16, 2009
No not that component my FLVPlayBack component. I'm trying to make my component resize as the stage resizes while maintaining aspect ratio like this example [URL]. What I have now [URL] does that but only haltingly. It will scale but not always when you want it to sort of like rusted machinery ya give it a whack and it works for a few seconds that's why I said it needs grease. It's not a html issue here's the link to the swf just to make that point [URL]
[Code].....
View 4 Replies
Sep 14, 2009
how could I make a bar top or bottom which doesn't move when window resizes like that [url]
View 3 Replies
Aug 15, 2009
I have a HorizontalList that is resized at runtime. The problem is that the items are not adjusting their height to the height of the HorizontalList. I use an item renderer (vBox) which has its height set to 100%. But the items always stay at their initial size.
View 1 Replies
Mar 25, 2010
I have an application with a viewstack that contains all the components that need to be displayed. The navigation is defined in the main application. All the components are based on canvas. The main application looks like that:
[Code]....
View 1 Replies
Jan 29, 2008
I'm trying to do a similar effect that this site does: [URL] It's a full flash site. How do you make sure the scrollbar for example stays on the right hand side of the screen depending on what resolution/size of the browser the user is using. Even if they then resize it, the scrollbar ends up on the right hand side at all times.
Also the content is moved to the center when you resize the width of the screen. At the moment though I'm just interested in how to keep something aligned to the right dynamically.
View 11 Replies
Feb 24, 2008
Flash Gallery that resizes the image before it gets loaded?
View 2 Replies
Mar 28, 2008
I have a Fla with many movieclips arranged on it. I've figured out how to reposition them dynamically in AS 2 using a listener (i.e. nav stays at bottom, main content in center regardless of user changing window size, etc.).
Now I want to add another movieclip ("vid_bg" is the instance name) which always resizes to be the width and height of the browser. Think of it as a movieclip background under the other content that stretches to fill the browser.
[Code]...
View 2 Replies
Aug 5, 2008
As you resize your browser window the background image resize proportionally. The content on the page does not resize however, it stays fixed. Also when you reach a certian size the background stops adjusting and the browser give you scroll bars.
View 1 Replies
Dec 25, 2008
I am making a XML photogallery with a background that resizes according to an image. It resizes so that it is is in the middle of the stage. The image is supposed to fade in the center as well, but I am having problems getting it to do so...
The gallery is loosely based on the XML gallery tutorial, but is modified to suit my own needs.[URL]..(for some reason it will not accept connections from kirupa.com - copy and paste the link into your browser )
[Code]...
View 1 Replies
Feb 27, 2011
Changing the width and height of the parent MovieClip does not bring change in the width and height of the inner MovieClip. The parent MovieClip is placed at Stage and is resized manually. When I assign the dimension of the parent MovieClip to the inner MovieClip through code, the parent MovieClip dimension is changed. I want both MovieClip to be of same width and height at runtime. However, parent MovieClip dimension is changed at design time by me.
Example:There are two MovieClip, one inside another. Now parent MovieClip is placed at Stage at design time and its dimension is (50,50) and the child MovieClip which is inside the parent MovieClip has also same dimensions (50,50). Now, I manually change the parent MovieClip dimension by pressing Q and stretching it with mouse, the dimension of the parent MovieClip is now (100,150) or whatever I like. Now double-click on parent MovieClip and check that inner MovieClip dimension remains same i.e. (50,50)Now in AS3 code, I change the width and height of inner MovieClip like this:
saveheight = parentmc.height;
savewidth = parentmc.width;
now I change the child MovieClip according to the dimensions of the parent MovieClip like this:
parentmc.inner_mc.width = parentmc.width;
parentmc.inner_mc.height = parentmc.height;
but this brings change in parentmc also so I reassign value to parentmc like this:
parentmc.height = saveheight;
parentmc.width = savewidth;
In above case, parentmc and inne_rmc dimension should be same i.e (100 ,150). With swapping the values as above, I get parentmc and inner_mc to be of same dimension, but object size is never (100, 150), I have checked it with pixel-perfect air app.
View 3 Replies
Jan 16, 2010
I've got a movie with a "next" button. The movie is approximately 1330 px wide. The "next" button needs to move left and right within that width as the browser window is resized. For instance, the browser window starts at greater than 1330px wide so the "next" button is at the far right edge of the movie. The user then resizes the browser down to 800px wide. The "next" button needs to move left to 800px. The entire movie can't resize, only the "next" button in that movie must move.
Here's a link the movie as it currently is. The "next" button shows up after the 2nd click in the sequence. It's the brown arrow on the right. http:[url].....
View 5 Replies
Feb 18, 2011
I am working on a site and I'm using template for the gallery. It's being loaded with a loader component and an external swf file...
Everything is fine on the flash movie until I actually get to the gallery section and the template resizes the entire page!
View 2 Replies
Feb 26, 2005
[URL] I like the menu, resizes when browser window resize. Where can I find an tutorial?
View 2 Replies
May 13, 2009
i have a background that resizes with the window (without stretching) and my image has a nice resolution. But when i resize it, it seems low in quality.
View 3 Replies