ActionScript 3.0 :: Design Logic Gates Using Flash?

Mar 22, 2011

how to design logic gates using flash?its a part of a project

View 4 Replies


Similar Posts:


Flash :: Logic For A Matching Game?

Feb 5, 2011

I was given a task to make a match making game in actionscript 2, problem is, i have very little knowledge about the language (well, and how matching works in as2, what are the important codes, code emplacements, and all I am new in AS2, and i really need a lot of help with our project. :)

I plan to match images. But.. I was planning to have a sort of "Compatibility" match-up game, like,..let's say we have two batteries, one has a 50v capacity(how do u measure batteries?) then the other has a 100v capacity, then there's this battery slot that only accepts a 50v battery, then you will have to match this 50v battery to that battery slot, that's my concept for the game, sir. I hope you got what i said, sir. :D

View 1 Replies

Flash :: Logic Error In Actionscript Code?

May 29, 2011

I have the following logic in my code

if((leftCombo.getSelectedIndex() !> rightCombo.getSelectedIndex())&&(rightCombo.getSelectedIndex() !< leftCombo.getSelectedIndex())

Doing something wrong obviously.Here are the errorsScene 1, Layer 'Layer 1', Frame 1, Line 112 1084: Syntax error: expecting rightparen before not.Scene 1, Layer 'Layer 1', Frame 1, Line 112 1084: Syntax error: expecting identifier before logicaland.Scene 1, Layer 'Layer 1', Frame 1, Line 112 1084: Syntax error: expecting semicolon before not.

View 2 Replies

ActionScript 2.0 :: Logic Error Or Flash MX Limitation?

May 6, 2002

This is my problem that I have been fighting for way too long. I have a grid with some 300 boxes in it. I want these boxes to populate the grid randomly with random number of boxes populating each time.

My grid is a MC and all of the squares in it are the child of a another MC. All squares are named 1-300 and as you can see in the array, I am testing just 18 right now. I am hoping that it is possible to do what I want to do with an array because I think it would save me a lot of time and save computers a lot of processor juice.

I have been able to get the setProperty to affect the squares that the array points to, but it won't move on to any other squares. Or it will make the entire MC invisible.

CODE for frame 1:
//This code should wipe the grid clean
Boxes = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18];
for (count = 0; count<=18; count++) {

[Code].....

View 9 Replies

ActionScript 3.0 :: Flash Math.random Logic?

Aug 11, 2010

@ 1) I have a big problem with Math.random logic in the animation on the top of this website ( danceacademy.cz ). If you leave it for lets say 3 minutes it'll start breaking (see for yourself please).
@ 2) Also animation shows mostly the Yemi guy which is undesirable behavior . That's because he is on the end of the code ( else { // In case the random number is 1 myMainMovieClip = new yemimain(); )

[Code]...

View 1 Replies

AS3 :: Flash - OOP Visualization Logic - Linking Filters And Data Source?

Aug 16, 2010

I'm trying to visualize the results of a quiz in ActionScript 3.0.What I would like some input on is how to best link the "filters" (top right corner in attached image) to the data source in a flexible OOP way.The result array now contains both number of correct answers and meta data about the person taking the quiz. The meta data could be both discrete (sex) or continuous (age).

results = [{name: "Lisa", correct: 5, sex: 0, age: 52}, {name: "Peter", correct: 3, sex: 1, age: 32} ... ]

How do I tell the boxes to, for example, change color when I change filter?Should each box object hold its own data or should there be some sort of controller listening to the filter object to dispatch an event and thereafter call a box.setColor method?

View 2 Replies

Actionscript 3 ::Spin Effect Flash Gallery, Require Script Logic?

May 7, 2011

Im developing a flash based image gallery with a spin effect. at once you see only few images but you should have the option to reveal more images similar to this design [1]: http:[url].....jpg [Flash Photography Template]: http:[url]....I need the logic, should i just play with the tweens or it could be dynamic with action script?

View 1 Replies

Doing Interaction Design With Flash

Feb 28, 2011

I've been trying to teach myself flash for a couple of weeks and am totally lost. I have had experience with programming in the past, so I understand logic, etc, but I really am not grasping this forced time based system.What I need to do seems pretty simple. I have a jpg of a washing machine front panel. I need to be able to put some transparent "buttons" over it, and have some areas "light up" when the buttons are pressed. So far I understand that I have to work in a chronological setup, with key frames for each state of interaction, and use buttons with some kind of gotoframe action script. what I can't do:

1. get the background jpg to stick to the stage. it apparently has to be either a symbol or a layer?

2. make transparent buttons. in flash catalyst I can just set the opacity to 0, but I'm not sure how to do this in flash pro.

I guess those are the pressing issues. I had tried to import the jpg as a psd background, but then I had to put the button on a separate layer, and it was always either behind the background, or I had to have it's action refer only to the timeline of it's own layer and not the background.

View 10 Replies

UI Design In Flash Games?

Mar 21, 2010

Background: I've been coding in VIM/C++/OpenGL for a long time.I've come to realize that this (VIM/C++/OpenGL) isn't the way to learn about programming fancy/cool-looking/futuristic UIs; and that the design of such UIs belongs more so in the artistic/designer world of Flash.

Anyway, I currently have a machine with MacOSX. What software should I install? What book should I read to learn about the artistic/design side of these futuristic UIs? [It's okay if the tools to design them are mouse clicking + graphical rather than coding based].

Question: what software packages + books to read to learn about creating fancy-looking / futuristic UIs in flash?

View 3 Replies

Best Design 2 Developer App For Flash

Aug 11, 2009

Does anyone know which programs work best together with flash for importing graphics that are vector based. I need to know what program a graphic designer should use, so the programmer (me) can easily import the design into flash without much fuss. I know that illustrator is kind of good, but i heard that you could also use indesign.If you know of any limitations or little quirks one has to watch while exporting importing to / from flash or illustrator, had a problem with an illustrator file once that used many effects, it crashed my flash ide durring import.

View 1 Replies

ActionScript 3.0 :: Get Into More Advanced Flash Design?

Nov 18, 2009

I am looking to learn Actionscript 3 but have not been able to find the best way to do this. I have knowledge with HTML and CSS and have used Flash to create simple web banners, etc., but I want to get into more advanced Flash design and use Actionscript. I have looked through books but they all seem to require some knowledge of programming already. What is the best way for someone who has no programming experience to begin to learn Actionscript? Is there a specific book someone can recommend, or training course or a person who does 1-on-1 training?

View 7 Replies

Professional :: Statistics On The Use Of Flash In Web Design?

Jul 27, 2010

I am doing some academic research on Flash and I would like to find what is Flash the most used for, or what it is the best at, in designing web sites. I would need some quantitative figures, charts, stats to illustrate this research. I have found many websites presenting the Flash player penetration but I am looking at the actual use of Flash (in video, animation, User Interaction, ...). For example, "96% of the video on the web is displayed with Flash (3% JS, 1% HTML5 video tag, ...)" ; or "vector graphics are mostly created with Flash, rather with SVG or JS".

View 7 Replies

Flash :: Migration From Design To Programming?

Mar 11, 2010

I've got in over my head trying to learn programming, but love it.How would you teach a designer to migrate from design to object oriented programming?

My interest is AS3 in Flash IDE, but any advice is welcome. Looking for a full explanation.

View 5 Replies

Flash - Best Design Pattern For RTS Game In AS3?

Jul 3, 2011

I'm looking to get some good books on design patterns and I'm wondering what particular pattern you'd recommend for a Realtime Strategy Game (like Starcraft), MVC?. I'd like to make a basic RTS in Flash at some point and I want to start studying the best pattern for this.

View 3 Replies

Flash :: Design A Website In It / Script?

Jul 23, 2011

So I have this project I'm working on and I'm trying to build the website part of my project. I have experience with Flash AS3, but not so much or none with JavaScript. My co-workers are telling me that they are almost the same and you can just build the site in JavaScript. But people can have JavaScript turned off, and not everyone uses Flash.

I'm having difficulty knowing what to use to build my website...by the way, this website is generally an application. It's going to have a menu with features and stuff. I figured I can probably do HTML and PHP, but there's some features I need that will be dynamic. I really want this site to be available to as many people as possible.

View 3 Replies

Flash TweenLite Design Pattern

Oct 3, 2011

Just curious. TweenLite/TweenMax is a very common animation library, and I was wondering how someone would classify the design pattern used in TweenLite.For those of you unfamiliar, here's some example code from their website:[code]

View 1 Replies

Actionscript 3 :: Web Design - Flash - Button Bug

Mar 17, 2012

I've run into this problem twice in all the site's I've designed and I can't figure out how to fix it. (The flash compiler has not given me any errors for this.) Here is the link first of all[URL] Once you're in the site click on portfolio and then click on "the excelsior" what happens is that for the first 4-5 clicks it won't do what it's supposed to do and it'll start randomly either stopping at a frame or playing a from a frame. Once it's done it's randomness it all works perfect again, but those initial clicks do not take you anywhere.

This is an externally loaded SWF and I've loaded it with 2 different techniques hoping it was that but that didn't fix it. I've tried simply placing a UiLoader and linking it and what it is now, a var myLoader. Anyone run into something like this before?

View 1 Replies

Php :: The Logic Of Ecards?

Dec 9, 2011

Would like to understand the basic process behind an ecard before I attempt to construct one!Obviously there could be the following elements:Initial web page containing a Swf (choose swf) offering a user a choise of ecards and a consisting of a series of text input fields to collect recipients and senders address and a message. With actionscript that calls a php file on the server.

Passing variables holding the card choise the card text the email from and to etc from swf to php file.The php script runs and creates a copy of a swf card, the one chosen by the user(swf1) It populates the swf copy with text from the variables set by the choose card swf.the php then sends an email to the recipient address with ? and this is where I am unclear?Does it send an attachment of the swf1 or how does it do it?

View 2 Replies

Flex :: Flash Builder 4 Design View Vs Flash Runtime Appearance W/SDK 4.1?

Jan 22, 2011

Flash Builder's design view is worse than 3's (which at least was usable if you ignore some quirks), so WHAT do Flex UI designers (those who don't have paid design teams...) do to design a complex UI? Because Design View (also based on what a lot of people say about it..) gets more useless with every release.See image for some differences in design view vs.Flash. WHAT is causing this? css also posted..("Duration", "hr", "min" are mx Labels, the image size text is an mx Text comp.Project is an "mx only" SDK 4.1 project.) I don't even care that the spinners look different, I just need it to show me correctly sized stuff so I can position things via Canvas, or properly size containers.

mx|Label {
font-weight:bold;
font-size:12;[code].....

View 1 Replies

ActionScript :: Splitting Flash Design And Coding?

Oct 14, 2009

Hi, I am brand new to Flash and I come from other development environments so I have a question about a possibility. I am aware that you can have a symbol (like a MovieClip) use a custom class to handle how it responds to the world, but I was wondering if it's possible to be able to set some values via flash without having to touch code. For example, I create a MovieClip called Crate, which has a class that lets it be destroyed, but then the designer wants to specify that certain crates have contents inside of them. Is there any way to do that in flash without having to create a new class for the crate?
 
In other words: the designer puts a Crate in the world and then sets a propery (for example: contents = TennisBall) and the Crate class handles the rest. Will this work? Also, am I right to understand that instances of symbols are all the exact same? So I can't have the designer create a new instance of Crate and then change it to be a little different (like draw a sticker on the Crate), but still have it be the same as all the other Crates?
 
I hope these questions make sense and I apologize if I asked this in the wrong forum. I'm very interested in developing games for flash, especially after the news that CS5 will let you export to the iPhone, but I'd like to keep the code away from the designer as much as possible,

View 2 Replies

Professional :: Design And Add Interactive Flash To Website?

Jun 28, 2010

I am looking to design and add an interactive flash part to our company's website. Since we do a lot of business planning and consulting, we have come up with a great idea, but unfortunately, none of us really know how to create it. Basically from what I have researched, I will need to incorporate animated buttons in a flash movie. I have attached a quick sketch of what the website will look like. The part I need to work with is the middle section with the boxes.

What I need to do is this:
The 5 gray boxes need to be buttons that link to their related pages. When the page loads, I want the animation to draw the first box, create the line, draw the second box, draw the next line, etc. until all the boxes and lines are drawn. This is a process map and since we do a lot of these for our work, we thought it would be nice for us to incorporate this into our website. Furthermore, it would be ideal if these boxes were links to different pages on the site as well.

So my question is this:
-What do I need to create in order to have this animation work
-Where is a good place to start looking in regards to creating something like this
-Is this even possible

View 2 Replies

Flash :: Professional From The CS5 Design Premium Programs?

Jan 9, 2011

I am trying to learn Flash Professional from the CS5 Design Premium programs. I have the Adobe CS5 Design Premium Digital Classroom to go along with the programs. One of the classroom projects is to add TLF text to your graphics. But it doesn't work. I can get the Classic Text to work but this is no use to other lessons when most refer to the TLF text. Even one lesson file you open has the completed work that you are to refer to and the text is not showing up in it.  I have Windows 7, Flashplayer 10, and ActionScript 3.0.

View 6 Replies

ActionScript 3.0 :: Foundation Game Design With Flash

Aug 4, 2011

I am reading a book called foundation Game Design with flash and there is good that is not working at all.

package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class Main extends MovieClip {
var startPage:StartPage;
public function Main() {
startpage = new StartPage;
addChild(startPage);
}}}
The error is 1120

View 3 Replies

Actionscript 3 :: Best Way To Design Flash Site With Some Content

Jun 6, 2010

I am new to flash and just learned some action Script 3 with some events.I have to build site with dynamic menus and then contents for each page using xml.Is there any example on web to show how I can build the site.

View 2 Replies

ActionScript 3.0 :: Design A Flash Site With A Menu ?

Feb 16, 2009

I am really new to flash and my first project is to design a flash site with a menu like http:[url]..... I really love the way this menu works as you know where you are at all times. Can anybody point me in the right direction of where to start? I have made all the graphics in flash and now I just need to start actionscripting.

View 1 Replies

Actionscript 3.0 :: What Are Tutorial Sites For Flash Web Design

Nov 26, 2008

any one know what are the tutorial sites for flash web design..?

View 3 Replies

ActionScript 2.0 :: Design A Form In Flash And Then Export It As A .exe?

Aug 1, 2003

I was wondering if it is possible to design a form in flash and then export it as a .exe?

View 1 Replies

ActionScript 2.0 :: Concerning Logic Operator -=?

Sep 19, 2005

Im doing a tutorial in a book that moves a car from one end of the screen to the next by buttons.When you release a button it moves the car 10 pixels more down the X axis.The code confuses me and I want to understand it Please Help!

Here is the code:

// stop the cars traveling
stop();
// callback for onPress event on 'back' button
back_btn.onPress = function() {
// move my car -10 pix

[code]...

Why does the - sign and + sign appear before the = instead of after?Is this a logic operator(-= or +?Why doesn't putting the - sign or + sign after the = work?

View 2 Replies

ActionScript 2.0 :: Design And Build Flash Dressup Game?

Feb 10, 2011

Would like to know what is the best way of designing and building a basic AS2 flash dress-up game for girls and boys.

Are there any templates one can get going with?

The flash should be able to save a snapshot at any given moment and email the snapshot to 5 or less friends.

View 1 Replies

ActionScript 1/2 :: How To Design Flash Ad That Requires Specific ClickTag

Feb 11, 2010

I'm designing a Flash Ad that requires a specific clickTAG.
this.onMouseDown = function() {
var fo:LoadVars = new LoadVars();
fo.send(_root.clickTAG, "_top", "POST");
}

I want to implement user initiated sound, but I can't seem to define a certain region for the clickTAG. Also I'm using AS 2.0. I know the clickTAG won't take me to the proper location, but I uploaded it to my website to test the audio. [URL]. I tried placing an invisible movie clip over the location I want the clickTAG to work and attached the ActionScript to the mc.

When I scroll over the audio button it changes, but when I click it, instead of playing the audio it just tries to go to the URL. I also tried using a button, but that didn't work either. The website requires this specific clickTAG, which is annoying because I've used others in the past that didn't have this issue.

View 1 Replies







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