ThemeForest

crashing flash cs3/cs4 w/ 1 line of code...

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 1 000 and 5 000 dollars
za says

var version:Number = 0.0.1; trace(version);

the first line is the only line needed—the second line is only there to show you what happens if you put this anywhere in your code. i know whats happening but i can’t for the life of me figure out why the compiler is this pathetic.

discuss?

2478 posts Premium Scripts, Plugins and Themes
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 200 and 499 users
+1 more
LucidStudios says
var version:Number = 0.0.1; trace(version);

the first line is the only line needed—the second line is only there to show you what happens if you put this anywhere in your code. i know whats happening but i can’t for the life of me figure out why the compiler is this pathetic.

discuss?

report it here: http://blog.flashden.net/general/flash-cs4/

2671 posts
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 50 and 99 users
  • Sold between 100 000 and 250 000 dollars
  • United Kingdom
  • Won a Competition
Chuckanucka says
but i can’t for the life of me figure out why the compiler is this pathetic.

adobe.

69 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • South Africa
Morg says

Strange… doesn’t crash my Flash. I run CS3 .

I tried both AS2 and 3. AS2 threw a compiler error, but AS3 just went on to publish the file.

755 posts
  • Beta Tester
  • Bought between 100 and 499 items
  • Croatia
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 50 and 99 users
  • Sold between 50 000 and 100 000 dollars
djankey says
Strange… doesn’t crash my Flash. I run CS3 . I tried both AS2 and 3. AS2 threw a compiler error, but AS3 just went on to publish the file.
Same here (CS3 & CS4 , AS2 & AS3 )
2557 posts Nice Guy
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 200 and 499 users
+5 more
RubenBristian says
Strange… doesn’t crash my Flash. I run CS3 . I tried both AS2 and 3. AS2 threw a compiler error, but AS3 just went on to publish the file.
Same here (CS3 & CS4 , AS2 & AS3 )
+1
1040 posts
  • Elite Author
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Won a Competition
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Microlancer Beta Tester
  • Author had a File in an Envato Bundle
+7 more
ranfirefly says

CS3 , AS2, doesn’t crash… but of-course, “syntax error”.

131 posts
  • Exclusive Author
  • Has been a member for 4-5 years
Longhorn555 says

Sorry but nothing happens in CS3 +Flash Player 10+AS1/2/3…

1234 posts
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 50 and 99 users
  • Sold between 50 000 and 100 000 dollars
  • United States
MBMedia says

I think what he means by crash is it throws errors, and it would because 0.0.1 is not a valid number, numbers don’t have multiple decimal points, in flash, math, or anywhere else in general. You could make a string:

var version: String = "0.0.1";
3256 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Beta Tester
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
+4 more
ParkerAndKent says

If that doesn’t give any error is maybe because your not working in strict mode… otherwise the swf will never be compiled ;-)

by
by
by
by
by