| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I have a question that has been following me and I have not found an answer, so I dare to ask here: I can put code AS2 or AS3 in a TXT file or AS file with external route on a server? I hope I can say is if possible, thanks |
|
#2
| |||
| |||
| once a swf file is compiled there is no need for the code to be mounted on your server as it is contained within the file. the only file needed online is the swf file - not the fla or as files. |
|
#3
| |||
| |||
| But if I want to handle xml files if I add something to an xml as I call it from flash to appear in the swf? thanks |
|
#4
| |||
| |||
| nope - you can load an xml file into Flash using the LoadVars class - then iterate through the return and assign values as needed. |
|
#5
| |||
| |||
| Why would you use LoadVars to load XML? You'd _normally_ want to use the XML class... -- Dave - www.offroadfire.com Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ |
|
#6
| |||
| |||
| DOH!!! yes of course Dave - wasn't thinking LOL!!! |
|
#7
| |||
| |||
| None of the 2 I mean if for example I have a exe of swf and I would add substance to this swf through xml there is any way to add to that xml is a new frame swf? |
|
#8
| |||
| |||
| I ask that can be done with flash media server?, want to change content of a swf exe or through xml, adding, deleting content ... is this possible? thanks to the 2 q I have answered |
|
#9
| |||
| |||
| yes you certainly can if you set things up correctly (like use the xml class) - you can set up methods to load new content when called, from any file, 'sift' through the xml data and place it into dynamic fields that you set up either in the IDE or with script. you should do some reading in the Flash Help manual>ActionScript>ActionScript language reference>ActionScript classes>xml - as well as the many many other features and tutorials that are well documented in the information there, to start learning a bit about these issues and how to handle them. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.