ActionScript 2.0 :: Reload Opener Window To New URL?
Feb 7, 2008
I have a pop-up window containing the Flash. After clicking a button, the pop-up will CLOSE (<---i know how to do this) and needs to reload the MAIN (opener) window to a different URL.Has anyone done this
View 1 Replies
Similar Posts:
Dec 29, 2009
Ok so my main window is going to open up a popup window, the popup window is going to contain a Flex app. The flex app is going to need to navigatToURL() but also send POST data along with it. However instead of the popup-window navigating, I would like to main-window to navigate to the url and recieve the post vars.
View 1 Replies
Feb 24, 2011
I have a webpage (popup) with flash content. When a user clicks a button inside the flash content, it opens up another browser popup window. Next, I need to close the window with flash content from the newly opened popup window through javascript.
The problem is that the window.Opener is null as the popup is invoked inside from flash content. Moreover we dont have access to flash (.FLA) file.
View 1 Replies
Aug 12, 2011
How to access main window's variable from popup window.
I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...
View 2 Replies
Mar 4, 2006
I have an asp page that will open a new asp page in a new window that contains a swf file with a button.hen the user clicks the button i want to close that window and reload the parent window.
View 9 Replies
Nov 4, 2009
I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.
View 1 Replies
Nov 17, 2009
I have a form, when the user clicks reset, I want the flash file to reload so everything is back to it's intial settings.I should point out, its not on a server, it's just a local file, so I don't think I can use the .load function.
View 10 Replies
Feb 12, 2010
I have a simple flash website it is in AS3. Inside the website is a portfolio with a link to "print," "web," and "motion." When they click on motion, I have another swf that runs -- so far so good -- however, if they click off the "motion" page to look at any other page and then decide to go back to the "motion" page the swf no longer runs. The code I'm currently using is below. The swf that runs from the "motion" page is a component that I bought that is in AS2. Prior to buying it I asked the developer if it would work in AS3 and was told yes. I have posted these questions to the developer and have received no answer.
[Code].....
View 2 Replies
Apr 12, 2009
i'm working on a project that uses php and xml to link my database information with flash. I've successfully allowed flash to read the xml contents. I need to randomise the data i retrieved from the database, so my xml content will change everytime i refresh the browser. However, i realised that the flash content didn't change like the xml content. The script to read the xml is written on the 1st frame of my 1st scene. Is there a way to read the xml again everytime i refresh the browser or re-enter the scene?
View 2 Replies
Aug 17, 2009
I am trying to load a different image on my banner on reload.....
View 5 Replies
Mar 10, 2010
I've searched the internet for hours looking for a solution. Seems like a few people have posted the same problems I am having but no solutions.
I have a flash project that contains a preloader. The project can be seen in this header[url]...
The flash animation plays fine when first loaded. However, when IE is RELOADED or REFRESHED, the animation gets stuck on the first frame I believe. The bizarre thing is that is works perfectly in FireFox after reloads.
I have tried multiple different embedding solutions and nothing fixes it. I suspect it could be the action script on the preloader. It is a one-frame preloader, and then the animation begins.[code]...
View 5 Replies
May 17, 2010
Currently I am using this code to play a selection of .swf files using the keyboard.[code]Now I would like to detect the end of, say, 1.swf to load into a different swf, does anyone know how best to acheive this? I have tried a few tutorials with no success!
View 1 Replies
Jul 30, 2010
After searching the internet I found myself back here for the right answer. I've updated an swf for a client andin IE it won't reload without clearing the cache files. I know this is a common problem, but I couldn't quit figure out the best way to go about fixing it. I'd like to just add some actionscript to the swf if possible.
View 1 Replies
Jan 10, 2011
I have a problem with action script.How can I reload/update xml file per 5 minutes in actionscript?isn't there someway i can do to complete the script?[code]...
View 2 Replies
Jan 24, 2012
I have an html form within a flash site. The form is php processed. fix the php file so that after processing the form, the php returns the user to the flash page and reloads the html form. I tried a window.location in the php to send to the page but that did not work. It results in a white rectangle within the html code area (maybe frame but I'm not sure). How can I get just that html form reloaded? I do not want to load the entire page using a URL because that is too slow and I cannot replicate the flash state. BTW, below is a stripped down version of the code to simplify.
[Code].....
View 2 Replies
Jul 10, 2008
Tell me how to reload the movie itself, same like we embed a swf file on a web page, click browser's reload button so the flash movie reset to its original state?
But I want to do this from within the movie, when user click "reset" button, all the previous created instances will be released from memory. I can delete each object manually, but lots of work involved, also not sure if the resources are really free.
View 8 Replies
Oct 27, 2009
I'm trying to show a loop of SWF/JPG files in an existing SWF file. A timer decides when to load the new file and the external files are showing and scaling correctly during the first loop, but when the loop has run once I get really odd values on the external files with the Loader.height and Loader.width properties. The files have the following height values during the first loop: 278, 286, 278 and 787. During the second loop they all of a sudden have the following values, and of course don't scale correctly: 101.05, 786.8, 101.05, 2165.15.[code]...
View 0 Replies
Apr 19, 2011
I am making my own video player and am adding an SD/HD feature which will basically be moving to a replica page with the relevant definition video on it. I was wondering if it is possible to have it so when this is done, and the new frame loads the FlV will load at the same position as the previous one when the button was pressed?
So like a
ActionScript Code:
currentFrame
but for an Flv?
View 4 Replies
Jan 21, 2010
I'm a AS3 beginner and are trying to make a nowplaying script for a local station where I do some work as volunteer.
The xml script that is created looks like [code]...
What I wanted to create is that flash takes information from the xml, the artist for example and compares this every 15 second with value it already has. If it's equal then do nothing else unload xml and movieclip and reload the new one.
View 10 Replies
Feb 13, 2008
I don't get this, my menu shows the menuItems after i reload the page, not the first time.
on frame 1 i have
Code:
xmlSettings = new XML();
xmlSettings.ignoreWhite = true;
xmlSettings.onLoad = loadXML;
[Code]....
How can i make sure the menuItems are show on first load?
View 1 Replies
Mar 19, 2009
I am doing a tutorial from [URL] and I have a question. How can I have this swf reload the image every five seconds? the file name stays the same, but the image changes every 5 seconds and I would like the swf to show the updated images.
View 4 Replies
Jun 24, 2009
I'm pretty new to flash and was hoping someone could offer some guidance with shared objects.hen the user refreshes the page by either refreshing or moving to another page the movie replays which is not the desired action.
View 2 Replies
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
Aug 11, 2009
I am having some issues with my loader. What I have is one loader object that will load 5 different SWF loading xml galleries.It works fine the first time it loads, until I unload it to reload another gallery... then it will display its loading but nothing shows?
Code:
var gallery:String=new String ;
gallery="web";
var portIDReq:URLRequest=new URLRequest("viewer"+this.gallery+".swf");
var portIDLoader:Loader = new Loader();
portIDLoader.x=0;
portIDLoader.y=0;
[Code] .....
View 1 Replies
Feb 23, 2010
i have made a flash header for my website with some images that slide, now when i go to some link on my webpage the flash begin play from start.
it is posible thet flash continue playing from the position before i clicked on link?
View 1 Replies
Oct 4, 2010
In my flash file, I embedded a .swf (page flip) that loads when "Clothes" button is clicked in the flash file. When I navigate away from this page, it unloads. However, when i click on "Clothes" again with the .swf, the page flip won't load.Reference: http:[url]....
View 2 Replies
Nov 24, 2010
I've been reading a lot of threads lately because I'm working on a school project. But can't really find a solution to my current "problem"I'll try to explain this as clear as possible, as it is kinda complicated and English isn't my main language.I'm making a game for a school assignment, and I have 2 MovieClips. 1 = walkCycle and 2 = jumpCycle.I gave both of these MovieClips classes so I could use the addChild function.Everything works fine, the walk animation works, the jump animation works, but here comes my problem.I have an ENTER_FRAME check on the jumpCycle to discover whether it's finished playing or not because if it is (thats what the check is for) the jumpCycle needs to be removed again and the walkCycle added again.
And the problem is, the jumpCycle only works once...After this if I press the shift key again (the jump key), the walkCycle just disappears the amount of time the jumpCycle should play and then the walkCycle comes back again, but there's no jumpCycle animation.y guess is, because I checked if it's finished or not, it needs to be reloaded to be able to use it again or something?
View 2 Replies
Jun 5, 2011
I've really struggling to understand where to go next I have a file called data.as which contains a URL with a unquire id on for example index.php?id=6957 however depending on which computer the exe projector will be running on the id will be changed in the data file alone.
However when i generate the exe projector it caches the url and wont recheck for any changes in the url.
This is the AS i currnelty have, What i would like it to do is reload the the include data.as everytime it goes to this frame with the below on.
[Code]...
View 1 Replies
Mar 20, 2009
I have a slide show swf file in AS3 that gets the paths froman XMlL file. The problem is that I change the XML file every dayand unless a viewer empties their cache, they get the old slides.There is a technique where you add ?mathRandom() code at theend of the XML path inside the .swf file, but from all I have readand believe, this only adds to ones cache and could irresponsiblyfill a viewers cache.Does anyone know a way to use actionscript 3 inside the .swffile to force a reload of the XML file if the browser has beenopened for the first time?
View 1 Replies
Jun 12, 2009
I have a flash file which I have created, and when viewing the flash in a web page, it works fine in chrome/firefox, but in IE, the flash will only load correctly once. If you hit refresh, or navigate to another page and then go back to the page with the flash on it, the flash will freeze up at 0% of the load bar. This happens 100% everytime, but only in IE. Zero problems in other browsers.
View 15 Replies