ActionScript 3.0 :: Flash External Swf "disappears" On Window Re-size?
Jun 21, 2011
I have a main swf file. In this file, you can click on a link, which stops a background swf from playing and also loads an external swf into a blank movie clip. All works well except for two problems:
1. The external swf is not loading where it should be, but off kilter. I think this is registration issue, haven't figured out the particulars.
2. More importantly... upon resizing the external swf "disappears" into the ether. I understand it might not really be gone, just somewhere I can't see it. Very twilight zone.
Code:
import com.greensock.TweenLite;
import fl.motion.easing.*;
import flash.events.MouseEvent;
[Code]....
View 2 Replies
Similar Posts:
May 3, 2009
When I open Flash CS3 to create something,if the Flash window is not maximized, it disappears off the right side of the screen(s).If I maximize the window using the task bar, it's fine,but it covers up the other resources I need to use. I'm using Vista Business and Flash CS3 with two screens, the extended one on the right.
Right-click the Flash button on the taskbar and select Move.What happened: When I use the arrow keys, nothing appears to happen.When I move the mouse, the arrow pointer comes in from the extreme right side of the screen.When I hold the mouse button down and drag, a four-headed arrow appears at the extreme right, but the Flash window does not appear .Reboot. What happened: Flash is still off the screen unless maximized.
What happened: I found a registry hack that I tried (next item) but it didn't work.Use Regedit to modify settings (after exiting Flash): HKEY_CURRENT_USER > Software > Adobe > Flash 9 > Settings > WindowThe current value is 12639 960 13919 1872.I assume these are X and Y for upper right position and pixel length and width, but I don't know in what order.I tried a couple of values, including 0 0 0 0 and 100 100 100 100.I tried rebooting, verifying that the Window values were the same as those I had set, and ran Flash. What happened: Flash is still off the screen unless maximized. Registry values return to being huge numbers.Repair or uninstall+reinstall Flash Using Control Panel > Programs > Uninstall a program. What happened:Although several Adobe products are listed, Flash CS3 is not listed, nor are any of the other CS3 suite.Using Start > All Programs > Adobe > Uninstall. The Adobe group doesn't have an Unistall or Install program, not can I find one in C:Program FilesAdobe*What I'm using:
Dell Precision M90 with 4 Gb RAMNvidia Quadro FX 1500M, ForceWare version 156.69 with 256 Mb VRAM + 1406 Mb shared RAM available at the momentVista Business with auto-updatesAt home I use an auxiliary 1280x1024 monitor; at work I use an auximiary 1680x1050 monitor; the problem occurred when I moved from home to work.
View 17 Replies
Sep 7, 2011
We are writing app for facebook. It's a game written in flash and embeded with wmode window.We get problem with Firefox 6, but only on Windows XP. When user invoke some facebook dialog (for example: pay dialog or buying more credits dialog) flash disappears. This same happens when user click on notifications (globe icon in top facebook menu) and hold it for a while (however this is not so important).After flash disappears it it still in DOM as <object>.
View 1 Replies
Jun 8, 2010
I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.I have found this solution [URL].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip.
[Code]...
View 9 Replies
Jun 8, 2010
I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.
I have found this solution [url].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip...
I need it to stay exactly at the same position whatever the size of the movie-clip. [code]...
View 0 Replies
Jan 28, 2010
I have this ActionScript: function openNewCart(evt:Event):void { navigateToURL(new URLRequest("http://www.3dcart.com"),"_blank");} OpenCartPage.addEventListener("click",openNewCart);
Is there a way that I can have it open a 5 pixel window that automatically closes after it loads? Also, is there a way to specify within the actionscript where on the screen I want the new window to open?
I'm newer to flash. What I'd like to do is have it add a product to the shopping cart and close back down.If I can't do it straight from flash, I'm sure I can have the flash page open up an html page which redirects to the add to cart page and automatically closes, but obviously a much bigger pain in the butt, and it will only work anyway if I can specify in the actionscript for it to open a 5 x 5 pixel window.
View 1 Replies
Mar 29, 2012
I'm using Flash CS5 and Actionscript 2. I'm created a multi page training document with some pages containing videos. I have a set of XML program generated videos that work great until I use removeMovieClip(); when exiting the page. I use this to kill the video before I get the the next page.When I come back to the page the code I have regenerates the list. But when I play the videos I only get sound and no video. Sometimes the video black window appears and then immediately disappears or nothing appears but the sound starts playing.
Here are the relevant pieces of code:
import mx.video.*;
//Creating the mc which will contain the FLVPlaybac
[code].....
View 7 Replies
Aug 7, 2008
Im looking to make the flash file dynamic so that when someone changes the window size the flash file expands with it and some of the items contained move also.
View 3 Replies
Apr 9, 2007
When page is loaded I can scroll it with mouse, But when I load first external movie clip the mouse scrolling function disappears. Is there anything I can do? I have search in flash mx 2004, and tryed to use // Mouse.onMouseWheel but nothing
View 14 Replies
Jul 20, 2009
what i am trying to achieve is have a rollover on a button that pops up a 'window' with some text on it (i have this bit worked out) then once the user has finished reading the text they rollout from the 'window' and the image behind is restored. i have attached the .fla so you can see what i mean.
what is going wrong is that the active part of the rollover on the button is only very small and as the 'window' expands and then reveals the text, the active part of the button remains small. so when the user moves his or her mouse the 'window' disappears. i'd like it to stay open until they rollout from the entire text window.
View 3 Replies
Mar 30, 2009
i've made a flash movie in res 600 * 300, now i want to keep this res don't want the user to be able to expand the browser window or change the res or anything how do i do this?
View 9 Replies
May 16, 2011
Can I get the obtain the size of the browser window in AS3?The best method I've found is to get the size with Javascript and send it to Flash as a FlashVar. One limitation of this method is that it doesn't give the current size if the window is resized.Is there a pure Flash way to do this?
View 2 Replies
Sep 13, 2006
I am working on an infinitely scrolling image field that reacts to the user's mouse similar to the one in this tutorial:[URL].. The only difference is that my content is much wider than the flash window whereas the one in this tutorial is exactly the size of the Flash window.
[Code]...
View 2 Replies
Aug 27, 2011
how do you make a window go full screen in flash?
View 11 Replies
Sep 26, 2011
I need to know the available screen space in my current AIR app, but when I use stage.nativeWindow.width and stage.nativeWindow.height, I get the size of the window including the title bar. I'd like to know the "inner size", so excluding the title bar. How do I do this?
View 1 Replies
Jan 19, 2009
I am having trouble finding a post which can tell me how to limit the size of a popup window. I have a swf with buttons in it which I need to open the popups in windows sized width=706,height=500.[code]...
View 3 Replies
Jun 28, 2009
is possible to dynamically change the dimensions of my flash stage depending on the size of the browser window ?
Very important, I don't want to stretch any element. Just make the background bigger.
View 6 Replies
Jun 28, 2009
is possible to dynamically change the dimensions of my flash stage depending on the size of the browser window ?
Very important, I don't want to stretch any element. Just make the background bigger.
View 10 Replies
Feb 9, 2004
i have a list of pics, inside the swf file, what i want is when i press the button of any pic, to open new window "JavaScript" i think, but i want the window size the same size of the pic when viewed.
View 2 Replies
Apr 17, 2011
I want to make the stage and contents to resize in ratio to the window size, Like the file I have provided, When you make the window bigger or smaller the contents change with it. How did they do that? [URL]
View 1 Replies
Nov 16, 2009
I'm wondering how to configure the size of the flash player window directly in actionscript code. I've searched on google but i can't find a solution.
View 1 Replies
May 13, 2009
I have seen many websites having full browser window, I have tried doing that with a plain color, it worked with horizontal but didn't worked on the vertical manner. What size should I keep for the flash document so that it is fitted in the browser sizes.
View 1 Replies
Aug 3, 2011
How can I create a fixed size popup window from Flash? When click on the image, it pops up a small window without those browser tool bars.
View 1 Replies
Feb 24, 2010
I have a Flash file embedded into HTML - the objects inside are place based on the browser's screen size.Most of the time I don't want a scroll bar, as things are correctly placed, but once the browser window gets too small it'd be nice to have it.So, the main question: can I have a Javascript code listening for the browser window, then adding a scroll bar if it's smaller than a certain number?
View 1 Replies
Aug 31, 2010
In my game people shoot at 4 different moving images and get points. Simple right? Well one of the images is a question mark that people can shoot and when they do, I need flash to pause the game timer, pop up a new window, display the multiple choice question in the window and wait for the user to answer. I would also like to be able to customize the size and location of the pop up window!
Then if the question is answered correctly close window award 10 points and continue the game. If the question is answered incorrectly, say wrong and then display the end game results screen. Right now I have it to where it opens a pop up in a web browser and askes the question there. The question is randomly chosen from a file called random.html. But I do not want the game to operate that way. I want the game to open the pop up within flash.
View 8 Replies
Jun 18, 2009
I can only do so much with flash. I am having issues with linking to a video. Here is my question: please refer to [URL] and click on the video link. I have 3 videos that I want people to view when they click on the links:
- SI TU T'EN VAS (2001)
- GWADA (2004)
- JODIA (2008)
I need the links to be able to open a popup window in flash with 320X240 in size.
1- I imported each video in flash (separatly) using the 30rates/frames, progressive dowload from webserver. (the usual).
2- I allready uploaded the videos (.swf and .flv) on the server (godaddy.com)
3- In my main file, I created a button for each one of the links above using the invisible button with their own instances. they are each on a different layer.
View 2 Replies
Jan 24, 2010
I want to put a movieclip with tools at the bottom of the window in the center with tools icons, it should have fixed posiiton so that user can scroll the main window having it always on prompt. I think I need the browser window size properties to do somenthing as this. Is there a way to get them?
View 0 Replies
Dec 20, 2005
I'm using an external text file and css along with a scrollbar. Everything works fine till I start using the styles in my text document and then the text dissapears. And my text is supposed to be white, the background of the file is blue.
Here is the code for my scroll bar
Code:
stop();
bar.useHandCursor = dragger.useHandCursor=false;
space = 20;
[Code]......
View 2 Replies
Jul 5, 2010
I am loading external swf's inside content_2 and when i resize my browser the external content OR content_2 disappears. Can someone help me as to what I need to do to stop this. I've tried adding an onresize function but that does not work. Here my as3 code:
[Code]...
View 2 Replies
Nov 23, 2009
I'm trying to get my main class to resize to the browser window size. I'm listening on the stage to Event.RESIZE, updating my width/height to match the stageWidth/stageHeight, and drawing a rectangle to show me how big it is. When I resize, it flashes between a small and big size every other time the event fires. The width and height are correct in both cases, but in the "small" case, everything is in a small box.
[Code]...
View 2 Replies