This content has been marked as final. Show 4 replies
that's not as3 code. are you publishing for as2?
Yes I am publishing it as Flash 7 for compatibility reasons.
I am not sure how you can tell what version of AS I am using based on my variable call. I declared all my variables in the external HTML (named tfile_main.html) by using the following code in my first frame using the following AS:
url = "tfile";
My variable is defined in my external HTML file as:
It would be nice if the property inspector GUI had an input field for VAR the way that TextArea does. It doesn't so instead I was hoping that entering the variable (_root.page1_tphoto01) in ContentPath under the Parameters tab would produce the same effect but it did not.
I am assuming I need to assign the variable somehow to myloader.contentpath but I am not sure.
i agree with with what kglad said! not flash 7,is AS2.0!
It willnot work since you are setting the contentPath in the parameters panel, and you are loading the variable with data dynamically. What I suggest is that when you haver loaded the data in the variables, you can set the contentPath dynamically. like myLoader.contentPath=myVar;
Let me know your views on this.
By the way, it doesnt matter whether AS2 or AS3 :)