Professional :: Can Flash Handle Multiple Screens
Jul 21, 2010
I want to make an application that works on 2 screen.on screen1 I need to make GUI with several buttons, sliders, radio buttons, field for dynamic texton screen2 (big screen / LED / video projector) I want to output photos and simple vector animations that are controlled with GUI on screen1 I don't know if it is possible in Flash to have one output with GUI and other with content. Does Flash recognize multiple screen outputs? Is there an action script command to tell flash projector: this put on screen1 and this put on screen2.
View 3 Replies
Similar Posts:
Feb 20, 2011
I have a main class that calls and removes screens with addChild and removeChild, these screens are movie clips.My issue lies in these movie clips, each clip is linked to a class - e.g. confidence.as links to my confidence screen.I am trying to add buttons and pieces of text from this class file onto the confidence screen, so essentially adding more movieclips on top of a movieclip that has already been added. I keep getting this error:TypeError: Error #2007: Parameter child must be non-null.I could do with some help figuring out how to add objects to my screens, as I am trying to prevent having everything in one class.
View 6 Replies
Nov 23, 2009
I'm working on a project and I need to link multiple screens so that when you click a button it will go to the next screen.I know how to do this via the timeline but I have to do it in action script with addchild.
View 1 Replies
May 10, 2007
I just designed a web site. It looks fine on my big screen, but a few people that I have sent it to cannot see the whole thing. They say there is no scroll bar on the right side to go down. When I lower my screen resolution to 800x600, I get a scroll bar. Are they using an old version of flash maybe? I am using Flash 9 plugin. In my publish settings, I require at least 8 and I have my dimensions set to pixels under HTML. Here is the web site: [URL]
View 10 Replies
Apr 6, 2011
I'm new to actionscript flash 3.0. Anyways, i have written code for one whole game level including the character. Is it now possible to create a class, and when i press for e.g. 'Level 1' the first level starts?(create an object of the class) When i press quit, to unload the whole level.
View 2 Replies
Apr 18, 2010
I have a project which has 2 html, 2 swf and 2 fla files. I have a default form and I would like to call another form or screen form a button click.
Does each screen or scene have to have it's own html page. Or can you call up the scene change through flash code?
Currently I am using
btntest.onRelease = function () {getURL("http://www.website.com" , "_parent" );}
View 1 Replies
Apr 27, 2010
I'm using Adobe Flash CS4.The language is Action Script 3In my library I have 2 items:playerwallthe player object is already functioning correctly with moving him around.Now when I place multiple wall objects into the stage (wall = 32x32 px) I want to prevent the player from moving when he walks into a wall.I've tried giving all the walls the same instance name and just check for a collision with that object but when I do that the collision only works for 1 of the walls.I could give all the instances of wall a different collision script but this is way to time consuming, is there another way to globally define the wall as solid for the player?
View 2 Replies
Feb 6, 2010
I'm creating a scrollbar gallery from a tutorial on this site. Though I've completed the tutorial, and customised the gallery to my own needs, however I'm trying to make a very small change to it - and no matter what I do, keep running into problems. I'm trying to replace the rectangular handle with my own customised handle - a (20 x 20) 'circular' png image that I've imported into Flash, made a graphic and stored in the library (though I understand it can be imported using actionscript, like the other images in the gallery).
[Code]....
View 7 Replies
May 24, 2009
I've been reading up and looking at examples of how to handle multiple hittests. So far in my example I have failed.
[Code].....
Basically I want to be able to check for a hitTest against all the bullets on stage against all atoms created. I attempted to do this with two for loops and it didn't work
View 4 Replies
Aug 31, 2009
Any best way to handle multiple URL requests. This is what I have:
Code:
function dropCick(evt:MouseEvent):void {
if(evt.target == dropDownM.dropBtns_mc.menFoot_btn) {
var URL_6:URLRequest = new URLRequest();
URL_6.url="[URL]";
navigateToURL(URL_6,"_self");
[Code] .....
I would think there would be a better more efficient way to do this.
View 4 Replies
Mar 29, 2009
I currently have one movieclip in my library, but 4 instances of it on the stage. I was wondering what the best way to animate them so they can do things 'separately'- I'm not sure if Actionscript is the answer, but it's worth a try. I just don't want all of them to move when I move one of them (when I try to animate them inside their movieclip).Possible solutions: I already have one that isn't very... resource friendly. For every individual instance I can turn it into it's own Movieclip, so it isn't affected by the rest... but if I were to have many, many movieclips on the stage, that would quickly overflow my library. If that's the only way fine, but I'm sure there's a work around.
View 3 Replies
Apr 15, 2012
I am writing a Red5 application that provides 1-on-1 video chat to a Flash client over RTMP.
Unfortunately most tutorials I was able to find were sketchy at best and the documentation of Red5 itself tends to be vague when it comes to API concepts and intended usage.
In short, I am a bit stuck and looking for hints on Red5 ApplicationAdapter implementation. Gnarly details are as follows:
First of all, the connections come in two flavors: visitors and consultants. A visitor should be able to indicate which consultant it wishes to communicate with. A consultant simply gets connected to the requesting visitor as long as the consultant is not busy servicing another. Obviously, every RTMP connection has two-way traffic: both sending and receiving video. From the standpoint of the server, connections bring in a bunch of video streams that get their receiving endpoints assigned by request. Since several video conversations can be in progress simultaneously, the main task of the application is to handle the mapping of visitor streams to consultants and provide a list indicating each consultant's state (busy/available) via AMF.
So, all in all, I have a pretty good idea what I am aiming for but how to achieve it with Red5 is still a bit of a mystery.
What is the easiest way to establish the connection type (visitor/consultant)? Which API classes should be used to implement a persistent, globally accessible list of active connections for reporting the state of each consultant? How to switch receving endpoints dynamically when the goal is to connect a specific visitor to the selected consultant?
View 1 Replies
Jan 22, 2011
I have a web service written in ColdFusion. In this web service, there are two functions; one is to return all the questions in a quiz and the other one is to return all the answer selections to the questions in a quiz.
[Bindable]
private var questionArray:ArrayCollection;
private var cfquiz:RemoteObject;
[code]....
I have the codes above. loadQuestions is called at creationComplete to retrieve the questions. Things are working fine. What I want to do is to call another function within the same web service, returnAnswers, to return the answer options for a question. Since I have cfquiz associated to the web service already, I was using cfquiz to call returnAnswers. However, there is an event listener associated to cfquiz already, resultHandler is being called when returnAnswers comes back with the results.is it possible to check which function returns the results within resultHandler? If so, how? And second, what is the best way to handle calls to multiple functions within the same web service?
View 3 Replies
Sep 24, 2004
[URL]
can i handle multiple sound through one volume slider by passing parameters and MC instance name?
View 1 Replies
May 25, 2010
I was wondering if anybody could help me out and tell me why my flash site looks different on different size computer screens?
I have built a site in flash and when I preview in html it looks different to how it does on my flash canvas (the text is a different size and takes up a different amount of space than on the original flash document). Then when I publish it and make it live it looks different on different size screens. On my laptop the text all fits in, but when I view it on my desktop the text cuts off, so that the last few lines of each text box is missing? What's going on?
View 2 Replies
Jun 30, 2010
I have swf with multiple scenes.Controls in each scenes are different. How can I manipulate these controls in different scenes in a single document class for this swf?
View 1 Replies
Oct 18, 2010
I'm currently developing a prototype using AS3 and trying out some touchscreen gestures. I'm compiling using AIR 2.0 and currently have GESTURE_ZOOM and GESTURE_ROTATE working but for some reason GESTURE_SWIPE is giving me a few headaches. I know It's possible as I've seen it working here, using the same laptop (DELL LATITUDE XT2 & N-TRIG) as I'm testing on.
[Code]....
View 1 Replies
Jul 7, 2010
I have several screens for flash and these screen have so many dynamic texts. We need to support these texts in different languages like "Spanish", French and English.
View 1 Replies
Jan 10, 2012
Has anybody had Flash player debuuger suddenly stop working for no reason whatsoever. What I've found so far: - No exception screens popping up.. in ANY browser. Reinstalled debugger version of flash player, no go. - Flashbug not showing in Firebug - No trace calls visible in FlashDevelop - Flash IDE behaves normal.. all trace calls visible - Firefox updated about the same time but problem seems to be on a wider scale This started approximately, on Sunday 8th Januray (or saturday).
View 1 Replies
Mar 7, 2010
I am trying to create a Flash based website that runs full screen. It will have a series of still photos or possibly, a video as a background with a few menu buttons on top of them. What I don't understand is how to compensate for the various monitor aspect ratios. If I make it wide screen, a square monitor will show blank bars at the top and bottom. You can see an example of what I'm trying to do at [URL] Also, what is the optimal size to make the Flash video? I am running Flash MX 2004 (Version 7)
View 1 Replies
Aug 2, 2011
Taking this thread to the next level and now making a Main.as class to display different "screens" of my game.For right now I only have 1 screen called ControlPanel, but this will eventually have multiple levels (each level will be a separate screen) and a level selection screen, etc. added. So at this point I'm losing control over how to give things access to the stage (in other words... it's getting really thick with multiple levels and this noob's brain is being overloaded lol).
To start off, I took all of my graphics that were on the stage by default (buttons, lights, meters, score text, etc.) and created a new symbol (MovieClip) that I called ControlPanel and checked off "Export for ActionScript" with a class name of ControlPanel. So now my games fla stage is black and I made it's document class Main.as. which looks like this:
public class Main extends MovieClip {
public var controlPanel:ControlPanel;
public function Main() {[code].........
Running this worked perfectly in that my Control Panel screen popped right onto the screen. Of course all the buttons didn't work yet but that is the next step. So I modified my old Game.as to now be called ControlPanel and read like so:
public class ControlPanel extends MovieClip {
private var docRef:Main;
private var _player:Player;[code]...........
this is a hodgepodge of ideas torn between the docRef and the View idea. I need to have access to the stage for my mouse and keyboard listeners, but then I also need access to the buttons in the ControlPanelView symbol. Do I need to pass both the view and the docRef here? How to I maintain access to the stage and the ControlPanelView graphic?
View 1 Replies
May 19, 2007
I'm making a slide show presentation, I have a child screen nested inside a parent screen. When I load the child the MC inside it seems to have already been played. I tried adding a stop(); in the first frame inside the MC then calling a gotoandplay in the first frame of the child but it doesn't seem to work and the MC doesn't play...
View 7 Replies
Jul 8, 2009
basically my program has this part in it where it emulates this menu system that's on a piece of hardware. So in my code I just have a bunch of objects in a hierarchy to represent the menu. Each object constructor has references to other screens. When these buttons are pressed, they go to one of the screens referenced in the constructor.
[Code]....
View 2 Replies
Apr 21, 2011
When the character touches the escape, the level loads of course but neither character or the exit shows up.
ActionScript Code:
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
[code]....
View 1 Replies
Jan 11, 2012
if inside a movieclip my_mc I have onPress=function_1;
and then on the main timeline I have
attachMovie("my_mc","my_mc",1);
my_mc.onPress=function_2;
Then function_1 will not be called at all as my_mc.onPress=function_2 will screen off the internal onPress=function_1?
View 9 Replies
Jan 30, 2010
I'm having difficulty's preloading inside a slide screen. here are the files [URL] open content.swf and click the right arrow key... It will go to the next slide screen were on the first frame I have Code: Select allcontainer_mc.loadMovie("preload1.swf");
[Code]..
View 3 Replies
Sep 3, 2011
I think I understand how to make a interface but the problem is im unsure as to how to add it to my existing code! To make a interface (as far as i know) You can create classes such as mainScreen, intructions and so on. Ok i get that, make the classes then add ther buttons from the library i these classes. But i followed a tutorial bu Emmanuel Feronto, and adapted that to the needs of my game.
So im unsure as how to add these 'Screens' to my current class, the I currently only have 1 class, Main which currently has 300 lines of code, and i dont know how to break it up into smaller classes. Thats the problem i think, The main is quite large, normally i have heard people keep this clear... But then say i made a bland main, and added the screens into that then how do i make the main that makes the game play on the play button?
View 14 Replies
Dec 20, 2011
I am making a game. And this time trying to implement menu (-->tutorial) -> game-> scoreboard -> game over screens.
These screens themselves are quite different in terms of structure. So i am not sure if states is a 100% correct approach here (as I understand states are good for similar layouts) From the other hand many of them has back button to return to previous state, e.g. in tutorial I will have start game and back to menu buttons, etc.
View 1 Replies
Jun 15, 2009
I'm trying to figure out how to make a dynamically loaded image actually move across my screes. So far, my script loads the image, but stops after 1 frame. Without the loaded image everything works just fine. It's all Action Script, so my gues is that I probably missed something along the way.Here's my script:
Code:
scaler.loadMovie("image.jpg");
set the starting value for 2 variables
var targScale = 45;[code].........
View 2 Replies
Mar 8, 2008
There are 77 classes in my project and around 30 of them are linked to MovieClips. If I do a size report it says that my Actionscript classes are 110296 bytes.
I am having a mysterious problem. I have a MovieClip, and I would like to link a class to it in the library.
But I get the following error:
The class or interface 'gui.screens.game.ContinueGame' could not be loaded.
The class at the moment is empty (see code below), although I have tried renaming, deleting and recreating it a few times.
Code:
class gui.screens.game.ContinueGame extends MovieClip {
public function ContinueGame() {
}
}
I have also tried linking the class to other MovieClips that have been successfully linked other classes before - which didn't work.I have tried linking other classes I have used before to the MovieClip - which worked. So the problem lies with the linking of the specific class. Since I have tried renaming it, I'm wondering if there is you can only link a certain number of classes or something. Or I am missing something obvious and will kick myself when I find it.
View 4 Replies