swishzone tips

Sep 25, 02:58 AM

transparent background

BETTER – on save, just change wmode to transparent on the “save html” part

1) on scene, set BACKGROUND-TINT to alpha=00%

2) add this to html: <embed wmode=“transparent”

more here

passing parameters from html to swishzone

1) set static/dynamic/input to “input”

2) include this in the actionscript:
onSelfEvent (load) { marksText.text = thisVar; }

3) include this in the html:

<embed FlashVars =‘thisVar=this is a test!’

delaying a starting motion
the problem “was” unless the action started right away, it would not start on the onSelfEvent(load) function

onFrame (15) { smallText.text = thisVar; // comes from the external FlashVars settings smallText.text = “hi there”; // hard coded var thisIsAVar = “hi there”; smallText.text = thisIsAVar; // comes from a variable
}

to change text colors dynamically (2009-10-03) myColor = new Color(myTextField); myColor.setRGB(0xff0000);

onFrame (5) { // the text MUST be in this frame largeText.textColor = ‘0xff0000’; var largeTextVar = ‘Verde Valley Christian Church!’; largeText.text = largeTextVar;

Mark Edwards

,

---

Commenting is closed for this article.

---