To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > General Help > XML

Reply
 
Thread Tools Display Modes
Old 04-03-2007, 06:53 PM   #1
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
[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.)
Ashton Sanders is offline   Reply With Quote
Old 04-04-2007, 12:29 PM   #2
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
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
Ashton Sanders is offline   Reply With Quote
Old 04-04-2007, 01:50 PM   #3
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
Since creating anew doesn't replicate it...you might have to attach your game .fla
Chris_Seahorn is offline   Reply With Quote
Old 04-04-2007, 08:03 PM   #4
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
Quote:
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
Ashton Sanders is offline   Reply With Quote
Old 04-04-2007, 11:22 PM   #5
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
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:

Chris_Seahorn is offline   Reply With Quote
Old 04-04-2007, 11:45 PM   #6
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
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
Ashton Sanders is offline   Reply With Quote
Old 04-04-2007, 11:47 PM   #7
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
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.
Chris_Seahorn is offline   Reply With Quote
Old 04-05-2007, 12:00 AM   #8
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
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 is offline   Reply With Quote
Old 04-05-2007, 01:04 AM   #9
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
It's the little things that matter =]

http://websitedesign.ashtonsanders.c...le-rarity.html

<3
__________________
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
Ashton Sanders is offline   Reply With Quote
Old 04-05-2007, 02:05 AM   #10
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
I'm the XML forum moderator but we aren't paid. We get picked to mod because we've shown a history of helping and once modded we simply continue to do what we always did

Appreciate the link...I thank you and I'm going to return the favor
Chris_Seahorn is offline   Reply With Quote
Old 04-05-2007, 02:10 AM   #11
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
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
Chris_Seahorn is offline   Reply With Quote
Old 04-05-2007, 02:13 AM   #12
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
<3

Here's to the good people.

<3
__________________
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
Ashton Sanders is offline   Reply With Quote
Old 04-05-2007, 02:18 AM   #13
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
A promise made is a promise kept

Chris_Seahorn is offline   Reply With Quote
Old 04-05-2007, 02:23 AM   #14
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
Thank you for a great ending to a great day.
__________________
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
Ashton Sanders is offline   Reply With Quote
Old 04-05-2007, 02:50 PM   #15
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
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
Ashton Sanders is offline   Reply With Quote
Old 04-05-2007, 05:35 PM   #16
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
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)
Chris_Seahorn is offline   Reply With Quote
Old 04-06-2007, 12:26 PM   #17
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
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
Ashton Sanders is offline   Reply With Quote
Old 04-06-2007, 01:05 PM   #18
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
Got your email. Just tried to grab the file at 1:04 EST and I'm getting an..

"OOOPs...File Not Found"

error


I'm finalizing a new contract today which is killing my free time and I'll be in and out so just email me when that file is available and I'll grab it


Chris
Chris_Seahorn is offline   Reply With Quote
Old 04-06-2007, 01:10 PM   #19
Ashton Sanders
Junior Member
 
Join Date: Apr 2007
Location: Montana
Posts: 15
lol No Problem

Stinking capitals..... Capitalize the "s" in the file name =]
__________________
-Ashton Sanders
-www.websitesinaflash.com
-websitedesign.ashtonsanders.com
Ashton Sanders is offline   Reply With Quote
Old 04-06-2007, 01:25 PM   #20
Chris_Seahorn
up to my .as in code
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,389
Now that's what I call case sensitive

Grabbed it..i'll dink around with it
Chris_Seahorn is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > General Help > XML

Thread Tools
Display Modes

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 -4. The time now is 08:27 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.