I had this problem before and the only way I could speed the process up was to reformat the XML doc that was being parsed. Instead of listing everything on its own node, I used attributes. The file size was cut in half and it took a lot less time to parse.
If your media destination is CD I would use a projector instead of a SWF file.
You can use actionscript to stop the movie on each frame and then attach some actionscript to a button to play the next frame.
You will need to make them separate movie clips and then bring them all together on the main stage. You can then attach actionscript to each movie separately and control the them independently.
If your looking to do a zoom effect you can attach an actionscript to the movie once you have it on the stage. Select the movie clip and then attach some actionscript to change the height and width.
on(rollOver){
this._height = 50
this._width = 50
}
on(rollOut){...
You will need to load the external file via a script like in ASP. The trick is to add a random number at the end of the URL and fool flash into thinking it's a new file. For example:
To load the file I would call
loader.asp?Filename=dir.txt&RandomNumber=458298374
Build the URL in...
Once you have the movie clip on the timeline you can select it on the stage and attach some action script to change it's _X and _Y cordinates.
onClipEvent(enterFrame){
this._y = this._y +1
this._x = this._x +1
}
This will move the movie clip. Play around with it till you get what...
I'm not really sure I undrstand what your asking. If your looking to load the images from an xml file then you will need to parse the XML file for the URL of the image and then load that image into a blank movie clip.
This looks correct. It looks like your problem is on the Client side where it will be recieving the data. It is not because you are disconnected because you are trapping that error with "If sock.State = sckConnected " BUT you are not trapping for other errors. Use a "on error...
It looks like your only setting the DNAME when the first form loads. I'm not sure but I think you need to set that value when the text in txtkcname.Text changes.
Hope this helps,
DJTN
Use the function "ONKEYPRESS". Everytime a user presses a key this function/Sub will be called. You can then check what key was pressed and then make the appropriate call if it is a alphanumeric key.
Hope this helps,
DJTN
I would suggest making a video and then inserting it into flash. In flashMX you can import video. You can then create text or bubbles over the action being taken.
Hope this helps,
DJTN
You could search for commas in between the ' "" ' and then use the replace function but I would suggest you use XML. You could build an XML doc with all the information you need in each tag and parsing it would be quicker and easier.
You could search for commas in between the '""' and then use the replace function but I would suggest you use XML. You could build an XML doc with all the information you need in each tag and parsing it would be quicker and easier.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.