View Full Version : problem with accordion.creatChild()
Const
04-26-2005, 12:21 PM
Hi All!
subj...
piece of code is: myAccordion.i2.createChild("test2", "test2");
error is: "Error opening URL file:///path/to/working/dir/test2
but test2 is symbol in this project, not the other fla file...
maybe i do not create symbol correct for this purpose?
thanks...
Neil Davidson
04-26-2005, 07:38 PM
What is it you are trying to achieve?
Other then mistakes in code, the only time I run into the complication of not being able to locate a file is when I forget to save the flash .fla first. It's also a good idea to make sure you are saving it to the directory of your dynamic content.
myAccordion.i2.createChild("test2", "test2");
This should not be giving you the error you have listed. This tiny piece of code does not search for an url, or movie or anything really. Something is missing. Do you have the rest of the code to post?
Const
04-26-2005, 08:49 PM
Hi, Neil,
What is it you are trying to achieve?
I want create icons that way, cause former developer created icons in this application that way, and his icons is working... I can't do the same I don't know why. I tried to repeate all his AS code and logic in working with icons, but I think I missed something...
myAccordion.i2.createChild("test2", "test2");
This should not be giving you the error you have listed. This tiny piece of code does not search for an url, or movie or anything really. Something is missing. Do you have the rest of the code to post?
Then I comments this line error disappears...
Neil Davidson
04-26-2005, 09:09 PM
You must be referencing that line from somewhere to establish the search, then. If you posted the code it would be much easier to help you, or even posted the .fla.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.