Questions tagged [stage]

In case of ActionScript terminology, stage is used as a parent Display Object of all assets like images, text, videos, swf, etc. those are placed on this stage. These assets are not displayed until they are added to stage.

633 questions
0
votes
1 answer

JavaFX - Unique scene per stage

I have a class that extends Application and calls the primary stage. This primary stage has a Next Button, that will call another stage (options stage). The options stage has a Previous Button. I'd like to get the instance of the primary stage, in…
Leonardo
  • 1,263
  • 7
  • 20
  • 51
0
votes
2 answers

CreateJS - Change color in object

I have a .fla file where I have symbols to change skin, hair and shirt colors in a boy draw. When I export it with CreateJS I got this: // 1Hair this.shape_226 = new…
Cristianpark
  • 186
  • 1
  • 9
0
votes
4 answers

Adding to Stage in ActionScript 3 from a .as file

Note: Yes, I know that similar questions have been asked before. However, after following the answers in such questions I'm still stuck and can't find a solution to my problem. I'm having a problem which requires adding DisplayObjects to the Flash…
Anthony
  • 25
  • 1
  • 11
0
votes
1 answer

TextField appears on stage when it's not a child of DisplayContainer?

Really need some help understanding whats going on after textFields[i].text = thisWord.charAt(i); I understand it updates a value at that particular index, I just can't figure out why it…
laphiloctete
  • 476
  • 1
  • 6
  • 20
0
votes
1 answer

AS3 referancing the stage from a static class

I need to access the stage in a static class, the solution i found was to pass in the stage as an argument and to use that in my class's functions, but that seems sort of ugly, is there a better way of accessing the stage from a static class without…
Kris Welsh
  • 334
  • 2
  • 14
0
votes
1 answer

User-Defined Class that is extension of Sprite is not visible on stage despite being added - what's going on? (ActionScript 3)

I'm attempting to write a program in ActionScript 3 using the Flex library and the FlashDevelop IDE. The program needs to have five blank squares drawn on the stage, and clicking on any of those squares will independently render a unique pattern…
user1991892
  • 3
  • 1
  • 4
0
votes
1 answer

Line stage.addeventlistener gives error; How to instantiate stage?

I have a problem with the stage.addeventlistner. After doing some research i found some hints that it probably isn't instantiated. How do I do that? typeerror error #1009 cannot access a property or method of a null object reference (the line it…
Jacques
  • 61
  • 2
  • 14
0
votes
1 answer

How to display objects on stage?

I am new to actionscript 3.0 and trying to write some code. I have a class "RadioButtonExample.as". By using this class I am trying to display different objects (Radio Buttons and Buttons) on stage . RadioButtonExample.as package { import…
0
votes
1 answer

Remove button from Stage Flash AS3

I currently have several movie clips and buttons on the stage that do different things. I have one button, that "Attacks" the enemy player and decreases his HP. This button has an event listener for a click, and when that is activated it goes…
0
votes
1 answer

Javafx stage does not resize when components are added

So i have this application that gets some data and shows a graph! When i start my program the graph data and the line chart is not created and therefore my program looks like this: then when i press the "Hent data" button then my line graph is…
Marc Rasmussen
  • 19,771
  • 79
  • 203
  • 364
0
votes
1 answer

SVN: how to set stage to a sub branch

Hi this is my SVN structure: TRUNK BRANCH --STAGING TAGS --tag1 so the goal here is to do all development on sub branch "STAGING" and once it's ready for production all changes wiill be merged into tag1 and rolled to TRUNK (Production) How…
0
votes
1 answer

Declaring Stage in external class function and using it in other class?

what I'm trying to achieve is making a "centerItem"-method that centers your object on the stage. I would like to add this method in my Misc class file, and use it everywhere in my application. I already tried it like below but this didn't…
Nicholas
  • 5,430
  • 3
  • 21
  • 21
0
votes
3 answers

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…
Ahmed
0
votes
2 answers

Bigger stage vs scrolling background

I'm making a flash game, and I can't decide to use a bigger stage or a smaller one, with scrolling background to make it run smoother. I's going to be some kind of strategy game if it matters. Thanks
Ferenc Dajka
  • 1,052
  • 3
  • 17
  • 45
0
votes
1 answer

Loaded Flex SWF overlaps Flash components

I'm working with a Flash project, but need some features of Flex. So I create a Flex application and build it to get the .swf file. In the Flash project, I use 'Loader' class to load the .swf file created by Flex Builder. This .swf file is loaded…
jondinham
  • 8,271
  • 17
  • 80
  • 137