[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Question Flash Need help!

Posted on 2005-05-10
2
Medium Priority
?
193 Views
Last Modified: 2010-04-03
here's my question I am going through my code and I hit an IF and ELSE statment
does flash do the trace in the IF part even thou it's not suppose to be in that branch of code!


For example:

  IF  this doesn't pan out
       trace("inforamtion")

  ELSE
       do this  
         trace("parts")

d.
0
Comment
Question by:Dstathakis
  • 2
2 Comments
 
LVL 18

Expert Comment

by:Billystyx
ID: 13969641
no
0
 
LVL 18

Accepted Solution

by:
Billystyx earned 2000 total points
ID: 13969658
if(something=true){
trace("information");
}else{
//do nothing
}

only if something is equal to true will your trace show (and only whilst testing the movie in flash - because traces don't show up in the flash projector or embedded in html

Billysytyx
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month20 days, 3 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question