ActionScript 2.0 :: What's The Difference Between If, While And Do
Aug 9, 2004What's the difference between if, while and do..while besides the way they are presented?
[Code]...
What's the difference between if, while and do..while besides the way they are presented?
[Code]...
what are the differences between '.this' and '.stage'?
View 4 RepliesWhat are the main differences between the versions?
View 3 Repliesi am intermediate programmer.but i think that has ended 2 days before when i came across a simple while loop.which i can't figure it out how the stuff works..[code]from 1 - 9 ,that is (1,2,3,4,5,6,7,9);I want to know difference between pre and post additions in the loops.if the first program adds the increment value after each loop , then why didn't it prints the (0) value. and i also want to know that ,Why this methods does not have any difference on for loops....
View 9 RepliesBoth are working, can be used, but I'd like to ask what's the difference between '}' and '};'. Let me know if I asked something very stupid.
View 4 RepliesBut what is the difference between [] and (). I used () in the random letters tutorial and it didn't work. When i used [] it worked.
View 2 Replieswhat's the difference between for example:
var H:int;
var _H:int;
I am trying to load random external SWF's using XML. I'm not having any problems loading JPG files, but the SWF's just won't load. Is there a difference between JPG's and SWF's when loading using loadMovie? Pointers to tutorials or pages in the manual would be great.
Here's a snippet of the code:
[AS]
function firstImage() {
if (p<(total-1)) {
p=random(total);
[Code]....
I was looking for the difference between the different content types in Flash CS3/CS4 - Browser/Screen Saver/Application etc - especially it's capabilities and limitations. Of interest are Standalone player and Application.
View 3 RepliesEach line in the dynamic textbox has 15 characters, and yet you can notice the difference in the length(between each line).
I want to make the length of each line look same if they have same number of charaters.
Suppose I'm building a game where your ship moves with left/right keys.I assign a speed variable which is the number of pixels the ship will move when you press one of the said keys.Currently (on the tutorial I'm following) I have:
Quote:
static const speed:Number = 150.0
Can't I just replace it:
Quote: var speed:int = 150
Also, what's the difference between var a:Number and var a:int? And is there any important reason to add the .0 in 150.0?
I was just wondering what the difference between these two is.
View 1 RepliesWhat is the Difference between macromedia flash and flash cs4. What is the Advantage of Flash cs4. Why Flash CS4 came..?
View 4 RepliesWhat is the difference between set and get functionality?
View 1 RepliesWhat is the difference between FMS 3 and FMS 3.5? Is 3.5 a totally new version or just some kind of service upgrade?
View 8 Repliesdifference between XML and XMLList in my example code? I am passing a node to the function and extracting the url of the file:
private function getFile(node:XMLList):String {
var file:String;
for(var i:uint=0; i<node.children().length(); i++) {
trace("Test 1: "+node.children()[i].@id);
[Code]....
Why do I have to have 'current' as XML and not as XMLList? I thought XMLList's with length == 1 are handled as XML's anyway, aren't they?
Just want to clear a very basic doubt am having for quite some time.
Is LCDS and FDS the same
What differences are there betwee Flash CS4 and Flex, besides the GUI of Flash?
View 3 RepliesI have heard different things in forums but unable to find a concrete answer on the difference between obj[name] and obj.name. Does the compiler treat them differently?
View 3 Replieswhat is the difference between skin and CSS??Why it is better to use skin over CSS in Flex.
View 2 RepliesJust wanted to know if someone can explain the difference between these two conditionals:
if ( !object )
if ( object == null )
where object is an instance of a user-defined class.I'm sure that these two cannot be used in an interchangeable manner, or are they?
can someone describe these 3 technologies, the differences between the, and how they relate to each other?
View 2 RepliesAny way to know in the code which platform you are on?
View 1 RepliesI need a small clarification. infact i want to know the exact difference between "import fl." and "import flash." ??
import fl.events.*;
import flash.events.*;
at what point of time we will use fl. and flash. ?? or in what cases do we use those ??
i am pretty new to action script. please explain me wats the difference between _x and _xscale...
View 1 Replies1) Is it true that every data type within as3 is a subtype of Object?
2) Is there any (ANY) difference between typing a variable or function argument or function return as Object versus *?
How do i get the difference in minutes between 18:30 and 19:15?
View 1 RepliesI have two similar Objects. I want to compare them to determine if they are different data-wise (see below), and if so, display what the difference is. To complicate things, let's say the Objects are totally anonymous - I have no knowledge of their structure, contents, cannot attach listeners, etc.Comparision turned out to be easy: I'm using the classic "Serialization" approach, which comes from Java:
ActionScript Code:
public function compareObject(obj1:Object,obj2:Object):Boolean {
// serialize the objects
var buffer1:ByteArray = new ByteArray();
[code]...
If the data in the objects is in any way different, the routine returns false... classic Byte-compare. Easy, fast, very efficient.Now here's my question: is there an easy way to determine WHAT the difference is? I'm thinking along the lines of some kind of change object or XML structure that says "This field changed value, that array got this item added, this property was removed, etc".I started playing with complex looping structure and iterators until someone pointed that some object fields/properties cannot be found via iteration.
I've just been having a rather confusing debate with a fellow student about the following: what is the main difference between Actionscript 1 and 2? can you use either on MX 2004? what's are the benefits of using one over the other?
View 2 RepliesWhen I am testing these movies in flash (command return), and the files are on a local drive everything works fine. when I upload them to the server and test them in the browser they don't function. Not the same anyhow.
for example one will work fine, the next time i choose one I only see the loader bar progress, and if i try one that has already been tried nothing seems to happen, Is there something obviously wrong???
[Code]...