ActionScript 2.0 :: Setup A Situation In Comic Where The User Chooses One Of Two Options?
Mar 6, 2005
I'm trying to setup a situation in my comic where the user chooses one of two options, to side either with goblins or a dwarf. I would like to set it so that if the user chooses the goblins, it updates a shared object that keeps that choice saved on the computer for the next time they watch the movie so it skips the asking process. I've tried everything I can think of to get them to work, and the choice will replay if you are in the movie, but once you close it, the choice is not saved.
The .fla file can be found at www.manatheater.com/MXhelp2.fla, the initial set up is in Scene 0, Layer "Masking", Frame 0. The button code is in Scene 2, Layer GLeft and Gright, Frame 459. The replay code that checks the variable can be found in Scene 2, Layer "Masking", Frame 416. The variable for the choice is "gob", gob==1 is for goblins, gob==2 is for dwarf.
[Code]...
View 1 Replies
Similar Posts:
Aug 12, 2011
I am trying to setup a movie where the user can move objects with the arrow keys. I have several objects that can be moved. My problem is that they all move at the same time. How can I fix it so you can click on an object and only that one object moves?
View 4 Replies
Jan 10, 2007
I'm trying to setup an interface where an event is triggered by the user pressing a key on the keyboard. So far I have the following code in a button on the stage:
Code:
on (keyPress "a"){
trace("you pressed a")
}
on (keyPress "b"){
[code]...
Which works fine. I was wondering if there was a way to either remove the case sensitive properties of the keypress action, or to force the keyboard to return a caps lock or something. The only way I can think of doing it so far would be something like this:
Code:
on (keyPress "a"){
trace("you pressed a")
}
on (keyPress "A"){
[code]...
Which obviously will double the amount of code needed - especially as the event for a small c and a capital C would be the same.
View 12 Replies
Nov 25, 2003
I wonder if I can get Flash to save a choose that a player makes somehow?
View 2 Replies
Jul 8, 2009
I have implemented a flash detection script (downloaded from [URL].. Because I have Flashplayer installed I cannot produce a situation to test this script on my browser. Has anyone an idea how I can test if this script works on browsers that have an old version or no Flashplayer installed?
View 2 Replies
Aug 29, 2011
Im building a program that queries a database for options and displays the options in a number of comboBoxes. The comboBoxes are dynamically built and loaded via code and added to the stage. I would like to build the comboBoxes into a single movie clip (maybe not the correct wording) so I can use options like tweening and such to make it look better. The code is below.
package classFiles
{
import flash.display.MovieClip;
[code]....
View 3 Replies
Feb 22, 2011
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to
the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
View 3 Replies
Aug 24, 2010
I am trying to create a web-comic using flash cs4. This is the first time that I use this program, but I understand that what im trying to do can be easily done.All I need is basically a Previous and Next button like a slideshow.[URL]
View 1 Replies
Feb 25, 2011
I am trying to make a comic by putting the comic in a movie clip called graphic_novel (also the instance name) but I want to have individual thumbnails in the comic zoomable so that if you hover over them then you get a further zoom into each thumbnail of the comic.
So far I have the following actionscript on the main comic which also has a motion tween between frame 1 and 20 so that it zooms in or out over that amount of frames.
The zoom works fine but I have tried numerous methods of creating invisible movie clip buttons over the individual thumbnails and tried to add similar actionscript to make a further zoom. Basically I want to navigate around the comic using zoom in zoom out.[code]...
View 5 Replies
Apr 30, 2009
My problem should be simple but I'm still having trouble. I am making a comic that appears on screen one frame at a time based off of on of the first flash tutorials that come with the program. It allows the user to click a button to move to the next frame. My problem is that the smaller frames need to be centered on the stage.
Here is the code I have so far
/* 0 */
var image0title:String = "Dr. Berg's Clinic. 1 of 4";
var image0uri:String = "images/Berg_frame_1.jpg";
/* 1 */
var image1title:String = "Dr. Berg's Clinic. 2 of 4";
var image1uri:String = "images/Berg_frame_2.jpg";
[Code] .....
My stage is set at a height of 350 px and a width of 500 px and the largest image is a height of 319 px and width of 500 px (the remaining 31 px are where I put the description and the button). The smaller images are a height of 319 px and a width of 166px and need to be centered.
View 4 Replies
Aug 13, 2010
As a UI specialist, I am often asked to build tool-tip displays and other sorts of popups that display text. One of styles clients seem most keen on is text in a comic-book balloon. I would like to create this balloons programmatically (as opposed to embedding or linking to rendered graphics), because these balloons will have to change size at runtime, depending on how much text they have to hold.
Balloons are easy to draw for the most part: circles, rectangles or rounded-corner rectangles. The tough part, for me, is the tail (the little arrow-like part of the comic balloon that points towards the speaker). If you google comic balloon, you see that there are many varieties of tails. They ones clients request from me most often are curved. E.g...
[URL]
The tail will always be on the bottom of the balloon, and it will sometimes point left and sometimes point right. I have been trying to come up with tail-drawing algorithms for a while, but I'm not happy with the results. I'm basically stumbling around in the dark, changing variables, looking at the results, and using trial and error to try to move closer to the magic numbers that will work. "Work" just means a result that looks pleasing, which I realize is subjective. Most of my clients will be a happy with anything that looks reasonably good and professional.
I want this result to scale. And it would be great if it could work with as few inputs as possible, maybe just isFacingLeft, tailWidth and tailHeight (Which could maybe be a percentage of the whole balloon). Maybe an adjustable curveAmount.
If it matters, I'm using Flash/Actionscript, but any system that has some sort of turtle graphics engine should work pretty much the same way: I'm working with that standard flipped Cartesian grid (y increases downward), x and y coordinates, the ability to move a pen, draw lines and draw curves.One caveat: Flash only allows me to draw 3-point bezier curves -- start point, control point, end point.
Note: balloons won't have to scale after the are drawn.
View 1 Replies
Aug 24, 2010
I am trying to create a web-comic using flash cs4. This is the first time that I use this program, but I understand that what im trying to do can be easily done.
All I need is basically a Previous and Next button like a slideshow.
Reference: [URL]
View 1 Replies
Dec 14, 2007
i'm trying to convert mpg videos to flv videos. i'm using adobe cs3 flv converter as well as quicktime pro. both yield a flv with no audio.
i open the video in quicktime pro. it plays with sound. then i go up to FILE > EXPORT > MOVIE TO FLASH VIDEO (FLV) click on OPTIONS then click on AUDIO. it's all grey. no audio options.
i am aware of this problem/solution regarding flv's stopping short but i'm not even get audio options. "It has everything to do with sound sample rate! You need to export your movies that are currently using 22.050 kHz and to a new quicktime movie with a 44.100 kHz sample rate. THEN export as a .flv with whatever frame rate and .mp3 compression rate you need. This should fix the problem!"
View 3 Replies
Jun 25, 2009
It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 Replies
Mar 14, 2010
I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.
In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.
View 1 Replies
Apr 17, 2011
is it possible in actionscript for the user to type in a box from a keyboard like a user input text box..
View 3 Replies
Feb 22, 2011
We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.
See the interactive in question here:
[URL]
We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.
View 1 Replies
Jan 7, 2010
i want to make a check button where you can put a tick or a cross in the box. is this possible?
View 3 Replies
Nov 13, 2009
I have a game were there are a lot of little guys moving around on the screen independently of each other and I have a function for zooming in and zooming out. I want the guys to look good when I zoom in but not lag when I zoom out and show a lot of them. What I'm thinking of doing is just making different levels of detail that it uses for the guys at different zoom distances.I don't know what makes vector graphics lag. Is it the number of shapes it has to redraw every time something moves? Or is it just determined by the number of objects on the screen at a time regardless of detail? I want to know if it would make a big difference in lag before I go redraw everything because it would be a big task and I don't want it to be for nothing.
View 1 Replies
Jan 2, 2004
I am using a combo box with only 2 options.However when a user selects one of the options, I expect the choice they selected to be displayed but it's not.
View 5 Replies
Feb 25, 2009
I have some text that says go to page with a input textfield box and a go button. This is a flash cs4 file.I want to have the user input the page number and have it go to that frame.I am using actionscript 3.0 and have bought 4 books and researched online and still can't find what I am looking for.I can make the go button go to whatever page I want I just don't know how to get the information the user put in the box.
View 2 Replies
Nov 8, 2009
Id like to find a gallery with user sign in , and user uploads but how difficult would it be to put in a gallery component ,and make a button to allow users to upload straight to a folder on the server? once th epicture is on the server the gallery will do the rest auto
View 1 Replies
Jul 2, 2010
For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.
What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?
As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.
I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.
View 1 Replies
Mar 15, 2009
I am using Flash 8 by the way. Anyways what I am doing is making a menu with different options. I need the user to click on various buttons from the menu and then after those buttons are clicked, an animation needs to play and then return to the original menu. I have got the mouse to follow my custom cursor and made the general outline of the menu, but no buttons so far.
View 3 Replies
Jun 6, 2010
I have 3 menus, each with 4 different options (clickable buttons). Depending on what you selected in each of the three menus you get a specific resulting image.
View 1 Replies
May 6, 2009
I have a Tablet PC laptop. In Flash the pressure and tilt icons do not come up when I use the brush tool.
View 4 Replies
Oct 30, 2009
On my website: www.iferanart.com under the animations tab I have several animations that I embeded using Flash's premade option: "SkinOverPlay SeekStop.swf" player. The only change made to it was the color.My problem is that, as you can see when you go to the website and click on an animation, there are no play options at all.I have no idea what to do to fix this because when I publish preview they are there...but once I loaded the website to the server..nothing. The website is coded in AS3, built with Flash CS4.
View 3 Replies
May 29, 2010
I am having a problem with CS3 Flash and the toolbar on the left. Certain tools have options and those options are not showing up. Yes, I went to Customize Tools panel and checked and those options are listed to the right of each tool that should have them (Example: Rectangle tool: oval tool, polystar tool , etc) and even hit reset to default and still those options do not show up on the actual toolbar. I made a graphic thinking that would make them show up and no it didn't.
It seems to be a problem for each tool that has a options and they are
1. Free Transform Tool,
2. Pen tool and
3. Rectangle tool.
View 3 Replies
Jun 7, 2010
I have a gallery slide that is going to be greater than 4000px in length. I have a slide movie instance that I script to slide from right to left.
This method require two slides to make them appear to loop seamlessly. So that is 8000px wide in total. I remember that Flash can only slide movie instance 3000px wide.
What other options do I have to allow for this type of slide length. Inside the slide movie instance, it contains all my images and text that are positioned differently from each other.
View 1 Replies
Jul 15, 2010
what my practical options are for publishing interactive 3D models on the web? I would think either Flash or Silverlight would be the way to go, but even if this is the case, perhaps there are some frameworks already available based on theseDetails:Fairly simple modelsMust support 'bones' and joints etc.Some level of user interaction requiredSome animation required.
View 9 Replies