stage

Flash: Coming back from another tab in browser, can flash listen to return to tab event of some sort ?

I got this flash application where you can click a link while watching a video. It will open a new tab and pause the video. Now when you come back to the flash application it would be nice if the video would start playing again. Is there a way, an event or so to do this ? ...

Subversion: stage files to commit explicitly?

I got very used to git's way of having to touch every file you want to commit, and, while at it, double-check the diff. Now at work i have to use svn and i keep commiting stuff accidentially. Is there a way to make subversion behave like git in that i have to tell every file explicitly that should be included in the next commit? ...

Access the stage in the Flash CS4 IDE

The stage in the Flash CS4 Authoring Enviroment is a running SWF. That what makes thing like the 3D and Bone Tools to work in the IDE. Is it possible to access that swf ? I suspect the immediate answer would be no because that would raise some security issues maybe and cause lots of developers to crash the IDE every 5 minutes :). That...

Dynamic stageWidth and Height in Flash AS3

This seems like it would be a really easy thing to do, but its been giving me all kinds of headaches. I have a movieclip that is a gallery, It's linked to be called from AS when a button is clicked. When an image in the gallery is clicked, It fades in using the Tween class and is supposed to be centered in the main stage, but its cente...

AS3 Project - Mouse Move Listener Reacting Outside of Application

I'm getting an unusual behavior that I can't seem to get to the bottom of. When I run this, if I move in the swf area it traces normally on mouse move. To be expected. But it's tracing for the move event when I click anywhere on screen. If I click and drag, it traces as if I were moving in the swf area of the browser. Here's the code. ...

Flex ~ Quit FullScreen mode only when the Esc key is pressed .. is tht possible?

hi i use FullScreen mode for my flex application. what i need is ... when in fullscreen mode i wanna allow the user to quit fullscreen only when the Esc key is pressed. apart from Esc key .. if the user hits ny other key the application shud not quit FullScreen. looking for the solution! Thanks in advance :) Sris ...

ActionScript 3.0 stageWidth in custom Class

How do I access Stage Class properties in Costum Class? Class: package { import Main; import flash.events.*; import flash.display.Sprite; import flash.display.Stage; public class Run extends Sprite { var obj:a1_spr; public function Run() { runAssets(); } private function runAssets():...

Flash 8 Actionscript - Stage.height

I am building a complete site using OOP AS2. I want to be able to change the size of the flash window (the stage) according to the "page" that the script is currently showing. In other words, different pages will have different hieghts and I will need the browser scrollbar to act accordingly. Must javascript be used? ...

Why is Event.RENDER not being dispatched?

I made a class, which has to register to the Event.RENDER event so that it will know when the stage is being rendered. The simplified version of my code looks like this: package { import flash.events.Event; import flash.display.Sprite; public final class Test extends Sprite { public final function Test() { ...

swf movie is not staying within the confines of the movie clip when played, ie it goes over the whole stage.

Hi, Can anyone give me a hand please? I've got a basic web page with buttons on the left and a movie clip on the right. When I attempt to import a swf file into this movie clip the movie doesn't stay within the specified pixel size of the movie clip. The movie clip I am importing is an actionscript scrolling image gallery and the image...

Getting error when trying to use stage.height to place a graphic

Hey peepz! I have this footer image, that I want to align to the bottom of the stage, however I'm getting errors. As you can see I have an ADDED_TO_STAGE listener in the constructor function. package src.display{ import flash.text.*; import flash.display.*; import flash.geom.Matrix; import flash.events.Event; public class Frame exten...

Viewing Flash Applications on a Mac: stage.stageWidth/stage.stageHeight Return 0 in Firefox/IE

I am using SWFOBJECT to embed my flash content. I have been worried about stage.stageWidth and stage.stageHeight returning 0 in Firefox/Internet Explorer; this problem is referred to in question #21 on the SWFOBJECT FAQ (http://code.google.com/p/swfobject/wiki/faq). I have been told that this problem is particularly prevelant on Mac...

Stages in the application development process

I've heard terms like "deployment" and "production" applied to the development process. What are the usual stages and what do they involve ? ...

installation error in player stage , saying jpeg support not included .

how to include jpeg support in player stage installaion in debian squeeze ...

AS3: MOUSE_OUT not firing when Mouse leaves stage

I am developing a website with nav items that cover the whole stage from top to bottom (see altered image below) and it is pretty easy for the user to exit the stage with their mouse, not triggering the MouseEvent.MOUSE_OUT events required to "turn off" said nav items. Should I be using Event.MOUSE_LEAVE to detect when the mouse has lef...

Why is stage undefined in my Actionscript 3 class even though I've imported the Stage class?

package { import flash.display.Stage; public class MyGlobal { public static var CX:Number = stage.stageWidth / 2; public static var CY:Number = stage.stageHeight / 2; } } The Error is "1120: Access of undefined property stage." WHY? ...

How to change the coordinate origin in Flash's stage with Actionscript?

I think I did this before but can't find the code. Flash as many other graphical frameworks use the top-left corner as the coordinate origin (0,0) because it's how the underlying memory model is by convention. But it would be really simpler for my calculations if the origin was in the center of the stage, because all the game revolve...

How to access stage in a class that is not a DisplayObject?

How do I access the stage in Actionscript 3 in a class which is not my main class and not a displayobject? ...

Detect mouseUp on stage

Is there a way to check the method that has been attached to the stage? I have stage as global.. and need to fire some function in a object on mouseup... Now it fires 2 or 3 depending how many objects i add.. I need something like.. if($.stage.hasEventListener(MouseEvent.MOUSE_UP, this.mouseUp) === false){ $.stage.addEventListener(Mo...

llvm preprocessor g++ passes

Suppose I want to write my own preprocessor. So I want something like this: all *.cpp and *.hpp (even the included ones), before they go to g++, they go: file --> my preprocessor -> g++ Is there a easy way to do this in the LLVM framework? i.e. to add in a stage that says: "after you load up the source file, pipe it through this pro...