Flash CS4 and XML

Hi,
I'm using Flash CS4,i'm having problems creating a xml file to work
with the action script for a 3D carousel. I've created folder for
the image png file and icons xml using a normal notepad in windows
for file to work with the flash action script 2.0, but in output menu the msg says
Error opening URL 'file:///C|/Users/User/Documents/caroselFile/icons.xml'.
They're no compiler errors. Should the notepad be xml editor? I have been
told i can use a normal notepad.
Maybe i should of saved it in the fla directry but don't know where
it is.
Thanks Larell

<icons>
<icon image="icon1.png" tooltip="" />
<icon image="icon2.png" tooltip="" />
<icon image="icon3.png" tooltip="" />
<icon image="icon4.png" tooltip="" />
</icons>
Message was edited by: larellG

Similar Messages

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

  • Flash CS4 and Apple 10.6.3

    Are Flash CS4 and Apple 10.6.3 not compatible?
    The only way I was able to play Flash content in Safari or Firefox was to download the Gala (beta) release of Flash. However, I still can't test my swf within the Flash app (Command + Return).
    Help!

    Hi Nivesh,
    The specific problem I've been having is publishing multimedia via the AS3 video and audio class(es). Videos won't play down. Audio won't play at all. I haven't gone back to this in a few weeks (as I've been delaying dealing with it)...I'm wondering if others are having similar issues?
    It all works in Flash CS5...but I'm not in the mood to shell out more $$ on something that should work fine in CS4.
    Very frustrating. It started as soon as I upgraded my Mac OS to 10.6.3.
    - grant

  • Flash CS4 and ActionScript 2.0

    Hello
    Was wondering if you could recommend the publish and save
    settings in Flash CS4 when working with ActionScript 2.0.
    What are my publish settings?
    Flash Player 8 or 9?
    Script: ActionScript 2.0
    Should I be saving the project as CS4 or CS3?
    - I no longer have the ability to save the file as Flash 8 in
    CS4.
    - It looks like I lose my XML files when I save as CS3
    Are there any other settings that need to be changed?
    Thanks in advance
    M

    troika22,
    > Was wondering if you could recommend the publish and
    save
    > settings in Flash CS4 when working with ActionScript
    2.0.
    Ultimately, it depends on what version of Flash Player
    you're aiming
    for.
    > What are my publish settings?
    > Flash Player 8 or 9?
    > Script: ActionScript 2.0
    There are numerous reasons you might decide to code a
    project in AS2.
    You might, for example, not yet have "taken the plunge" to
    AS3, so you may
    not be comfortable with it yet. Your project requirements
    might dictate
    that you support as low as Flash Player 6 (may ad agencies
    have such
    requirements). You might be updating an existing project,
    already built in
    AS2.
    In any of these cases, your publish settings will be
    determined by the
    version of Flash Player you're targetting. Flash Player 8 was
    the first to
    support blend modes and filter effects (drop shadow, etc.),
    so in order to
    support that, you would have to publish to Flash Player 8. If
    you don't
    need those, and if your code itself doesn't rely on features
    that require
    Flash Player 7, you may as well publish to Flash Player 6 and
    reach the
    greatest number of potential viewers. (The farther back you
    go, the more
    likely your viewer will have Flash Player installed, because
    not everyone
    decides to upgrade. That said, most people seem to upgrade.)
    > Should I be saving the project as CS4 or CS3?
    If you're working with a team and some of those people use
    Flash CS3,
    you'll have to save it as CS3 any time you want to share the
    file;
    otherwise, save it as CS4. The FLA settings are independent
    from the SWF
    publish settings.
    > - I no longer have the ability to save the file as Flash
    8 in CS4.
    Correct. Each edition of the IDE only save to the previous
    edition, as
    far as source files go. But each edition of the IDE is
    capable of
    *publishing* as far back as you like.
    > - It looks like I lose my XML files when I save as CS3
    Which XML files are those?
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/dpsFoundationFlashCS4
    "Luck is the residue of good design."

  • Problems with Captivate Redirects, possibly Flash Security and XML

    Hello fellow Captivarians,
    First a little backstory, earlier in the year we developed a course that heavily used external image files, which were gathered and organised through an XML file, then placed into Captivate 4 through a widget. This was all developed in Actionscript 3 and was designed to be accessed locally, on the user's computer from a CD Drive.
    We had a whole deal of issues with Captivate and Flash security issues, finding that we could not get the importing to work correctly in Internet Explorer as it outright refused to import the XML file (Presumably because of security issues). However, Firefox would work fine. Eventually we got it working via a bandaid solution by prepackaging the course with a firefox portable install.
    Now many months later, we have discovered our previous solution still works, but it now outright denies any redirects from HTML page to HTML page, regardless if the content is on the CD or if it's on the harddrive. Buttons that link to external sources will not work, (even if it's just a local page in the same directory).Flash player simply refuses to redirect between HTML pages. We tried some older projects that were developed in AS2 - and this wasn't an issue.
    The odd thing is however, on my computer it still works fine. However, on everyone elses in our office, it will not redirect at all. We are all running the same version of Flash Player, and the same version of Firefox...
    Any ideas? Could it have been a recent update with the Flash Player that prevents this sort of interaction?
    Cheers.

    Hi there
    Have you tried configuring the Flash Security Settings? That's my guess.
    Click here for a tutorial on how to configure
    If this will be on CD-ROM or DVD, you may need to consider adding a light version of a Web Server to the media and launching via that.
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to Build a Preloader for Flash CS4 and Actionscript 3.0

    With the wonderful help of many people on this site, I have successfully buit a nice website using Flash CS4.  I am wanting to deploy the site this weekend and I'm working on the finishing touches.  I would like to add a preloader so that the viewer will have everything loaded when the action starts.  Can anyone suggest a good tutorial that shows how to make the simple "rotary lines" that are so popular?  I've seen these and they look to be about an inch across and move like the hands of a clock.  I think it may even say "Loading..." or similar.  Since I'm still learning quite a bit, I did not know if Flash actually offers some "preloaded" tools for stuff like this?  Or am I better off going to Lynda.com and taking a tutorial?  Thanks for the help!

    Dark Armor, You mentioned the book Adobe Flash CS4 Professional Classroom in a Book, which I have.  I could not find anything in there.  Did you mean to say Actionscript 3.0 for Adobe Flash CS4 Professional?  I do have that book and it looks like there is information there.  Just wanting to make sure that you meant what you said.  Thanks!

  • Flash CS4 and Snow Leopard

    Hello there,
    Flash CS4 was working perfectly for me for a couple of months (Master Collection), upgraded to Snow Leopard yesterday and bam Flash crashes every time I open a .fla file.. SWFs open and operate fine.... but as soon as I create a new file or open a previous fla it bombs out! I reinstalled flash, didn't work... reinstalled the entire master collection, didn't work... tried installing my old version of flash CS3 and THAT won't even open up now without crashing.. I'm currently installing flash on an older machine I have but this is REALLY starting to annoy me as I use flash the most out of all the applications.
    What is the point of buying a Mac Pro if I have to use  an old machine to use Flash ?
    Please help!
    Many Thanks

    Ok, after 6 and a half hours of fun I have discovered that the reason for this is due to fonts problems, I had removed my fonts from font agent pro although not from font book..
    To see if this problems is what you are having:-
    1) Boot up your mac in safe mode (hold down shift immediately after you hear the startup chime) This disbles all fonts
    2) Open flash and your problem file (files) or any (fla) file really to check it doesn't crash
    3) If flash opens successfully and the file opens showing a missing font dialogue box, you have the same problem..
    4) If this is the case reboot..
    5) Remove all of your own fonts from your font application (Suitcase/Font Agent Pro)
    6) Remove all non system (user) fonts from Font Book (make sure to back up your fonts first as this erase them of the system)
    7) Delete the flash preferences (com.adobe.flash-10.0.plist) file located in (user)/Library/Preferences
    8) Relaunch flash
    With a bit of luck... problem solved !
    I hope this saves some other poor soul who had been looking forward to updating their website whilst off work to not waste 6+ hours sorting it out..

  • Flash CS4 and database use (MySQL, ACCESS, etc.)

    Hi,
        can somebody please tell me where to find tutorials on how tp use databases with Flash CS4 ?
    I have created a form, an email page and a username/password protected pages, but I cannot find any tutorials that would help me how to connect to a database.
    Thanks in advance for your help !
    GGour

    Hi Kglad,
                  thanks for the info....
    Do you know of any tutorials about this subject ?
    I am new to action scripting and learned Flash by studying tutorials at Lynda.com.
    I was just wondering if there was a title touching that subject, from Lynda or any other provider.
    How did you learned how to use databases in conjunction with flash ?
    Thanks again for your help !
    GGour

  • Flash CS4 and CS5.5 runnng slowly

    Flash CS4 has become unusable for animation due to it being slow and making the animation extremely jerky. I download the trial version of Flash CS5.5 and that has proved to be even worse. Is their a way I can fi this?
    Thanks
    Henry Mitchell

    Is this problem in authoring or at runtime using the plugin? If this is an authoring problem, did the file perform correctly at one time? What changed between when it ran well and now?

  • 3D model vs flash CS4 and Air

    Hello everybody
    In our flash application we have many 3D medical images that were done with Maya.
    In order to simulate movement we use multiple images (for ex: to turn a bone we use many images instead of the 3D model because we need to have high quality). In the past using C++ we used the 3D model but we were losing to much of the quality - we could not import the texture and the light effect at the same time - we could import only one of them.
    Now that we are using flash cs4 do you know if we could import in flash the 3D model which contains a hight amount of polygone with the texture and the light effect without any problem ? that could solve maybe our issu regarding the download of our application. We need to reduce the size of our application.
    Best regards
    Rachel

    Flash doesn't do 3D models natively. You could check out Director or another software (or simply Acrobat...) which can import 3D models and use 3D hardware acceleration, or find some tool that converts your 3D model into something Flash can understand. Depends how you need to interact with the model.

  • Open Type problem Flash CS4 and OS X 10.5 Leopard

    I'm not quite sure if this is an Adobe or an Apple problem.
    I'm exporting an Open Type Font in my first frame.
    When I then export the .swf on 10.5 Leopard, the .swf is smaller than the .swf exported on 10.4 Tiger, not all the characters of the font are included and the kerning of dynamic textfields looks terrible. See the screenshot attached or take a look here: http://www.shareimages.com/image.php?31397-q5aWm5ahk5.onpyXlQ-flash_cs4_opentype.png
    On both Leopard and Tiger:
    Flash CS4 Professional 10.0.2
    Linotype FontExplorer X 1.3.2
    Same problem when using Apple's Font Book.
    This only happens with Open Type Fonts - but not with every Open Type Font.
    Maybe someone could help?
    Lars

    Hey
    I'm having the exact same problem.
    To make it even worse - we're working on multiple mac-systems in my company which is literally
    impossible to work on the same cases when these kind problems exists.
    If you find a solution to the problem - please let me know!
    René

  • Flash CS4 and Adobe AIR

    Hi all. I an trying to develop Adobe AIR with Flash CS4 but
    aways I load some AIR class I got some error like that.
    Code:
    import air.net.ServiceMonitor;
    Error:
    1172: Definition air.net:ServiceMonitor could not be found.
    Some one know waht is the problem?
    Thanks guys.
    Marcos

    I dont have cs4 here at work to see, but in cs3 you have to
    drag the ServiceMonitorShim from the component panel to the
    library. You may still have to. You'll find the component in the
    AIR ServiceMonitor folder in the component panel.

  • Flash Components and XML Binding

    I just ran through the XML binding Bike Trails tutorial about
    a hundred times. I can get that to work just fine. But when I try
    to work with my XML file, it keeps falling apart. I just don't get
    it! I've been working on it for 2 days and it's still not working
    right.
    For one, the bindings are not showing up right. I have 2
    combo boxes and then a final one I'd like to use to list the
    stores. Here's a link to basically what I'm trying to do:
    http://www.thinkseed.com/test/stores.html
    My bindings keep falling apart. I get null values all the
    time for the second drop box that's supposed to house the States
    (the one on the site is a fluke...I accidentally had the
    <store> node on a separate line instead of nested in the
    <state> node. No idea why that one sort of worked.)
    Here's an example of the XML code:

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • Flash MX and XML

    Hi,
    I have been working on a flash app to provide users with an
    FAQ area for a program I look after. I have all the faq solutions
    in individual txt files which flash pulls in once the user has
    selected a question which relates to their issue. The problem I am
    having some of the text files use characters such as ' and %. When
    looking at these files that flash pulls in half the text after
    these characters is either missing or joined up without a space.
    The dynamic text field has been set to render text as HTML
    and I thought I would allow some basic html tags within the text
    file, so I tried using the HTML number or name to reference the
    correct character I need such as &#39; for ' and &#37; for
    %. Again these just made the rest of text after them disappear.
    Can anyone help shed some light on a different way, or what
    the capability of this method actually is? I was thinking XML but
    I'm need very familiar with it and think I need some flash
    communication software to work. Not sure if this is true if not
    then maybe XML could work but will need some direction on how to
    get started.
    Many thanks for your time I'd appreciate any help I
    receive.

    Hi me again,
    I have been looking into XML and have got something very
    basic working. I was wondering if there was a way to have all of my
    faq solutions in an xml file (solutions.xml) each separated with an
    element tag relating to the question. See attached code. The issue
    is how to I get just the text for say installation when the user
    selected the question relating to it.
    I have a combo box showing all the questions so for example
    'How to I install flash MX?' the data part would be
    data:"installation". In the xml file the element tage would be
    <installation>Insert the CD into your CD-Drive and follow the
    onscreen instructions.</installation>. This would be the only
    text I would want to be displayed in the answer_txt dynamic text
    field.
    I hope I have explained this enough and would really
    appreciate some help.

  • Flash cs4 and windows 7( professional) Question

    I am a rookie. I have a PC with all the necessary clout to run Flash. I have run the program in every mode available, and there are problems with performance.
    There are problems with tools not working (the pencil tool only draws a line upon release) .
    There are problems with importing mp3 files.
    I have installed and reinstalled the suite and nothing changes.
    At this point I am ready to believe that the copy of CS4 I have is somehow corrupt.
    OK I have detailed my frustration what I would like to know is ; Does anyone have a definitive answer as to how to run CS4 in the Windows 7 operating system.
    Has anyone done so without endless problems.
    Does anyone from Adobe have knowledge of the difficulties people are having?
    I'm missing Flash 8
    Mango

    I have similar problem.  When I first installed everything seemed to work well.  But then Flash began opening slowly and once the properties panel was accessed it became too slow to use. I spoke with adobe support for around an hour and they ultimately told me to reinstall.  I did this with no change in outcome.  I then reinstalled my graphics driver and that improved performance so now I can use Flash, but it is still extemely slow.  I've noted that on the Windows 7 compatibility page Adobe says that CS4 has been tested with Windows 7 Ultimate and everything is fine.  Perhaps it will only run well in virtual xp mode. Other thing that could be a problem is use of a wacom tablet and it's drivers.  I have to reinstall these frequently and there appears to be a conflict with the windows 7 tablet pc features in that on a couple of occasions these have started up with my tablet.

Maybe you are looking for