ActionScript 2.0 :: Direct Users To Different Scenes / Frames?
Sep 11, 2005
I'm having trouble creating a conditional statement. I want to direct users to different Scenes / frames based on the first three numbers of their 7-digit assigned account nos.
I cant seem to figure out how to write the condition: "IF VARIABLE1 begins with "555" gotoandStop..
View 2 Replies
Similar Posts:
May 5, 2011
I am currently looking into the NetGroup class and AIR. Basically, is it possible to establish a direct link between two users without the need of a server? Lets say both of them have this AIR application or better yet its just a swf hosted on some private server of mine. Could two people use this application and simply send and receive files between each other? Eliminating the need for uploading sites like rapidshare?
View 9 Replies
Jan 17, 2011
working on a text Chat application with FMS4 "RTMFP" connection and i am looking a functionality to send direct message to one to another peer
View 6 Replies
Dec 9, 2009
I need to start using AS3 for my job. So, I have gotten a great deal of help setting up classes with another co-worker's help and a myriad of tuts. Basically, What I need to do is, set up an XML navigation/subnav (got it), and use those links to populate a series of checkboxes. These check boxes will then be used to populate text in a dynamic text field (got that ready to rock). For example, of the user selects in the nav Agreement > TOC, they might get presented with 4 options:
Told and Agreed
Told and Disagreed
Lost Connection before Agreement
Was Not Told - Cancelled
How would I use XML to direct the MC that holds the check boxes (in some cases, close to 50 of them) to the right frame? I can pull from an XML doc, sure, but have never had the need to use it to run a movie clip before.
Here's the XML I'm basing this off of:
Code: Select all<?xml version="1.0" encoding="utf-8"?>
<menu_content>
<level style = "main.xml">
[code]....
So, in this example, How would I get "Balance" to go to the right frame in my (for the sake of argument) checkBox_MC ?
View 1 Replies
Sep 20, 2010
I'm new to AS3, still thinking of things with an AS2 frame of mind. However, I need to start using AS3 for my job. So, I have gotten a great deal of help setting up classes with another co-worker's help and a myriad of tuts. Basically, What I need to do is, set up an XML navigation/subnav (got it), and use those links to populate a series of checkboxes. These check boxes will then be used to populate text in a dynamic text field (got that ready to rock). For example, of the user selects in the nav Agreement > TOC, they might get presented with 4 options [code]...
View 1 Replies
Jun 7, 2007
For my game i was think to create different Scenes instead of Frames, since it would be easier to navigate between them.
Will functions, variables etc be same on all the scenes? Or will they be unloaded?
View 5 Replies
Feb 15, 2012
I am making a game and was wondering whether scenes have any efficiency/performance purpose or if they're just there to make Flash more organized?
View 2 Replies
Aug 25, 2003
I attached this actionscript to a movie clip:
[Code]...
It rolls in and out fine. but refuses to change scenes or even frames with on (release). I am kind of new to flash.
View 4 Replies
Aug 13, 2008
I made a game with Adobe CS3 and posted it on the internet, and some users (very few, but some) have reported that the game doesn't work, it just runs through every frame without regards to stop() or anything else..
It's at 50fps, which might matter, and it's located at [URL] if you may need to take a look at it.
I just need to know if this is something that I can fix on my end, or if these people may need to update their flash player or what else it might be?
View 0 Replies
Feb 12, 2011
I am getting errors with flash cs5 classes I am using one main class and I've got to make a menu and normal game so two scenes (1 menu 2 main game). I keep getting this error when i play the movie. I am using CS5 IOS Packager
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ButtonClass()[C:UsersMY NAME COMPDesktopIOS ContentButtonClass.as:68]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent() ......
View 1 Replies
Nov 4, 2010
I'm using flash for the first time to create my graphic design portfolio and I'm having trouble keeping the file size small, and can reduce it by (hopefully) doing the following:
My resume has a lot of classic tweens with alpha channels (to create fadein/fadeout effects) and as of right now, I need to create a separate layer of fadein, fadeout for each transition. IE: My resume to portfolio page needs one 20-frame transition, my portfolio page to resume needs a 20-frame transition, my 2nd page of my portfolio page to my biography needs a 20-frame transition, etc. It's getting out of hand.
I could easily remedy this by using a lot of separate fadeins fadeouts and then coding buttons to navigate from, say, frames 120-130 (resume fadeout) then go to frame 160-170 (biography fadein), then navigate to a static page. I'm not sure if this is possible, as my buttons would have to change functions each frame.
Another possible way is that currently for each button I have different layers in order to direct the button to different frames, and have placing hem in the same spot. I'm wondering if there's any way to have buttons go to separate frames on different frames, if you get what I mean (on frame 120 it'll go to 130, on frame 150 it'll go to 160 but still be the same button". Right now each button is coded with on release gotoandplay <frame>.
View 1 Replies
Feb 10, 2002
I was thinking of adding frame on top of my home poage to give users better navigation with a meun on top.But how do you make when you press the button in flash the hyperlink will make the frame at the bottom or specific frame page to change?
View 2 Replies
Dec 5, 2009
how many of you use scenes to get your projects done. I've been switching to a different scene for every new angle (I'm making a flash movie, drawing somewhat 3D perspective, and storyboarding it out like a movie.) I find it makes it easier to organize the timeline, and not take up as many frames per timeline. Are there any downfalls to this method? Because I'm early on in the production, and if there's going to be any problems down the road I'd like to know before I get too involved.
View 1 Replies
Jul 3, 2009
whenever I set my sound to stream and continue to make a movie with multiple scenes. The audio and video get disgustingly out of sync sometimes even off by 30 seconds. I just started an animation its only 10 seconds long with two scenes and the AV is already off by about 5 seconds. Ive worked around this by avoiding scenes altogether but i really don't want to have another 5000 frame scene. I discovered this problem in Flash MX and Im quite annoyed that it still has't been fixed 3 years later!
View 1 Replies
Feb 26, 2011
I have an interactive story divided into scenes. At the end of each scene a button appears. This occurs on a frame on the timeline.
There are two different buttons that might appear based on whether a prior scene has been viewed or not.
For example, there are Scene_1 and Scene_2. At the end of Scene_2 one of two buttons will appear. The buttons will be either "Go see Scene_1" or "Return to Main Menu".
If the user has already seen Scene_1, Flash will know that and automatically go to the frame in Scene_2 that contains the button "Return to Main Menu".
Conversely, if the user has not seen Scene_1, Flash will know and automatically go to the frame in Scene_2 that contains the button "Go see Scene_1".
I imagine there would be an action frame at the end of Scene_2 that will contain the as2 code to enable this action.
Perhaps something like, but probably not at all like the following:
if ("Scene_1", last frame == true){gotoAndPlay("frame#");}else{gotoAndPlay("frame#");}
View 1 Replies
Jun 2, 2010
I am working with a project that has many scenes. Each scene has a movie clip attached to it. The first scene is simple...just a couple of buttons and that is it. My worry is that when I add all of the videos that correspond with each button and publish the SWF will be a huge file. THE QUESTION: Does flash load ALL scenes of a movie or does it load the first scene and then load the other scenes when the user needs to view them?
My ultimate goal is to just have the first scene load and then when the user clicks on the buttons contained within that scene that only upon release does the corresponding scene load. Maybe I am doing this completely wrong and should look at doing it another way.
View 6 Replies
Jan 17, 2006
some time when i visit some site i find the Url changing when press any button and the page never change also the main flash movie is still in the page . in the same time you can reach that movie or that section by using the URL directly ..for example :the link in shown like this [URL] in this case it will show the Contact form Movie in the main movie or [URL] in this it will show the frist main movie [URL]what i think in this case when you hit the button it will Load an external SWF Movie to the main Movie and change the URL in sasme time .
View 2 Replies
Jul 22, 2009
Basicly, as the title says, i am stuck trying to make a button take me to a different scene.i know what code i will use (Below) but after i have converted object to symbol it doesnt let me put as onto the button.(my code)
on (release) { gotoAndPlay("Scene 2", 1);}
View 1 Replies
Feb 22, 2010
I'm using FMS 3.5 to record streams to the server as flv files, and would like the ability to directly download those generated flv files. Assuming these files are sitting in my applications/recorder/streams/_definst_ directory, how can I open up this directory to allow direct download via a url? Something like http://<ip ddress>/applications/recorder/streams/myfile.flv. I'm guessing this is just something that I need to put into one of the configuration files, but I'm having a bit of trouble figuring this one out.
View 3 Replies
Mar 22, 2010
Need to connect to database file (.mdb) via flash ( as2 or as3 ) directly, applicable ?
View 6 Replies
Mar 22, 2010
i need to connect to database ( access database file ) by flash without sever-side language
View 6 Replies
Mar 5, 2011
Didn't try to install 2004/2005 software until now, which REQUIRES by all means SPECIFICALY Flash Player 7 before continuing installation Tried with latest version of FP but to not avail does not proceed with installation till FP 7 is in HD first.
View 1 Replies
Jun 1, 2010
My apologies if this has been fully addressed before, but I've read through several other threads and still can't seem to get my file to work.
My actionscript code is at the bottom of this message. I created it using instructions from the Adobe website: [URL]..
I believe I have all of my objects set to the correct type of symbol (button) and all of my instances are named appropriately (see screenshot here:
[Code]...
View 1 Replies
Sep 22, 2010
Can someone please help me by providing the "Direct Url" for playing metacafe videos in a div.
View 1 Replies
Jul 13, 2011
We all know that it's impossible to do native print in a browser that bypasses the browser's print dialog, however, we have the need to do a direct print, ideally where we could also select a particular printer, and other settings programmatically.
I know that ActiveX plug-ins exist that do this, however, we all know that ActiveX plug-ins only work in IE. Is there an existing plug-in, either in Flash or Silverlight that allows us to programmatically set printer properties and then direct print without opening the browser's native dialog?
View 3 Replies
Jan 20, 2009
I have this project that I am trying to complete. The xml is written, and all the AS is written out. But I am lacking one small feature. I would like for my main swf to load other swf's, flv's, etc etc based on a direct call feature. For example: If I would like to load myFLV.flv and I type into the address bar of a browser or link to it via HTML the address [URL]
That the SWF will grab the data after the "#" and know what file to call...make sense? I have the following but it does not do exactly what I need it to, but rather only tells me what the directory is of my main swf as opposed to grabbing the tail end of the url as I hoped it would so that I could use that information to load the called movie.
View 4 Replies
Apr 7, 2011
How to display camera output while wmode is set to "direct"? To be more specific, I want to display camera locally without receiving stream from third party publisher.
EDIT: According to Adobe employee words there is bug, which not allow flash player to open security settings dialog, therefore camera is muted by default.
View 0 Replies
Feb 1, 2005
i wanted to make a game in which you play head to head with other people.. but before i get ahead of myself here..how to establish a server which receives info from all connected flash movies , and then sends it out to all the ones witch i want to? basically i was thinking of making a chat thing 1st of all and then depending on how difficult it is move on to my game idea..
View 5 Replies
Aug 11, 2008
How do I get this scroll to go to direct positions such as;
[Code]....
View 1 Replies
Jun 18, 2009
I currently have a flash chatroom up and running but there is a minor snag. The only way I can explain is through demo.url...I made a very short video for those who do not wish to log into the chatroom - it shows the problem clearly. Loc: url...Go in chat and click anywhere on screen. You will see the sprite move as the client describes "along a train track". How can I just make the sprite move directly towards a point upon mouse click?
View 1 Replies