[Flashr] simple tag search

Kelvin Luck kelvin at kelvinluck.com
Thu Dec 14 16:41:24 EST 2006


Hi Gloria,

I'll put some answers in below:

gloria kao wrote:
> 
> If you open up the fla you will see there is a small dot in the top left
> 
> hand corner. This is an instance of "FlashrSimpleSearch" and is
> 
> 
> associated in the library with the class com.kelvinluck.flashr.example.FlashrSimpleSearch.
> -------------
> I did see there exists the movie clp in the stage but still didnot know how to attach the .as code to the movie clip.
> 
> 
> I double clip the movie clip, and there is nothing inside. And it seems that there is even no instance name for the movie clip.
> 

The clip is associated with the class in the Library. This is how AS2 
works. There is plenty of examples on the internet or I would recommend 
Colin Moocks Essential Actionscript 2 ( http://moock.org/eas2/ )

> I try to search over the Internet and I found a page 
> http://www.adobe.com/devnet/flash/articles/flash8_bestpractices_05.html, which
> 
> describes some ways to use "Using External ActionScript Files", but it still didnot say much about your approach. 
> 
> 
> Could you tell me another resouces about Flash AS2?

This isn't the best reference - a quick search on google came up with 
these which look better:
http://www.adobe.com/devnet/flash/actionscript/actionscript.html
http://www.ultrashock.com/ff.htm?http://www.ultrashock.com/tutorials/flashmx2004/as2-01.php

> 
> 
> Another thing with the "local content can't access internet content" flash security restriction problem is, 
> 
> I already went to the Adobe website to trust file in my local location, why it still doesnot work?
> 
> 
> Sorry to ask so many question!
> 

This restriction isn't normally a problem. It doesn't apply when you are 
testing within the Flash IDE or when the swf is on a web server and 
these tend to be the places where you see an swf...

> 
> 
> Gloria
> 
> 

Hope that helps,

Kelvin :)



More information about the Flashr mailing list