ActionScript 3.0 :: Fullscreen App Stop Refreshing
Nov 2, 2009
However, after an unpredictable amount of time it will stop refreshing - appearing as if it has frozen. But escaping the app out of fullscreen mode will cause it to instantly revive into action as if nothing had happened. Returning to fullscreen then will once again "freeze" after time, but its not technically freezing due to memory issues, it just won't continue to display unless escaped.
View 2 Replies
Similar Posts:
Oct 15, 2011
I need some assistance with coding out how to make a local shared object remember the users last frame, so that when they click the next flash link button for a different page, the movie doesn't default to the beginning.
I've tried this code, but it's all wrong - I don't even know if it's truly AS 3.0 or 2.0[code]...
View 0 Replies
Sep 27, 2010
We are using default CS5 skins with an flvplayback component built through action script 3. When playing certain videos (and only certain videos, however there isn't yet a pattern), the play/pause, stop & seek buttons are completely unresponsive. They don't change stats on hover & they are unclickable.However, the fullscreen button does always work, and upon going fullscreen and coming back out, the buttons now work again. So far, the problem was seemingly at its worst displaying a video that was encoded with Sorenson spark (an older codec) and we wondered if it had to do with the file itself, the headers, anything of that sort. But the fact that the skin and buttons work fine once entering and exiting fullscreen - that is perplexing.
View 1 Replies
Apr 13, 2009
I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;
Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:
Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....
View 9 Replies
Apr 19, 2009
I need a fullscreen scroll bar on my fullscreen flash site , i need it to function similar to this URL...
View 1 Replies
Jul 14, 2010
I have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??
View 3 Replies
Oct 19, 2006
What I've done is created a "fullscreen SWF" by using ActionScript to stretch a movie clip (yellow rectangle) in the background to fill the whole browser frame. The navigation is positioned in the upper left using ActionScript also; when the user resizes the window, positions are adjusted so the nav always stays in the upper left. (Adapting the technique from http:[url]....
External SWFs are loaded from an XML file into a blank movie clip on a layer that is between the yellow background and the navigation (adapting the kirupa XML Photo Gallery). Here's my problem: I want to be able to create full screen backgrounds for these external SWFs so when they are loaded into the main SWF they cover up all the of yellow background of the main clip. Also if the user resizes the window, I hope like the main SWF, the background on the external SWF can also resize to match.
If you press next twice to get to item three for example, I want to be able to stretch that orange box to fill the entire background. You'll notice if you resize the window on the third item, the orangle rectangle will adjust, it's just not correct.
View 2 Replies
Feb 24, 2011
I'm hoping someone can help me with an issue I'm having.
I currently have an AIR Application that runs fullscreen.
At some point in the application, I am trying to get a video to play fullscreen as well.
[Code]...
View 3 Replies
Sep 30, 2009
I have a flash file that has frame 1, 2, 3. And below that is a Continuous Layer that has an OK button. (If I go to frame 1/2/3 the button is still there)This button calls a javascript
PHP Code:
on (release) {
getURL("javascript:command('check',1)","_self");
[code].....
View 2 Replies
May 7, 2011
I've got some coding to create buttons into an array, and on press of these buttons the function should remove something from another array and remove the last one of the line, so far the coding is working for the first removal, however thereafter the other buttons stay there I think it's to do with the line in bold but I cant put my finger on what's wrong with it! The trace's I've set look plausible...
function removeList (event:MouseEvent):void{
myArray.splice(0,1);
list_text.text=myArray.join("");
[Code].....
View 2 Replies
Apr 21, 2010
I'm having a problem refreshing an xml file. I am bringing it in through an HTTP service component and putting it into a bindable array _cattArr, that I am using as the dataprovider for a grid.When someone adds an item to the datagrid, it saves to the same xml file. Then I close the window, reopen it and don't see the item that has been added.It is writing to the xml file, because when I restart the flex app, the item has been added, it's just not refreshing it. I have tried to resend the httpservice, but still no luck. What is the correct process for doing this?
View 3 Replies
Mar 23, 2011
I have a problem..I am binding an array collection to a datagrid in flex. My problem is whenever i try to remove an item from the array collection.. the datagrid does not refresh the values....This is the code that I am using
[Code]....
eventsList is the datagrid that is bounded to showArray(an Array Collection)
View 1 Replies
Jul 14, 2011
Is there a way to refresh a component or an application back to its initial state? I have an accordion navigator that stays on the most recently selected index even if I log out. Right now, my log out function takes me back to the login page which is at state(1). If I log back in and go into the accordion, it is on the last tab I had viewed.I would like to be able to clear any data from the controls inside the nav and reset the nav back to its default. I thought something like,
public function logout():void{
currentState = "NotLoggedIn"
myAccordion.initialize(); }
would work but nothing happens. This is done in Flex 4.I know I can make a huge loop clearing each control individually and setting the selectedIndex of the accordion to 0.
View 1 Replies
Sep 14, 2009
I am hardly getting experienced on Actionscript3 but I sometimes get stuck.I want to use complex if function. what I am trying to say is;if, gezegenler.rotation not equal to 0 or 120 or 60 info text = ajdusting.
ActionScript Code:
else if (geegenler.rotation !==0||120||60){
bilgi.text = "adjusting....";}
is this usage possible or not Also, use stage as an event listener to update the textbox. But the event is mouse event and mouse move.. are there any muuch reliable ways doing this? Because when I do not move my mouse it does not change.
[Code]...
View 3 Replies
Feb 5, 2010
The preloader works fine in all browsers except in IE if you reload (refresh) the webpage the preloader stops at 0. It works OK the first time if your cache is cleared but not the second.
I've published directly from Flash and using same html page.
View 9 Replies
Feb 18, 2010
I want to make a web radio and i want to have a box displaying the current song playing and the song that is going to be loaded after.
In fact i need a solution to the first one as the second is the same.
The streaming provider is going to provide me with a txt file that is going to be refreshed every time the song changes .
So we have a txt file changing it's contents , now how can i make the swf refreshing it self to read the new changed txt file and displaying it ?
The best solution would be the swf refreshing every time the txt changes but i believe this isn't possible. So how can i at least refresh it let's say every 2 minutes or so ?
View 3 Replies
Apr 21, 2010
I cannot seem to get a swf to get refreshed data from an external txt file on a localhost (I am using Xampp on a mac), whereas the very simple dynamic textboxes that I have load the data easily from my regular hard drive folder.
View 3 Replies
May 19, 2009
Do you have any idea how I would refresh my movie or put the changes into place when a user presses this button to reset the shared object positions:
[Code]...
View 3 Replies
May 20, 2005
Alright. I've made a tool in flash that calculates the value of money in comparison to the value of goods avaliable. however, the values that my program is supposed to calculate wont update when variables are changed, how do i fix this?
[code]...
As a brief explanation, I have 4 sets of buttons (the code for the first two sets is in there), They Create goods that are used to back paper currency (amtGood and amtMon are the amount of goods and money). To calculate the dollar value of goods, the total money is devided by the total amount of goods. However it won't calculate anything but the original 10/10
View 4 Replies
Jul 20, 2009
I have a project where I have code inside a MC on the main timeline that loads XML via a php file on the server. Once the data is loaded, it sends commands to other MCs and works just fine.However, I need to refresh this XML info every 5 seconds or so. I have tried several things such as interval code and pause code, but the farthest I got was that it paused the initial clip for 5 seconds, then ran the script once, but never again. Or it refreshed, but got stuck on the first frame of the clip.Now I am thinking I would be better off NOT having the code inside the MC, but on the main timeline and just having the action span the course of the main timeline. That way, the call to the php can be refreshed from any frame of the main timeline. Does that sound right?
View 3 Replies
Oct 13, 2010
I am building an application that uses a Shared Object that is shared (ironically) between 3 separate applications. 1 application listens for updates, and the others update the app. The problem I am having is that I need the main application to be able to detect changes to the Shared Object. Unfortunately there seems to be no events to listen for that are not for 'remote objects'. Because of this I created a timer that gets a new local instance of the shared object every X seconds.I just call the following before I read or write to the sharedObject:[code]This is causing a CPU Hiccup every 3 seconds and bogging down the system. so all this being said, does anyone know of a clean way to refresh a copy of the sharedobject without creating a brand new instance of it
View 2 Replies
Oct 16, 2011
I got a swf embeded in a web page, how can I use actionscript code to let the page to refresh? such as a "Refresh" button in the swf?
View 6 Replies
Aug 17, 2009
I made a carousel with actionscript 3 and it doesn't seem to be refreshing well. It's very choppy. Here's the file [URL] The framerate is 30fps
[Code]...
basically as ellipsePosition increments, the x and y values of the doc increment around the carousel. There is more to it for the scaling and alpha changes, but I get the same result if I remove them. I tried changing the framerate up alot. I also decreased the step size of ellipsePosition and it still acted the same. In DirectX I would create a backbuffer but I'm not sure that would be a reasonable fix for actionscript. Surely there is something built in, actionscript is by no means low level. It's a really vague question but is there anything thats very common that could cause this or that could prevent this, or is this expected behavior of flash.
View 3 Replies
Aug 16, 2010
Flex application is contained in one of the rows of a html table, and that row is hidden as per one use case. Flex application is refreshed when visibility of the row is changed to visible. This results in lose of data that is already entered in the flex application. Is there any way to stop this behavior?
View 1 Replies
Oct 20, 2010
I'm working on my first ever AIR application with flashbuilder - just so you know. I've bound a mx:DataGrid component to a DataProvider which is a mx:HTTPService fetching an xml file with items. To keep the data up to data I'm polling the webservice on a given interval.
My problem is that I loose the currently selected item in my DataGrid when the data is updated. I've tried to save the DataGrid.selectedIndex and set when the data is updated, but I'm not sure when to do it?! The closest I've come is to restore the index when the updateComplete event of DataGrid is fired. This works, but the selection first fades away and then fades in - not updated soon enough. So what is the best way to keep the selection? (only one selected item at a time) And as a side question: is there a convenient way to only update the data when it has actually changed?
View 2 Replies
May 23, 2011
Within a child, I have an XML element with the following structure:[code]I then use a repeater to list each out onto the screen. There's a button I have created that is used to create a position. So, once the user clicks this button, I call the following function:[code]The above function creates a new XML object, puts some default values in, and appends it to the list of project positions. After appending the new information, I made the height of the project larger and then check to make sure the new project height isn't overlapping any other projects... but that information is irrelevant to this post.My problem is this - once i append a new child to the XML variable, it doesn't appear on the screen. Is there a "refresh" or "re-render" option i can do to the repeater in order to make the new child show?[code]Once i make the changes, and use the XMLListCollection as the dataprovider in the repeater, the information no longer loads on the screen.
View 1 Replies
Sep 16, 2009
I'm trying to make an AIR app that keeps loads a number from a webpage that is updated every 20 seconds. Basically it's a tiny app that will say how many calls are on hold.I've worked with some Actionscript 2.0, but 3.0 seems much more difficult to me.I used the following code to load the number from the url into a text box. I tried to use a timer to reload it and just can't get it right, and am not sure really what the best way to do it would be.
[Code]...
View 3 Replies
Nov 17, 2009
I am creating flash panorama image viewer. There is a movie, left, right button, and some other buttons. Left and right buttons are triggering Timer, on MouseDown (timer is on), on MouseUp, switches timer off. timer function moves picture picture.x = picture.x + 20 (other side -20).
That works well. Other buttons are moving picture to the specific locations of picture.x and that works well too. There is a dynamic text, which is reading value of the picture.x Dynamic text is reading well, if left and right buttons are clicked, but can not read if other buttons are pressed, ones who are taking picture to the specific location. I presume that it is not picking up the value of the picture, because the program was not refreshed after taking picture to the new location. How can I refresh program in order for dynamic text to read value of picture.x?
View 2 Replies
Dec 5, 2009
I�m trying change the value of a main timeline variable, properly a string variable, the new value is being sent from another flash file through LocalConnection, the receiver main timeline code is:
Code:
stop();
var menuactivo:String;
fscommand("allowscale", "false");
[code]....
So, as you see in the code, I need to refresh the value of the menuactivo variable using the value received at the LocalConnection onRecibir method, how do I do this?? am using a couple of dynamic texts in order to display the value received and to see if the value of menuactivo changes when my_str is received, but I just can�t refresh the value of menuactivo?
View 0 Replies
Dec 23, 2009
1. Need to pass to a video player: the flv URL, and an XML file that defines Cue Points.This would be a single node:
Code:
<cuepoints>
<cuepoint time="0:1:12" title="Agenda" url="slide02.html"/>
</cuepoints>
2. Load the XML file and add those Cue Points to the video.
3. At each defined Cue Point, simply refresh the slideshow frame with the appropriate slide.
4. Set the active Cue Point with java script, to tell the player to stop and start playing at the specified Cue Point's time.
View 2 Replies