Flash Q?
- Started
- Last post
- 10 Responses
- REDWOOD
Hi,
I've got an external .as file.
How does it respond or how do i need to attach the code to the .fla file?
And just importing the code gives errors.THNX
- Solid0
#include "path\to\your\as\file"
Which version of Flash are you using?
- REDWOOD0
2004 but isn't there an other way to achive this?
Because i've got some files from a flash developer but he's on a journey. And there's no such an include tag or something like that.
- Solid0
Are you saying you placed the
#include "path\to\as"
line on a blank keyframe on frame 1 and it didn't work?
Can you post any error messages you received?
- REDWOOD0
You've got Mail
- Solid0
I'm not seeing your email ... can you try re-sending?
- REDWOOD0
Hehe,
You've got mail again!!
- Solid0
Sorry Redwood - I see that your working w/ v7 swf - my previous suggestions won't work.
I've made some changes to the files you sent and emailed them back to you - should work now.
Let me know.
- REDWOOD0
It worked already but i wanted to change the as file names and then it didn't work anymore.
- Solid0
The as filenames have to be the same as the name of the Class they contain.
Next, you have to update the linkage info in the 'properties' of the corresponding library symbol to reflect the name change.
HTH
- REDWOOD0
THNX Solid.
I'll try that.