stage

Is there any way to make the stage for flash catalyst bigger than 4000px width?

Like the title says, can it be made bigger? Do I have to code it in flash builder? ...

Positiong loaded object based on root stage instead of MC that is loaded from root.

I have a root stage, and a MC that is called from the root stage.Now from that MC, i will called in another MC2, and I wanted to placed the MC in the center of the stage. The reason I could not use normal ADDED_TO_STAGE at MC and define the center is because MC is not place in the exact position of the root stage (as in x, y=0). So if I ...

Error loading Variables stage.loaderInfo - AS3

I have a Document class that loads variables from Facebook with the use of stage.loaderInfo var connect:FacebookConnectObject = new FacebookConnectObject( facebook, API_KEY, this.stage.loaderInfo ); But when I change the Document class (with another one responsible for the layout of my app), and try call the above from a movieclip tha...

Limit display object's drag coordinates in AS3

how can i reference a display object's coordinates according to it's parent object or stage from within the class that creates the object? essentially when i create a new sprite object from a custom class and add it to the display list, i'd like to include code within the custom class that limits the drag coordinates to the stage, or a ...

Maze Navigation in Player Stage with Roomba

Here is my code: /* Scott Landau Robot Lab Assignment 1 */ // Standard Java Libs import java.io.*; // Player/Stage Libs import javaclient2.*; import javaclient2.structures.*; import javaclient2.structures.sonar.*; // Begin public class SpinningRobot { public static Position2DInterface pos = null; public static LaserIn...

How to access the stage from an AS3 class in Adobe Flash

The problem I've encountered is that I am using a keyboardEventListener to make a movieclip run around. As I'm a college student, I'm creating this for an assignment but we are forced to use as3 classes. When I run the code in the maintimeline, there is no problem. But when I try to access it from another class (with an 'Export for Acti...

Is it possible to move the stage in actionscript 3.0?

Hi to keep it short and simple let's say I have a stage with 400x400 size in pixels, but I've drawn a map of 1000x1000 size in pixels. I want my player to be able to "walk" about the stage, but it appears stage.x and stage.y are read-only? Is there any method or way to have the stage "scroll" about, without having to move each object o...

Aligning Movieclip with root/stage Movieclip

How do you align a dynamic movie clip position with another movie clip which is in the root stage? I tried to get the mc in root x,y position, but the starting point of the class that loads the dynamic MC does not seems to be accurate. (Meaning at the root stage, the x,y is 0,0 but at the dynamic class, its somewhere like 100,20 for the ...

Player/Stage Path Planning

Hey guys, So I have map and config files that represent the world in which my robot is going to be trying to get through. My robot has to get from the top left corner to the bottom right corner of the map without hitting any of the obstacles. I am allowed to work with the map data before sending the robot on it's journey to try and impl...

Why compiling in Flash IDE I cannot access stage in a Sprite constructor before addChild while if I compile within Flex it works?

I've created this simple class (omissing package directive and imports) public class Viewer extends Sprite { public function Viewer():void { trace(stage); } } then in Flash IDE I import in first frame this AS: import Viewer var viewer = new Viewer(); stage.addChild(viewer); trace(viewer.stage); and this works as I ...

Maintaining Mouse Control in Embedded swfs (i.e. parent / child ) Flash cs4 AS3

Hello to all, I have an issue that is driving me nuts. I have an AS3 application that performs a calculation based upon user's input to determine a result. The purpose is to predict the results of a horse's coat color based on the genetics. The results are given in a 3d model swfs that are loaded into the "shell's" UILoader Component and...

Center the stage in Flash CS4/AS3 on a standalone player

I have a Flash presentation (made in Flash CS4 with AS3) I am working on and running in a standalone Flash player. When I start the presentation the stage is centered in the Flash player, even if I resize it. The presentation contains an FLVPlayback component which, at different frames, plays different content. A navigation menu (made of...

AS3 - Loader class: Resize external swf to it's original stage size

Hi there! Here is my problem (unfortunatelly didn't find solution @google): I'm loading external swf[AS2] into main swf[AS3] using Loader class. The main swf is 800 x 600 and the external swf is 300 x 200. After adding the external swf to the main swf the external swf expands it's size from 300 x 200 to the main swf's size: 800 x 600...

Player Stage Hunting Game - Java

Hey guys, So I have all these classes put together for all the connectivity between Predators and Prey and the world. The only thing I'm really stumped on is the run() method for the Predator class (how they hunt). The theory is simple. The predators have to gather around the Prey on it's North, South, East and West side, and the DataC...

Fast Esp Custom Stage Development

Hi, I am working on Enterprise Search and we are using Fast ESP and for now i have 4 projects but i have no information about stages and python. But i realize that i have learn custom stage development. Because we have a lot of difficulties about document processing. I want to know how can i develop custom stage and especially i wanna kn...

ActionScript Continuously Dragging Objects Within Bounds From Off-Stage Mouse Coordinates?

is it possible for flash to detect off-stage mouse coordinates in order to continuously drag an object within its bounds while the mouse is moving outside of the stage? for example: i have a draggable red square on my stage. the stage is the bounds of the drag. if i drag the red square to the bottom of the stage and continue to drag ...

flex 4 swfloader: SWFLoader.content.stage.width and height returns the main stage width and height

Hiya. When I load a flash application using SWFLoader, the Stage width and height of the loaded application becomes the stage of the main flex application. so if i created a game that uses stage width and height to calculate where to draw, it actually draws outside of the bounds of the loaded application stage because it gets the width ...

What is SEDA (Staged Event Driven Architecture)?

SEDA: An Architecture for Highly Concurrent Server Applications "SEDA is an acronym for staged event-driven architecture, and decomposes a complex, event-driven application into a set of stages connected by queues." I understand that it's an architecture and that there are many implementations of SEDA (see the Wikipedia article). What ...

Flex/Actionscript 3 dynamic width/height change

Hello. Is it possible to dynamically (not in the project's options) change the dimensions of the stage by using ActionScript 3? I'd want to create a 400x300px loader, but I also want it to load animations that have bigger or smaller dimensions. I would then change the width and height of the loader to make the loaded animations fit well....

Access the Stage in AS3

Hello. I'm trying to get a projector file to run full screen when it starts, without needing to click anything. My main class inherits from MovieClip, so as far as I can tell I get access to stage... yeah right :) package { import flash.display.MovieClip; import flash.events.MouseEvent; import flash.display.StageDisplaySta...