Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-24-2009, 05:03 PM   PM User | #1
Babygirl
New to the CF scene

 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Babygirl is an unknown quantity at this point
Duplicating and Renaming XML

Hello

Like most posters here - I'm new here and struggling - a bit. A little guidance would be nice.

I have an xml file called - look.

The - look - xml file comes with a look swf - and - a look fla file.

The - look - xml file is linked (somehow) to a menu, so, when you click on the menu button the look file opens.

I have cloned the look-xml file, the swf-file and fla-file. I now want to rename and recode them to - see-xml, see-swf and see-fla. Once they are renamed and recoded, I would like see-xml to be a button on the menu.

The files are made with flash cs3, actionscript 2. I have some flash, xml, experience but less AS experience...but I'm a fast learner if someone can point me in the right direction.

Thank you for your time and help. Babygirl
Babygirl is offline   Reply With Quote
Old 03-24-2009, 05:52 PM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Wait, do you want Look to be like page 1, See to be page 2, and perhaps Hear to be page 3? I'm not quite clear on what your overall goal is, but welcome!
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 03-24-2009, 06:35 PM   PM User | #3
Babygirl
New to the CF scene

 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Babygirl is an unknown quantity at this point
Thank you jeremy

Yes. Look would be page 1. See would be page 2. Etc. The difference being, though Look and See "appear" (same layout) the same, they have different names with different menu links. If I just clone Look, and add it to the menu as See, then See opens Look... I would like See to open as See. Am I communicating this any clearer ??? Sorry. Sometimes communication gets in the way of ideas... Babygirl
Babygirl is offline   Reply With Quote
Old 03-25-2009, 09:27 AM   PM User | #4
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Yes, the key was if you wanted the files to be like pages, or if they were completely separate.

If you copy the files and change anything that might conflict (variable names might be good too), but really the kicker is that you should probably have a main containter and then load the two See and Look files into it. Then you will have a menu that stays consistent, and then it loads the swf files into a container (like having an iframe on a page and ajax to reload the contents of the box).

http://livedocs.adobe.com/flash/8/ma...=00001562.html
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 03-28-2009, 02:07 AM   PM User | #5
Babygirl
New to the CF scene

 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Babygirl is an unknown quantity at this point
Thank You jeremy !
Babygirl is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:11 PM.


Advertisement
Log in to turn off these ads.