ActionScript 1/2 :: SWF Freezes In Firefox After Hitting Back Button?
Feb 26, 2012
I'm sure I'll receive some sort of hate for posting this in the wrong area, but I'm really desperate for help and don't feel like searching further for the "correct forum." Anyway, I created a swf for the "education" page for a liquor store, it navigates through wine, beer, and liquor. All the links work well, however after you go to (for example) the liquor page, when you hit the "back button" on the browser, going back to the page with my swf file, the movie freezes after the first animation. I don't understand it, it only happens with firefox, which to my knowledge is one of the more progressive browsers, so what gives?! It even works perfectly on IE and my android phone, so I'm at a complete loss, as I'm more a designer than programmer. Please take a look and offer any obvious advice. I would be willing to make the video in AS3 if that is the only option, I just have no clue how to implement AS3... so confusing. The link to the swf in use is: http://www.whitehorsewine.com/education.php Each book having a button that triggers a movieclip with AS2. The movieclips all have stop(); at the end of them. The rest of the coding is in the timeline on a seperate layer:
I have a problem with my swf freezing after navigating to it using the back button in Firefox 7.0.1 (mac) My swf has a set of buttons that link other non flash pages in the site.f you use the back button to navigate back to the page containing the SWF, the swf freezes. As far as I can tell it works on all other browsers and works on firefox on the PC. you can see it in action here
We are running FMS 4.0 to stream on-demand MBR videos using the OSMF player. We have noticed that occasionally during playback the video freezes, while the audio skips back a few seconds and starts playing. Once the audio catches up, the video unfreezes and resumes normal playback.
I have a NavigatorContent which is displayed when the user selects an item in a DataGrid. This NavigatorContent contains a form and an accordion displaying the related objects.
When the user presses the Save button in the NavigatorContent the form and the children should be saved to the database by calling the server through BlazeDS:
saveObjectToDB() { //Map the form values to the object object.field1 = object_field1.text;
[Code]....
The object that i pass to the accordion children is public and [Bindable] in the NavigatorContent and in the accordion children and is initially passed from the main DataGrid. May this be a problem relating to this issue?
I'm using mx2004.I have 2 variables, craft and avilablepoints, now when you hit the crafting button, it subtracts 1 point from avilablepoints, and adds 1 to the craft variable. I got that coded without an issue. I'm having trouble setting up the button to stop adding when availablepoints hits zero. Here is the code I have so far...
What I would like to have happen is when I click on a button, a movie clip rolls out. When I click on that same button a second time, I want the movie clip to roll back in. Right now it works for me to click on the button once and my movie clip roll out, but when I click on it again, it just rolls out again. Here is what Im working with so far:
import fl.transitions.Tween; import fl.transitions.easing.*; var inTween:Tween;
i have managed to create a pswd protected flash animation which is working good when the pswd is given and by clicking the submit btn. What I want is, instead of clicking the btn, i want it work when i hit the enter key.
Right now I have a drag and drop exercise that will output a value based on the drop positions of 2 points. What I would like is to be able to add a button that basically has a whole new set of outputs based on the same drop positions. Here is an example. If I place an object on drop target 1 and 3. The output says something like "good job". Now if I click a button and place and object on 1 and 3 the output would say "try again". I hope this makes sense. I would also like the ability to add more than one button.
I have a simple drag and drop project. I have 2 drag able objects and 4 drop targets for those objects. I also have output text that gives a message depending on what target the objects are drug to (1 and 1, 1 and 2, 1 and 3, 1 and 4, 2 and 1, 2 and 2, 2 and 3, 2 and 4 and so on). I would like to add a button to this project. I want the button to change the output text. So if you had an object on 1 and 2 then hit the button it would read "1b and 2b" and so on, or anything else I want it to say. If you hit the button again it would go back to the original text "1 and 2".
When publishing to iOS device the game plays well, when hitting homebutton it disappears as normal, but next time you open it - it starts to play at the state or level it was when quitting - as it only was paused. It should start up from default startupscreen.
ps we had an 103 error that we solved with this: [URL]
fspaiva just posted a thread with a scale script [URL] attached to a movie is attached this script :
[Code]...
when i try this script and watch the CPU monitor of the computer, after hitting one button this movie keeps eating cycles and a lot of it, meaning after the movie has adapted to it's new set scale, so tried if adding an "if" in the script could stop that :
[Code]...
but that doesn't work, the CPU keeps peaking, so my question is, should i worry about these things? if so what to edit to make that more efficient?
I install Flash 10 from the Adobe website for Firefox and everything appears to install just fine. In fact, Flash 10 works fine. Until........ I reboot. After reboot Firefox goes back to Flash 9.0.45.0 (9.0 r45). Which is evident by looking at the addons in Firefox.
I've tried completely uninstalling all versions of flash and even deleting registry entries for Flash 9 that I could find, and then re-installing. I've also tried a stand-alone installer. It always installs fine, but then always reverts back to 9 after reboot.
basically this code will work like a browser back button its very simple but "could end up very long" basically it will act "similiar to the browser back button"
Code:
on (release) { if(page1 = _currentframe){ _root.gotoAndStop("quiz"); } else if (page0 = _currentframe){
[code]....
it works when the (page1 = _currentframe){ is rotated with the first if statement...because for somereason it seems to not recognise the "else if's"
I have a simple flash form, which has some required fields, ie. name, addy, etc. What I want to do, is validate that the fields have been filled before they can hit the "next" button.
I created a button bar with 6 buttons that display separate content. When I click on one of my buttons, it brings up the content alright, but on release creates an entire duplicate set of buttons on top of my existing set of buttons. I can click on another button, and it will display content okay, but add yet another set of buttons on top of itself. after 2 buttons it basically freezes. why are my buttons in essence copying itself, and how can i correct.
I have a picture upload function in my flash and when I upload a picture I lose focus on the flash. This results in that all my listeners disappears. I cant click buttons, use dragbars etc. This only happens in FF. Im using flash player 10 and Snow Leopard. ive tried to get the focus back by sending a call to javascript:
I made a gallery, and i have 5 buttons. For each button a movieclip plays (a fade efect from 0 to 1 alpha). The movie is shown as long as the mouse button is held down, by having the scene return to the starting frame which has no movie clip. The problem is that if the mouse is within the movie clip when the button is released the movie freezes until i click another. More precisely it doesn't go to the first frame. How can i fix the problem?
I have a Flash website with 3 interfaces( 3 frames with movie clips inside). they have a button that goes to different loaded .html page(text). But once the back button is pushed on the web browser, it always goes back to the first frame instead of the actual last page, which might have been frame 2 or 3.
I'm using tweenlite to create a flicker affect on roll over, however when i rollover really fast the instance freezes half way through the transition and the button eventually goes to white. The code im using is as follows:
I have a webapp embedding some flash content in an iframe. The flash part is requesting access to the webcam. On firefox/mac os, user's can't click the allow button. This only happens when the page embedding the swf file is loaded in the iframe, it works fine when laded separately. Has anyone else faced a similar problem? Do you know any workarounds?
EDIT: For future reference: we were positioning some stuff via JS and we had positions using "half pixels" (e.g. 20.5px). Once we fixed that everything worked fine.
works perfect on my macbook pro (safari, firefox, and opera) but when I view the site on Vmare Fusion Windows XP and use IE and FireFox the pages don't load... I don't know what to make of this. Has anyone hear or seen anything like this happen before? BTW the website was created in Adobe Flash CS4/ AS 3.0 and published using Flash Player 10.
ovbutton.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_5); function fl_ClickToGoToWebPage_5(event:MouseEvent):void {[code].....
However, within firefox (7.0.1), once the back button is pressed the button does nothing. Works great with every other browser. It basically only works once, until I reload the page.
I have a very strange problem. I recently finished a website,[URL]However if you try to enter the first button (in firefox) it enters the new swf and then freezes... HOWEVER. When I try this in Internet Explorer it works just fine. Is it actionscript which acts different in browsers, do I have to type differently or add exceptions?Through the .js file I found out there is a opera and IE exception..
I'm creating an Entry Page slideshow here with Flash Cs3 and AS2: [URL] I'd like to be able to click on the whole slideshow (or the "Enter Site" text) to go to another page on the site, which I'm calling "[URL]." I've read various tutorials all day and tried many things, but couldn't seem to apply any "on release" action to the "Enter Site" text that would work. I even created an invisible button (putting a keyframe on just the HIT state and deleting it from the UP state), named the instance "invbutton3", and then typed in this action on the first frame and inserted a keyframe at the end of the show:
Am creating a two page document in flash cs4. Each of these 2 page documents have links to a learning resource on a web server.All I want is for the user to be able to navigate to and fro this two page document. Infact, I want to be able to click on a NEXT button to go the the nextpage and PREVIOUS PAGE button to go back to the previous page.
when the video reaches 1 minute, a button appears. is there a way to hide the button again if the user uses the seek bar to go back to the 30 second (or any time before 1 minute) point?