Professional :: Create A Simple 'prize Draw' Program?

Aug 23, 2010

I'd like to create a simple "prize draw" program that randomly selects a name (or number) from a list of names, I'd like it to be my own custom version. For a programmer this is probably the easiest thing but I'm new to programming (beginner), don't eve know if I'm in the right subcategory (flash).

View 1 Replies


Similar Posts:


Professional :: Produce Some Very Simple Checkboxes To Insert Into An Elearning Program?

Dec 23, 2011

produce some very simple checkboxes to insert into an elearning program.The Checkboxes he created before he left are apparently overly complex and refer to _root and/or _level0, which is a no-no for the elearning software.I've done some web searches to see what I can find but honestly I haven't felt this stumped since first year calculus.

View 3 Replies

ActionScript 3.0 :: Create A Simple Flash That Will Draw The Mandelbrot Set By Looping Through Coordinates?

Jan 31, 2009

I'm trying to create a simple flash that will draw the Mandelbrot set by looping through coordinates, sending those coordinates through iterations of the Mandelbrot function and drawing a line at those coordinates, who's color is dependent upon the amount of iterations taken. Here is that code:

ActionScript Code:
var dot:Sprite = new Sprite()
this.addChild(dot)
for (var X:int = 0; X <= 500; X++) { //Iteration for horizontal

[code]....

View 2 Replies

ActionScript 3.0 :: Create A Flash Application For A Contest, So That Participants Can Run For A Prize?

Oct 13, 2010

i'm trying to create a as3 flash application for a contest, so that participants can run for a prize. in order to participate, one must register though the application, by answering to 3 questions which must be saved to a txt file once the user clicks on a 'send' button. so i got 3 text input fields:

- name;

- social security number;

- answer to a simple question like "what's the name of the company that is running this contest?";

i know i have to use a combination of as3 and php in order to achieve this, but i've got a couple of difficulties:

- the txt file must be saved with a name identical to the participant's social security number;

- once the user hits the 'send' button, the php must check if the social security number is already stored (by checking the name of the txt files). if it finds an already existing file, then the new one must not be created.

View 2 Replies

Professional :: Draw Simple Lines And Shapes?

Feb 28, 2012

This question was posted in response to the following article: [URL]..

View 6 Replies

Professional :: Create A Flash Program That Uses It's Own Code To Send And Create Images?

Sep 29, 2010

I'm trying to create a flash program that uses it's own code to send and create images. Each square has a colour and that colour gets added into the array. A black, then grey, then white is:

filecode = ["Bl", "Gr", "Wh"];

That works fine, but when I try to paste it into an Input text box it will only fill in the first part of the array.

filecode = ["Bl,Gr,Wh"];

So the program has NO idea what I want.The only ways I can think of fixing this is by putting in 402 text boxes to suit every box...But every one of them needs a Variable Name.Or by sending the information straight into the array. But this way you are just looking at what you just drew, and that is not at ALL practical.

View 3 Replies

Professional :: How To Create A Simple Chart

Jun 15, 2010

How can I create a simple chart in Flash CS4?

View 1 Replies

Professional :: Create A Simple Circle?

Jul 19, 2010

how to create flash movies but the damn program is too complicated. Been trying to figure out how to create a shape inside it as it doesnt want to import any image I have into the library.Is there a way to just create a simple circle?

View 1 Replies

Professional :: Create A Simple Keypad?

Nov 1, 2011

I need to create a simple keypad. When using an embedded font in a dymanic text field I'm getting a strange result. I'm using .appendText in a function like this for each of the numbers:
 
function button1Press(event:MouseEvent):void {
MySolution.appendText("1");
}

[Code]....

In most cased when I press a second button, both numbers change to the second button that was pressed. Press the two and "2" is displayed. Then press four and it changes to "44". When using system fonts this doesn't occurr. This behavior only happens on the iPad. It's fine in the test window on my computer.

View 1 Replies

Professional :: Create A Simple Preloader For A Flv Movie?

Feb 18, 2010

how to create a simple preloader for a flv movie in AS2?and have combined Apple Motion content to some of the pages under portfolio (web, tech and more).I am using progressive download directly from a flv , so it is not working on a timeline with frames so therefor my normal scripts are not working.

In many cases the video is choppy.The site is hosted with Fatcow, (shared hosting) and getting not much more than 75 mps data transfer rate.I am using comcast and getting 30 mbps download speed, and most of the time it runs smooth on my computer.Does anyone have good experience with using a flash media server for video based content?[url]...,

View 7 Replies

Professional :: Create A Simple Dynamic Slideshow?

Jul 18, 2011

I would like to create a simple slideshow for my Web site that is populated with images from a database.  All I want it to do is pull the 6 most recent photos using ColdFusion, fade from one image to the next and loop. 

View 1 Replies

Professional :: Create A Simple Flash Preloader?

Aug 20, 2011

How can create preloader in flash (AS2).

View 7 Replies

ActionScript 3.0 :: Program To Draw When Mouse Is Down And Dragging?

Nov 27, 2011

I have written this code and i cannot figure out why my browser will freeze when i open it's html file:

Code:
package
{
import flash.display.*;

[Code]......

View 6 Replies

Professional :: Create A Very Simple Animation Using Two Images, One Of A Broken PC And One Of A Fixed PC?

Apr 5, 2010

I've used Flash before to create animations but it has been a long time. I've been asked to create a very simple animation using two images, one  of a broken PC and one of a fixed PC. I want the broken PC to come in from the left and then fade into the  fixed image of the PC which will be centred. I know this is very very simple but I can not for the life of me  remember how to do animation, motion tweening etc. I have the two images and I've tried importing them, converting them to movie symbols etc but  it doesn't go to plan. The animation needs to be between 1 - 3 seconds long at 12 fps. The document size is 550 x  400, standard I believe. I am using Macromedia Flash 8 Professional.

View 3 Replies

Professional :: Possible To Create A Simple Application Of Visualization Without Lines Of Code

Jun 30, 2011

I start to work on new web 3d engine. I call it IGood engine.As can be seen from the video, it is already possible to create a simple application of visualization without lines of code.Base on for alternative 3d.I am waiting your opinions.

View 1 Replies

Program/draw A Kareoke Style Scrolling Of Words?

Jun 29, 2009

Im here writing to you guys about a conflict I am having trying to find the easiest way to program/draw a kareoke style scrolling of words. The only logical way I can think of doing this as a newbie at flash animation is to type out the sentences then motion tween them accordingly so that the words are in sync with the Timeline and the soundfile(that is also synced to the timeline through manipulation of the fps) exactly.
 
However, I also want to create a slight illusion of perspective from the back to the front as it scrolls from RIGHT to LEFT. The only way I can think of to do this is to scale and rotate it accordingly in the motion tween.
 
Another problem I was thinking of was that all the sentences would have to be piled up on the right side of the stage waiting to be motion tweened across the stage and then piled up on the other side.

View 4 Replies

ActionScript 3.0 :: Most Efficient Way To Program Simple Game?

Nov 26, 2010

I am developing a Jeopardy-like game in Flash CS5. I am familiar with Flash CS5, but new to AS3. I don't know the language well, and to top it off my code hints don't work in Flash CS5. After researching this I've learned it is a bug that Adobe has yet to resolve. Anyway I am trying to program this game with very little knowledge about the language I am using. I've been watching tutorials and googling specific questions, but it comes down to the fact that I don't speak the language and don't have the resource (code hints) to make the language more available to me.What I am trying to do is simple:Imagine a Jeopardy game board.On the answer screen there is a button that takes you back to the gameboard. Here's the catch: the gameboard must remember which boxes have been chosen and not display those dollar values.

I understand how to program the buttons. I've been using gotoandstop for that. I am trying to figure out the best way to program this so the game remembers which boxes have already been chosen throughout the entire game.The specific question I have at the moment is how to reference an instance on another frame than the frame that has the code on it. For example: The gameboard is on frame 5. When the category A for $200 box (buttonA1) is clicked a Boolean var called 'chosen' is created and assigned the value of true. then the gotoandStop command moves the game to frame 10 which is where the question for category A for $200 lives. There is a button on frame 10 that takes you to the answer, which is on frame 11. And on frame 11, when you click on the button to take you back to the gameboard, I want it so that if chosen = true then buttonA1.visible = false. I get an error because buttonA1 doesn't exist on frame 11 - it lives on frame 5 and I have no idea how to reference it so that it will not be visible.

View 2 Replies

Flash :: Professional :: Create A Simple Paint Visualizer - Display Walls

Apr 4, 2011

i'm trying to create a simple paint visualizer in flash. need to display two walls for example and a vertical color palette for the user to choose from. an example would be the following link [URL] (it's very advanced compared to what i need but i couldnt' find a simpler one on the web).

View 3 Replies

ActionScript 3.0 :: Clear Function In Simple Paint Program?

Mar 26, 2009

i have been messing around with a script found for a simple paint program. After adapting the code a bit for my own needs and getting an understanding of how it works I had a couple questions.first of all I need to create a button that will clear the stage (or more specifically lvg1)second what does e reference in lines similar to

Code:
e.target.graphics.lineTo(e.localX,e.localY);

Code:
import flash.events.MouseEvent;
import flash.geom.Matrix;[code].........

View 2 Replies

ActionScript 1/2 :: Flash 5 And PHP With MySQL - Making A Simple Chat Program?

Apr 28, 2009

I am trying to program a simple chat program. I have looked all over the net for an easy to use tutorial for exchanging information between Flash 5 and a MySQL database. The reason this is so hard is because I just started PHP and MySQL last week.
 
A. Sending 1 line of text to a table in a MySQL database via PHP.

B. Allow flash to retrieve the latest line of text from a table.

View 6 Replies

ActionScript 2.0 :: Program A Simple Script Depicting The Passing Of Time?

Sep 13, 2002

Is it possible to program a simple script depicting the passing of time? Not necessary a timeline but rather a time code.My intention is to animate and integrate a 3D city (into Flash or Director) that is deteriorating/declining over time.I just might fake it in the end. i.e.Scrolling 24 hrs Days Weeks Months

View 4 Replies

Actionscript :: IDE : Draw A Simple 3D Line In CS4?

Apr 22, 2010

I have a number of sphere's which have random x, y and z values.I thought it would now be simple to create a vector with the x,y,z coordinates on the spheres I want to connect and that would be that.However the vectors remain in the 2D plain.

View 1 Replies

Flex :: Why Doesn't App Draw A Simple Rectangle

May 6, 2011

the code is straightforward and my Intention should be clear. Still i can get this to work:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 1 Replies

ActionScript 2.0 :: Draw A Simple Line Across Screen?

Sep 26, 2007

Draw a simple white, one pixel line across the middle of the screen at a moderate speed, with actionscript? Im having the hardest time.[code]...

View 11 Replies

ActionScript 2.0 :: Draw And Call A Simple Movie Clip?

May 7, 2010

I am new to actionscripts and I'm having some difficulty. I am creating a website that teaches kids about the about the brain and I am creating a website very familiar to this one,[URL]..So far I only know how to draw and call a simple movie clip such as what you see below. What I am trying to do is create the features that you see on the above website. I'll try to explain as best as possible what I have done so far:

I created one flash file and drew the background for where the text will display. Next I created several movie clips for each of the brain parts and I placed an invisible button over each of these movies. For example I told the button, "cerebellum_button" to play the movie "cerebellum_mc" and told it to go to the "turnon" label." Once it stopped at the label "turnoff" it displayed the text for what the cerebellum does.

I don't think that the below method is efficient, I feel that my code is redundant because I�m having to create a button for each animated movie clip, then each one of those movie clips displays text. It seems to me that I can somehow create a text in a centralized location and call it. However because I am new at this stuff I have had to create text in each of the movie clips. Is there a way that I can centralize all of the text then call it? My aim is to have the user roll over the brain part, have it animate, and have it display the text to explain what that brain part does. So far this is what I have working, I have one button and one animated movie that includes text.

cerebellum_button.onRollOver = function(){
cerebellum_mc.gotoAndStop("turnon");
}
cerebellum_button.onRollOut = function(){
cerebellum_mc.gotoAndStop("turnoff");

View 0 Replies

ActionScript 2.0 :: Draw A Simple Bar Chart For Our Interactive Annual?

Mar 19, 2008

I am trying to draw a simple bar chart for our interactive annual, and I thought i would try to learn how to use the api drawing tools, but I can't seem to get it to draw more than one line successfully.below is what I was using for one, but how do I tell it to draw more lines that are different colors? I attached a screen shot of what I want it to look like.

[Code]...

View 1 Replies

ActionScript 3.0 :: Draw Simple Triangles In Existing Script?

Jun 10, 2009

I'm not that familiar with AS3 but I got a script from someone where some objects are drawn.I want to add several triangles so that each triangle can be dragged on the stage.

Code:
package app.simpleShapes {
import flash.events.TUIO;// allows to connect to touchlib/tbeta

[code]......

View 6 Replies

Professional :: Create A Simple Floor Plan That Highlights Where The Computers Are On The Floor

Mar 31, 2011

I am trying to create a simple floor plan that highlights where the computers are on the floor.

1. Each computer has a name for e.g. Comp1, Comp2, Comp3 etc.

2. The computer names are in a list on the left hand side.

3. On the right hand side is the simple floor plan with computer images (or clipart)

This is what is expected:

1. As the mouse is mover over the item on the list, the computer associated with it must light up (or highlighted) For e.g. when the mouse is over Comp1 in the list then computer1 image (or clipart) on the floor plan must light up

2. When the mouse is over a computer on the floor plan, then the associated computer name in the list must light up For e.g. when the mouse is over computer2 image (or clipart), then Comp2 in the list must light up. I was trying to get some ideas from [URL]. I was able to make the image for a computer. It doesn't go far enough to tell me how to accomplish the above. Using Excel, I did this nearly five years back, by putting the clipart in specific cells and hyperlinking them. Now we want to make it available on the web.

View 5 Replies

ActionScript 3.0 :: Draw A Simple Circle Behind My Class Both Center Aligned?

Oct 20, 2009

I want to draw a simple circle behind my class both center aligned, but I'm getting problems with the coordenates of my class/movieclip.Here is my class.

public class SM extends MovieClip {
public var auxx:Number;
public var auxy:Number;[code].....

I think that my class/movieclip isn't at (100,50) because when I manually substitute 'auxx' and 'auxy' in drawCircle for 100 and 50, still not ok.

View 7 Replies

ActionScript 2.0 :: Button RollOver - Draw And Call A Simple Movie Clip?

May 13, 2010

I am new to actionscripts and I'm having some difficulty. I am creating a website that teaches kids about the about the brain and I am creating a website very familiar to this one, http:[url].......

So far I know how to draw and call a simple movie clip such as what you see below. What I am trying to do is create the features that you see on the above website.I'll try to explain as best as possible what I have done so far:I created one flash file and drew the background for where the text will display. Next I created several movie clips for each of the brain parts and I placed an invisible button over each of these movies.For example I told the button,"cerebellum_button" to play the movie "cerebellum_mc" and told it to go to the"turnon" label."Once it stopped at the label "turnoff" it displayed the text to explain what the cerebellum does.

I feel that my code is redundant because I�m having to create a button for each animated movie clip and in each on of the movie clips I have text that will display. It seems to me that I can somehow create text for all of the movie clips in one centralized location and call each one of those text by using labels. Is there a way that I can centralize all of the text then call it? My aim is to have the user roll over the brain part, have it animate, and have it display the text to explain what that brain part does.I have one invisable

button and one animated movie that includes text.
cerebellum_button.onRollOver = function(){
cerebellum_mc.gotoAndStop("turnon");[cod].....

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved