ActionScript 1/2 :: Building A Simple Checklist
Sep 25, 2009
I'm new to Flash CS3 and am working in action script 2.0.I've built a beautiful checklist that has a number of items on it.When you click on an item, that item turns green, then a box drops down to the next item on the checklist.Using the AS 2.0 stop(); command, I've simply made two frames of each checklist item (one in white font and the other in green font).Each time you click an item, I've used the behavior "gotoframe and stop" to make the movie play and stop on the last frame.When you get to the end of the checklist, I would like the clicking of the last item to activate the next checklist (which I haven't built yet). What is the best method to handle this problem?I've tried a new layer, but when I start the swf, all the layers are visible.I've tried scenes, but that doesn't work either.Is it possible to build the next checklist as a separate swf, then call that external swf up when you click the last item on the checklist? can't seem to get this last and crucial step to work.
View 9 Replies
Similar Posts:
Nov 3, 2011
I want to make some really simple board games that be played in your browser. AFAIK, there are really only two technologies capable of doing this: HTML5 Canvas, and Flash. I think Flash is on it's way out, so I think I should start learning how to work with the canvas.
My questions: Are there any other competing technologies/technologies I should consider? If canvas is the way to go, where can I get started? I already know HTML, JavaScript, and jQuery. I'm mostly interested in learning how to draw basic shapes and detect click events on these shapes.
I'm not overly concerned about supporting old browsers. Obviously I'd like to reach as large an audience as possible, but... I think it's about time people start upgrading their browsers if they want to keep up with the rest of the world, and this isn't going to be the sort of site you [should] visit at work, so corporate policies don't apply.
View 4 Replies
Mar 25, 2009
i am a fairly new user to flash 8 and am currently undertaking a project in creating a responsive knowledge based system in flash. i intend to give the user a set of 5 questions which they will have to answer using either a multiple or single selection of radio/checklist buttons.i am struggling in creating these buttons regarding the scripting behind it which enables the system to give the user feedback at the end.i will include 5 style of questions and depending on which ones they get correct the system will recognise this and not ask a specific type if the user is getting more of that one correct.
View 1 Replies
Jun 7, 2011
I have a checklist buttons on the left part of my screen, this buttons order wich frame should be played when you clicked on the next button I have in the right of the screen...
View 0 Replies
Apr 6, 2011
I am a bit new to AS3.0 and I created a fairly simple drag and drop type game based on this tutorial: [URL]. And it works wonderfully with my graphics however I need to add a "checklist" that keeps track of which items have been correctly placed on the targets after they are placed how do i go about this? For example: the square get's placed and in a list the text appears "the square has been added", next the circle gets placed and in the list under the text for the square the text" the circle has been added" etc... I would need the list to be able to be arranged automatically regardless of which item the user is selecting. How do I go about making this happen?
View 11 Replies
Aug 1, 2011
Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual. I suppose that makes me a promising beginner-level poster. I'm working in CS5.
I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html). I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression). Nothing fancy. Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).
I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own. I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.
View 4 Replies
Jul 7, 2010
I have implemented some utility classes in Flex that I want to use in multiple AIR projects. I have created a swc which contain these classes. I am working on a Linux machine and do not have FlashBuilder. So I am using the compc and mxmlc command line SDK tools. My problem is that I have not been able to find a way to specify the swc when building the standalone project. A tutorial suggested the following command: mxmlc -load-config /opt/flex/4.1.0/frameworks/air-config.xml -library-path=/path/to/utility.swc hello.mxml. However, using that gives me the error hello.mxml: Error: Unable to locate specified base class 'mx.core.WindowedApplication' for component class 'hello'. Everything works fine if I move all code from the swc to a single monolithic pro ject. The code for the standalone project is:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" windowComplete="completeHandler();">
[Code].....
View 1 Replies
Nov 25, 2009
I am creating a tool for use at the office. It has, at this point, about a dozen text fileds. From these textfields I want to build an XML document using AS. The way it needs to work is when a user enters text into these fields and hits the submit button that text is put into the propper tags. Each time the user hits the submit button another block of XML code is added to the file.
Here is most of the code. I am building this on another computer which is not online so I am only showing the important stuff here. It works so far but the only output I have seen is a trace. I could have the user manually copy and paste this output to the XML document but I would rather have the document built by the program each time the user hits the submit button. Am I even on the right track here? I have the correct output, now how do I add this output to an existing XML file?
function loadFile(){
var fileName:TextField = docName; //loading an existing XML file.
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.Complete, loadXML);
[code]....
View 2 Replies
Aug 18, 2009
I have no idea what to call it or where to start looking, so I am putting it in the generic and hopefully someone can point me to the right forum or area. Here is my project and I am trying to teach myself how to do these things. I had great help in making buttons on here a while back, now I am trying to build an object right in flash. The easiest thing for most to relate to is a computer that is being built from scratch. So, You start with a base picture of an open sided computer with a list of components underneath. By draggin those components to the box, it snaps them in place. You can also remove them the same way. When done, you click a tally button and it shows a list of all the components you added with product numbers.
View 2 Replies
Sep 25, 2009
I have the below actionscript almost working for playing mp3s. This isn't dynamic or anything. Just links to songs (from buttons) that should null each other out when clicked on. The first song loads fine. However, the second song will not load. I must be missing something. Or maybe I took the wrong approach? Any help would be great.
[Code]...
View 2 Replies
Oct 16, 2010
I remember reading somewhere how you can add variables building on the fly but can't find any references. What I have is a MovieClip in my library. I will use it to create several Menu Items.
This is what I have written:
LessonButton = new mcLessonBtn();LessonButton.name = "menuLesson"+i;this.addChild(LessonButton);
View 6 Replies
Nov 30, 2010
I have built a flash app that utilizes an rtmp feed to stream video and I want to be able to stream my own content. I am looking into building the machine that will run Flash Media Server and was looking for some pointers before I get started.
My flash based application runs independently on a large touch screen and is going to be the only pc accessing this server, so I was wondering how beefed up the server needed to be. I would like to get it stream three live hd feeds. Can I run Flash Media Live Encoder and Flash Media Server on the same machine?
View 2 Replies
Aug 7, 2011
I'm looking to build a flash application that acts as a "shell" around a flash game.I only need it to do some pretty basic functions:
1) Calls a PHP script I wrote to determine a few things (if user is logged in, what their userid is)
2) If the php file says the user is logged in, the "shell" should let the user play a .swf flash game that I wrote. And, after they are done playing my .swf game, I want the game to pass out a parameter (score). Again, the "shell" will call a prewritten php script to store the score.
3) If the php file says the user is NOT logged in, the "shell" should display a login box (username/password).
My main challenges have been getting one flash application to call another. (ie: the shell app calling my game). Is this possible?
View 1 Replies
Dec 16, 2009
I need to build an "interactive floorplan" for a shopping centre (or two). Many shopping centre websites already have this (eg Bluewater in the UK). Traditionally, the way to build such a floorplan / map is to do it in Flash. The actual floorplan is a Flash asset and the data that describes which retailer is in each location is fetched from the webserver as XML. That way editors can update the location of retailers without having to edit and recompile the SWF file. However if the floorplan itself changes (for example, a larger shop is split into two smaller ones) then the map has to be edited. Another disadvantage is that the data isn't readily available to third parties for mashups etc. So apart from Flash what would you consider using to achieve the same effect? I know of SVG but IE doesn't support it.
View 1 Replies
Aug 31, 2010
I'm working with a large set of hierarchical taxonomic terms, where each term ("203") has a matching "term203" movie clip on the stage, and am having trouble getting a recursive function to return all of a given term's descendants.There is a main Dictionary() object with the following nested organization for each term:
{ [object Movie Clip] : { "tid":203, "parent":99, "name":"Culture", selected:false, "otherData":"etc" } }
...where the [object Movie Clip]'s instance name would be "term203". All of these object:subObjectArray items ("terms") are stored in a master taxonomy:Dictionary() object.I've been trying to make a recursive function (which is in itself already a little above my head) that takes the click.target of a movie clip and returns a new Dictionary() object with all of the children and grandchildren and great grandchildren (etc) of that term, in the same, nested organization described above.
The code below traces the right number of recursive loops, but the returned Dictionary() object only contains the first run's terms (only the immediate children of the requested term).
var taxonomy:Dictionary = new Dictionary();
// ...Term info is loaded into taxonomy from a JSON-style text file)
// ...MOUSE_OVER event listeners are added to each
[code]....
I certainly do not claim to be the most efficient AS3 programmer, so I am open to alternative configurations. However, after trying static and nested Arrays, I would prefer to continue using the Dictionary() object as my main pool.As noted, only the immediate children end up animating in the revealChildren() function. It's mystifying to me then, that in the getAllChildren() function, all of the descendants trace sequentially (well in no particular order) in the output window.Also I can't get any sort of name or property out of the subSet Object. That could be the problem.I've only tested it as far as 'two generations,' but it seems that only the first round of calling the function successfully adds those terms to the new Dictionary() object and returns it intact to the animating function.
View 1 Replies
Aug 20, 2011
converting my swf to exe and app. I know that there are several options available. My application will be frequently updated so update feature is essentions for me.
p.s. As another option, I can make app and exe out of a loader app that will load main application module every time it is updated.
my main concern is about build in update feature inside projector eg. Mac app will be able to check for new version of my app automatically...
View 4 Replies
Oct 3, 2011
building and using a SWC.Essentially, my only goal is to put a bunch of assets in a library, and have those assets included when a different swf is compiled. Compile-time, not runtime.
In my assets FLA, I add an FLV to the timeline of a movieclip. In the movieclip properties, I select Export for ActionScript and give it a unique classname ("FLV_intro"). In Publish Settings, I choose "Export SWC" and click Publish.
In my main FLA, I goto Actionscript Settings, Library Path, and add the SWC. In the code for my main FLA's document class, I do this:
var VideoClass:Class = getDefinitionByName("FLV_intro") as Class;
_video = new VideoClass();
_videoHolder.addChild(_video);
The result is a SWF that does not have the increased filesize of the assets SWC (~30mb), and obviously, the video doesn't show up.Again, the goal here is to have large media assets, such as FLVs, external from the main FLA code, but the resulting SWF to contain everything when compiled - no external SWFs at runtime. The client requires a singe SWF. Additionally, I can use a different, smaller set of assets when developing to make development faster.
View 3 Replies
Jun 27, 2006
I'm trying to dynamically build this structure from my XML file:
[Code]....
Now I know how to parse the XML file, but I'm just confused how I should build the array described above using this XML file.
View 8 Replies
Mar 13, 2007
has anyone had any experience building or setting up a web-cam? i feel like this is old technology and should be easy to do. however i dont really even know where to start as far as company to go through for streaming it what to buy etc. this will be something that at points there could be 30,000 or more people watching because it is for a radio station in chicago. so i have to think about traffic?
View 2 Replies
Oct 23, 2007
I'm building a RSS 2.0 reader and have only a vague idea of how to do it except use URLLoader and URLRequest to start everything. Can anyone point to a good tutorial?
View 1 Replies
Jan 2, 2009
building a preloader in Flash. It's about pre-loading swf files in the background while the visitor is watching a page. For instance, I have a start page built in HTML. It will have links to various swf-clips. I would like for those swf-clips to start caching immediately once the HTML page is loaded so that there is no (or little) delay once the visitor clicks on any of the links.
View 1 Replies
May 4, 2009
I need help building a site entirely on Flash from scratch. I am a beginner at the software, I know what most tools do, I know how to create basic tweens and stuff, but well, all in all, I'm a beginner. I know absolutely nothing on Action Script (be it 2 or 3), and I want very much to learn Flash now. To do so, I want to put online a portfolio site for me. I already know Photoshop, Illustrator and After Effects quite well, so I think now's the time to give it a shoot. On to business:
1. So, first, what size should it be? I wanted it to be something around 1024 x 768 maybe? Is it possible to set an adapative resolution for the site? (I don't know if that's the correct term, what I meant is that the site changes resolution according to the users who are accessing it.)
2. I heard that if you don't use ActionScript to animate things, the site gets mega heavy. Is that true? What should I use ActionScript for when building this website?
3. Is it possible to organize the loading priorities? As in, the order in which things load, so that the site gets a bit more dynamic allocating the user's connection?
4. Are there global standards for Flash-based websites?
For now, I guess this is it. I'm starting this project today, so I'm still not quite sure what other doubts may pop up.
View 1 Replies
Nov 25, 2009
I am creating a tool for use at the office. It has, at this point, about a dozen text fileds. From these textfields I want to build an XML document using AS. The way it needs to work is when a user enters text into these fields and hits the submit button that text is put into the propper tags. Each time the user hits the submit button another block of XML code is added to the file.
Here is most of the code. I am building this on another computer which is not online so I am only showing the important stuff here. It works so far but the only output I have seen is a trace. I could have the user manually copy and paste this output to the XML document but I would rather have the document built by the program each time the user hits the submit button. Am I even on the right track here? I have the correct output, now how do I add this output to an existing XML file?
function loadFile(){
var fileName:TextField = docName; //loading an existing XML file.
var loader:URLLoader = new URLLoader();[code].......
View 1 Replies
Jan 10, 2010
I'm trying to figure out where to get started on a menu like the one found at:There are several links, and as you rollover each of them, it changes the image above them. However, the image above them has links in it as well.I'm completely lost on where to get started as it seems like rolling over opens another page right above it.
View 4 Replies
Oct 12, 2009
HOW do I go about doing it?Ive tried...buttonon "over" create to movie clipinside movie clip have my animations and sublink buttonsit works fine, but there's one problem, The hit area of the main button HAS to cover the hidden sublinks, so even if you scrolled your mouse over the bottom of the button (in the invisible area) it will still show since its in the hit area).How can I create a simple nav drop down? I seriously have went through almost all tutorials, both video and text, and nothing has worked! I am using Actionscript 3, or whatever the tutorial says to use.edit: Here is something I'm working on. Its a button, and on the rollover it creates the animation. Obviously it doesnt work, because you cant have a button inside a button, so I don't know the actionscript to do this.
View 2 Replies
Aug 1, 2010
I am supposed to design a Flash application. Part of this application consists of a search window. It is similar to your search window on a DVR. When you want to find a specific show or movie to record, you cycle through the letters and type it into the search box. As you type, results are instantly posted. Once you see the one you want, you can simply scroll over and select it. You can move in and out of the search box as needed.
View 6 Replies
Jul 6, 2009
I am putting together a gallery that will show about 60 images. basic fade-in transitions between the images. I need to animate the company logo (very basic) and show some text below each image), becasue of this I dont know if any off the shelf xml based gallery will work? As usually you just define the image name/path and run the swf. This is for a presentation and not web so maybe not possible to be Xml based. Is there anything that is out there that could work for this and if not i suppose I am doing everything in flash but fear this as thimeline will be so long and a bit of a nightmare to do, if I have to do this in flash, I would have each image occupy about 20 frames 1-9 it will fade in, frame 10- a 10 sec pause, and frame 11-20 a fade out, that will still give me a timeline of 1200 approx.
View 1 Replies
Aug 24, 2009
I'm currently building a custom flv player and need some help. Maybe I'm missing something, I'm not sure. The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.
[Code]...
View 9 Replies
May 13, 2010
I'm making a spark component and I've defined my own skinpart which doesn't show up in Flash Builder's design view. When I run the app it works fine. I'm basically using Panel and PanelSkin as a guide. For debug purposes... I just took the panelskin and renamed the controlbar to headerI'm posting code below... but this forum kinda killed all my code formatting
Console.as
package
{
[code]......
View 3 Replies
May 18, 2010
Does anyone know where I could go and learn how-to build a gauge that will animate under certain conditions? Preferably in AS3. Not sure where to start on this one.
View 2 Replies