-
[RESOLVED] XML disabled in my Flash movie?
Hi,
I have recently learned XML to work on a database driven flash game.
Question #1: Is it possible to disable XML in a flash document?
Question #2: Is there something that will break XML in a flash video?
If I create test.fla in the same folder as my current game file, and run through the steps to put in an XML connector and trigger it, it works fine. ( I can go to Debug > List Variables and it shows "results" for my XML connection)
Then I go back and do the exact same thing in my flash game, and nothing happens.
I also noticed that if I drag in a "DataGrid" or "ComboBox" etc. that it comes up as a white square with a 1px border (as opposed to having the header or drop down arrow, etc.)
It is this latter occurance that leads me to believe XML or Components are disabled in my movie...
Any Ideas?
THANK YOU for your help!
Ashton Sanders
www.websitesinaflash.com
(P.S. Everything above is done in Flash 8 Pro. I started the game in Flash 8 Pro as well.)
-
Here's a picture:
Here is a picture of my problem.
the top half of the image is what they should look like... The bottom half is what it displays as.
Any ideas are appreciated. Thanks,
Ashton Sanders
www.websitesinaflash.com
-
up to my .as in code
Since creating anew doesn't replicate it...you might have to attach your game .fla
-
Originally Posted by Chris_Seahorn
Since creating anew doesn't replicate it...you might have to attach your game .fla
I've loaded the stripped Flash file and XML doc into a zip file on my site.
http://www.websitesinaflash.com/temp/rates.zip
Let me know if you can figure out what's wrong.
Thanks,
Ashton Sanders
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
You need to go to your "Publish Settings" and bump up from AS1 to AS2 (if your game will still function that is).
Here is your broken movie after setting the export option to Actionscript 2:
-
Chirs = the man
You are the man!!!
Thank you a million times over, you just saved me endless hours of work to covert it over into a new movie!
I seriously am indebted to you. I've already got links to your site on a bunch of my sites. =] Can I do anything else for you? lol
= Chris
Thank you!
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
No sweat man. Appreciate the links but only if it's what you want to do. Users don't owe us anything for helping out.....ever.
-
It's my pleasure
I love supporting good people =]
There's not enough intelligent people out there willing to "help out," and there's too many people who would rather spread lies and deceit. It's a small act of kindness, but is well noted.
Thanks again,
btw, do you "work" at flash kit? or are you just a random flash/flex enthusiast who has a heart of gold? =]
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
-
up to my .as in code
Wow man...I just read that post of yours and I'm sorry you had such a rough road to the goal. It's a double edge sword bro and there are times you wonder if the time spent is even cared about or appreciated and then a person like you makes it all worth it again and brings it back into perspective.
I don't know what to say other than....thank you. That post means more to me than you can ever know. I won't forget it
-
<3
Here's to the good people.
<3
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
A promise made is a promise kept
-
Thank you for a great ending to a great day.
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
Hey,
Is there a way to pass XML Variables/Data to the root (so that they are normal flash variables)?
It seems that my XML displayers (datagrid, combobox, etc.) don't display anything if I have more than one scene. Is that normal?
thnx
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
You should be able to push/pull any root variable or other clip variables to anyplace you want.
Have an example movie that is not acting right?...attach an example .fla and explain what it's not doing that you expect it to (along with matching XML if applicable)
You can also send me a private link to a download by contacting me at my site if need be (if the game code is private or something you'd rather not attach in a forum....happens all the time)
-
Hey Chris!
I sent you a link to a zip of the whole project (at your site).
I can get the .results to come through, but I can't transfer it to my components.
And the other question I have is about passing XML variables into Action Script? Any ideas?
thnx again,
ash
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
-
lol No Problem
Stinking capitals..... Capitalize the "s" in the file name =]
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
-
up to my .as in code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|