Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #5
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank You jeremy !


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •