ActionScript 2.0 :: Couldnt Get LoadMovie To Swap Instead It Opens Up In A New Window
May 9, 2004
i have game im doing, and i want it to jump to level 2 upon completing the first level, but the problem is, the level 2 is a seperate swf, i've tried to use
[Code]...
View 3 Replies
Similar Posts:
Jun 12, 2009
i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
Grtz,Jan the man
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)
View 5 Replies
Mar 27, 2006
following situation: a button with AS :
[Code]...
this popup opens in the SAME window and not ina new window. What can I do to let it open in a new window and given the same properties to this new window as above: toolbar=No,location=No,scrollbars=No,status=No etc.... a geturl opens it in a new window but does not give toolbar=No,location=No,scrollbars=No,status=No etc.... properties to the window
View 2 Replies
May 21, 2009
I currently have a website that has a photo gallery. The home page has a link to the actual photo gallery. I'm using the (getURL) to open the photo gallery in a new window, however the new window opens up to the same size as the home page. I would like to shrink down the window size of the photo gallery so the user can still see some of the home page behind the new window.
I know javascript can take care of this problem, but I was wondering if there is a way to do it with Flash? I just need to specify the size of the new window when it opens.
View 9 Replies
Aug 23, 2010
Using CS3
AS 2.0
I have a button that when pressed it opens a url in a new window. Works on Safari great, but not in Explorer.
Code...
on (release) {
getURL("http://www.name of website", "_blank");
}
View 3 Replies
Sep 29, 2005
i've got a form, which i then would like to send using asp (CDO).anyway, it works a dream when i use the following:
GetUrl("processForm.asp",0,"post");
however when u use:
loadVariables("processForm.asp",0,"post");
It does nothing.the problem with GetURL is that it opens the scrpt in another window, which isnt ideal.the code in processForm.asp is:
<%@language = "VBScript" %>
<%
strName = Request.Form("FirstName")[code].....
View 2 Replies
Sep 6, 2009
I've used Greensocks Tween lite to build a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. How can I make is so when you first open up the window the movieclip is told to resize to the current window size? Here is my code below.
import gs.*;
import fl.transitions.*;
import fl.transitions.Tween;
[Code]....
View 2 Replies
Nov 6, 2009
The swf buttons on my website open double browser windows in Safari - it's fine in IE and FF, just have this problem in Safari.So, why Safari opens the same window twice?
View 0 Replies
Aug 4, 2007
Here is a link to an example of which i am referring.If you rollover anyone of the pictures a pop up image appears..
View 2 Replies
Aug 4, 2003
i am trying to make a flash site, and anyway i got some problems i want to make a button that when pressed opens a window (set size of 500 400) what actions should the button have?
View 4 Replies
Jul 25, 2009
I have a .swf I'm inserting at the top of a page in DW. I have a button named "aboutUs_btn" which when pressed needs to load "aboutUs.html. That part works fine, but it always loads the page into a new window. How do I make it load into the same window? I could do this in AS2 with getURL and using _self. Here is what I have:
var aboutUsLink:URLRequest = new URLRequest("aboutUs.html");
aboutUs_btn.addEventListener(MouseEvent.CLICK,aboutUsClick);
function aboutUsClick(event:MouseEvent):void{navigateToURL(aboutUsLink);}
[code].......
View 5 Replies
Nov 17, 2009
CS3 Actionscript 2.0: I'm trying to get a nested movie clip to open the default mail app. on release. I used the on (release){ getURL("mailto:. which opens the mail window fine, but it also opens a blank browser window (Mac OS). Can someone tell me how to stop this from occurring?
I see this question crops up a lot but after many searches I haven't been able to find the solution anywhere. Forgive me, but I'm new to Flash/Actionscript. My script:
[Code]...
View 5 Replies
Aug 7, 2006
I have been using this function for a long time and this problem never occured. When the user press send button it does send the form as email but it also opens my aspx file in a seperate window.[code]...
View 3 Replies
Mar 23, 2010
I have the following code which upon the pressing of the letter "s" opens up a new url in a uiloader window. If you press "s" repeatly it continues to open the window over and over without it finish fully playing, is there a way to add a timer to the "s" so it can only work once every few seconds or possibly a way to make the url completly open before you can press the "s" again??
[Code]....
View 2 Replies
Mar 7, 2012
I have multiple movie clip with bg sound.I have used the code AS3 for toggling the animation ( Play & Pause ).Automatically the animation starts and button also togggled on click but couldnt control the animation .I need some solutions like when the intial stage the animation wont start etither the button click to play.After that the flow as it is in action ( ON Click ).
btns.visible = false;
btns.addEventListener(MouseEvent.CLICK,onEl);
dfr.addEventListener(MouseEvent.MOUSE_OVER,onEls);[code].......
View 6 Replies
Oct 11, 2007
I'm wondering if its possible to have a box open up once clicked.I want to do a enter page with a gift box sitting there, and then once clicked open itself up and page content comes out.Can anyone point me in the right direction? I can show an example of the box I want to use.
View 14 Replies
Jul 20, 2009
I want to use a flash file I made as a menu for a website, but when I click a link it opens a new tab rather then navigating to a new page in the same tab. I'm using this [code]...
View 1 Replies
Mar 16, 2011
My swf has a black coloured stage.
But when I open the html page in which the swf is embedded, as a full-screen pop-up window, using javascript, the stage colour of the swf is always grey - not the black I set. This happens with whatever colour I set as the stage colour.
View 1 Replies
Jan 26, 2010
I am building a website and have this URL request within a .swf which is embedded within an html page.var link:URLRequest = new URLRequest ('Profile.html'); As you can see here, it is linking to another page within my website, but this opens in a separate tab in all browsers. Is there a line of code to add which will make sure is opens in the same tab?
View 3 Replies
Feb 9, 2009
Several windows open when I click a button or I get sent to a non existent [URL]; page. I've made a flash that is supposed to have links in it. But when I click a link I get 3 window boxes that open up. HERE IS A VERSION WHERE 3 LINKS OPEN The download file I've taken out all links except for TRY THIS ? Why it launches so many windows?It seems that its trying to open every page.I've taken out all my links except for the TRY BUTTON.
View 2 Replies
Apr 30, 2009
[url]...
Currently, it opens to the first image in the set. I think it would be better if it opened to the first page of the thumbnail browser instead, to let people that are clicking on it know that there are more images in the set than just the one. Otherwise, they would have to know to click on the little "additional guides" icon in the lower right corner.
View 1 Replies
May 11, 2009
I build a .fla project, and publish a .swf.
If I double click the .swf to play, it opens two .swfs, the one I'm double clicking and one from a previous project.
If I drag the .swf directly to the stand alone Flash Player then no problem, just the one movie.
I could deal with this except now I've sent a client a .swf, and when he double clicks it opens the .swf he clicked on, and one from a previous project I sent that is on his hard drive.
View 3 Replies
Dec 14, 2010
I am having a strange issue. I have many flash projects on this computer. On my current project, when I do a test movie from flash, it plays the swf no problem. When I open the published html file, again, no problem. However, when I double click on the swf from the finder to play it in flash player, flash player opens it, but it also opens some random projector (.app file) that has been previously published from another project. I would have tried trashing flash player prefs, but I can't find them.
OSX 10.6.5
Flash CS4 10.0.2
View 1 Replies
May 17, 2011
i have an index page (html) that contains an swf and a hyperlink. the hyperlink is set to skip the intro swf and open the main html page. there is no problem there. what i have been trying to find is an event listener that waits till the swf is finished and then goes to the main.html. i found an example that does what i want, but instead of opening a url it uses trace and shows me a message.
import fl.video.VideoEvent;
function showMessage(e:Event):void {
trace("Finished");
[Code].....
View 5 Replies
Jul 17, 2009
I have a movie and after the intro the enter button takes me to the next frame (11) and stops. there i have a drop down menu with button instances on each of the drop downs. The drop down is in a movie clip so i am using on (release) {_root.gotoAndPlay("s1"); } on the button instances to take me to root level to say frame 12 and stops. Each button instance has a different frame label to go to, s1, s2 etc - the idea being that back at root level i can have the content of each of the buttons on each of the frame labels (s1 at frame 12 , s2 at frame 13 etc) .... this works fine except the drop down menu in each of these new frames retains the action script on the drop down button instances - this is fine for all the buttons that will take me to another content page at root level - what i dont want is the AS to remain on the button for the page i am currently on - cos if you click on it it takes you back through the intro etc to get to its frame label again .
View 3 Replies
Jan 29, 2010
I have both CS3 and CS4, I now work only in CS4 with some exceptions. If I open CS4 start a new project then save after working in it the file saves with the cs3 icon. When I doubleclick the file to open it defaults back to opening in CS3.Only way to have files default and open in CS4 is to choose the icon of the CS3 (which is really a CS4 file) and choose open with other, choose the CS4 app and click on it so it opens in CS4 and then only does the icon changes to a cs4 icon.
View 6 Replies
Jun 5, 2010
i have this flash object which i'd like to make linkeable i don't know how to bundle a URL into the SWF to do this.. 'd like to be able click the object and be taken to another webpage, without the other page page opening as a new window or triggering pop-up blockers on peoples browse
View 10 Replies
Apr 4, 2011
I was asked to edit a completed website. I was given the .swf file. I decompiled it using SoThink and converted it to a flash file. When I opened it in Adobe Flash CS4, only the intro portion is viewable in the timeline.
When I test the movie the entire website plays out with no problems. But the timeline only shows the intro/home page. I need to edit other content in the scene.
View 5 Replies
Apr 7, 2011
Is there a way to set the flex debugger (fdb) to automatically open the debuggable swf in firefox instead of Opera?
The app I am starting from works in firefox but not Opera and it does not have to support Opera anyway.
View 1 Replies
Sep 24, 2009
I load the swf (picture gallery) into an empty MC via AS2, but I only get the image without its functionality.
View 3 Replies