Showing posts with label Actionscript 3. Show all posts
Showing posts with label Actionscript 3. Show all posts

Apply Properties to an object from XML or XMLList

Assume that we have config properties for an object by xml or xmllist as below:

  
<attributes>
	<x>-10</x>
	<y>45</y>
	<scaleX>0.9</scaleX>
	<scaleY>0.9</scaleY>
</attributes>


Here is the function applies properties from xml to target object:

p1

View Simulate Download

I think this is useful if we want to test project with preloader. I may want to see how preloader work.

In Flash Authoring Tool
- Press Ctrl + Enter or Click on Menu Control -> Test Movie.
- Once in Test Movie mode, you can watch a simulated download by enabling the Bandwidth Profiler , by Click on Test Movie Window: View -> Bandwidth Profiler
- Then click on View -> Simulate Download
- You can change the download setting by : View -> Download Setting , then choose the speed of internet.

In FireFox
Check out http://www.dallaway.com/sloppy/

p1