Question about Virtual Training Company Macromedia Flash MX ActionScript (7-Hour Training CD) (33412)

1 Answer

ActionScript How can I store the XML data from Actionscript into external XML file?

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 16 Answers

If you are making desktop application u need 3rd party flash software like mdm zinc or flashjester jugglor. it provides easy way to write on files. If you are developing web you need to use either php / asp which ever u know. If you know nothing better is doing in php. its easy and powerful. See below for sample php code. to send from flash you have to use sendToURL(request); in AS 3.0

$fileName = $_POST["filename"];

$xmlContents = $_POST["xmlcontents"];

$lastBackslashPos = strpos ($xmlContents, “\\”);
while($lastBackslashPos >0){
$xmlContents = substr($xmlContents,0,$lastBackslashPos)
.substr($xmlContents,$lastBackslashPos+1,strlen($xmlContents));
$lastBackslashPos = strpos ($xmlContents, “\\”);
}
$fh = fopen($fileName, “w”);
fwrite($fh, $xmlContents);
fclose($fh);

Posted on Jan 09, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to download action script in pdf formate?


These are some links include learning Actionscript 2.0 for Flash MX and with source of actionscript 2.0 in PDF format, I hope it could help you.
http://actionscriptcheatsheet.com/pdf/actionsscript_cheat_sheet_letter.pdf
http://livedocs.adobe.com/flash/9.0/main/flash_as2_learning.pdf
http://linkedbyair.net/nt2/learning-actionscript.pdf
www.springerlink.com/index/r414043349432100.pdf

Good luck

Feb 25, 2009 | Macromedia Flash MX

1 Answer

Enlarge the image in scrolling sldeshow


post your file to trmmedia.com admin for free flash help/fix

Dec 12, 2008 | Macromedia Flash MX

10 Answers

Download


i want to Adobe Flash 8.5

May 22, 2008 | Macromedia Flash MX Pro 2004

1 Answer

Flash action scripting 3


you should learn actionscript 3! :)
Actionscript is a object-oriented scripting language.
It is based on ECMAscript (Javascript), so if you know Javascript, it could be easier to understand and learn actionscript. But there are differences, that come with flash. Using scenes and time-lines to handle graphics is something specific of actionscript. on adobe website, there is a good library with information on how to use actionscript. Best is to learn it from a book.

Apr 23, 2008 | Macromedia Flash MX

1 Answer

On button click change images in flash


I would suggest looking into learning ActionScript 1.0/2.0/3.0. ActionScript is Flash's main scripting language. It's easy to learn, easy to use, and very modular for Flash.

Feb 09, 2008 | Adobe Photoshop 7.0 for PC

3 Answers

Flash Action Scripting


I might have something for you:

[Getting Started with ActionScript]

And over here are some more:
[ActionScript Tutorials]

I hope this helps, please rate.

Greetings,

DarkNeogen.

Jan 29, 2008 | Macromedia Flash MX

1 Answer

Scared of actionscript


Have a look to see if these fellows can help you? http://www.actionscript.org/resources/categories/Tutorials/

Sep 13, 2007 | Macromedia Flash MX

2 Answers

Actionscript


using fs command you can make your flash presentation fullscreen the code is given bellow this.fullscreen_btn.onRelease = function() { fscommand("fullscreen", true); }; this.unfullscreen_btn.onRelease = function() { fscommand("fullscreen", false); };

Sep 01, 2007 | Macromedia Flash MX

1 Answer

Menu design in Actionscript


just call the page by using any language . we can call the file by even using html in the table format.

Aug 31, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Graphics Publishing, Design & Multimedia Software Logo

Related Topics:

158 people viewed this question

Ask a Question

Usually answered in minutes!

Top Virtual Training Company Graphics Publishing, Design & Multimedia Software Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18298 Answers

Cindy Wells

Level 3 Expert

4756 Answers

kakima

Level 3 Expert

96490 Answers

Are you a Virtual Training Company Graphics Publishing, Design and Multimedia Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...