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

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

3 Answers

I want to learn actionscript.


Well ..There are lots of actionscript tutorials outthere on net...You can find them in the torrent world ..go here > Torrentz.com and search for actionscript...

Apr 07, 2009 | Macromedia Flash Professional 8.0 Full...

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

Action script


I think you are use a Flash Decompiler to convert swf to .fla ...Yes this will convert only the animation part of the flash movie..but it neglects all the actionscript part of the flash file. Many flash content would be connected with an external XML file for functioning which is at backend and its not publicly accessible.

Dec 29, 2008 | Computers & Internet

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

1 Answer

Action script


Here is the simpliest of them all:

this.createTextField("myText", 1, 0, 0, 100, 25);
this.myText.text = "Hello world!";
This script writes Hello world! on the screen, and if you want to get to know ActionScript better, here is a great way to start:
http://en.wikipedia.org/wiki/ActionScript
Read that page, visit some of the external links you find there and later you may search Google for terms like "Action script tutorial" or "Action script examples"

Hope this helps. Ask again if you need more help.

Sep 12, 2008 | Microsoft Windows XP Professional With...

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

2 Answers

Flash Buttons


After creating a Flash movie you choose File > Save As from the top menu to save your movie. Save the file as "Somefilename.fla".
To embed the Flash movie you just made into an HTML page, you should go back to your Flash program and do the following steps:
Step 1
Choose File > Open. Open a Flash movie you have created.
Step 2
Choose File > Export Movie.
Step 3
Name the file "somefilename.swf". Choose the location where the file is to be stored (in your Web folder). Click OK.
Step 4
Open the HTML page where you want to insert your Flash movie. Insert this code:
<object width="550" height="400"> <param name="movie" value="somefilename.swf"> <embed src="somefilename.swf" width="550" height="400"> </embed> </object>

Feb 14, 2008 | Computers & Internet

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

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?
Computers & Internet Logo

Related Topics:

158 people viewed this question

Ask a Question

Usually answered in minutes!

Top Virtual Training Company Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18384 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Virtual Training Company Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...