Solved

Flash Scenes / XML Issue

Posted on 2004-09-30
4
287 Views
Last Modified: 2011-10-03
I'm having a problem in my Flash application with Flash Scenes and XML Connector components. I have my XML connector hooked into a dataset which is hooked into a datagrid. Everything was working great, then one day, it just stopped working. I changed nothing in the scene, however I added lots of new Scenes. One Scene should not affect the others, right?

So after fiddling around with th eXML for hours, it still would not work. I decided to press Ctrl-Alt-Enter to compile th ecurrent scene instead of the entire movie. To my suprise the XML started working again. So I have this extremely large flash app (8MB FLA) that will only work if I compile the XML scene seperately.

Has anyone seen this before, or know what could be causing this?


I've put the maximum amount of points for anyone who can resolve this for me. My project is depending on it to work.
0
Comment
Question by:WebArchitect_Vince
4 Comments
 
LVL 10

Expert Comment

by:muso120999
ID: 12193436
Okay, might be a memory thing, or someting in your other scenes that's interfering.

Have you tried putting a gotoAndPlay on scene1, frame1 to the XML scene you mentioned, and building the entire Flash?  Does this work?

If not, then my guess is it may be memory related (or even hard-disk space, if you are low on free space).  In this scenario, the options are to upgrade you installed ram, clear space on the hard-drive, and/or split the movie down and have it load in smaller chunks.

If it does, then it might be something else in the movie that is conflicting, of affecting it somehow

Does this help any?
0
 
LVL 3

Accepted Solution

by:
d2kagw earned 500 total points
ID: 12196933
It almost sounds like the animation may be progressing before the XML has a chance to load.
Normally, if you 'test scene' flash would also show streaming, so you get the effect of the XML loading as the interface is loading, which may result in the XML being loaded before the animation needs the data, thus resulting in it being displayed.

Maybe what I would suggest doing is create a second version of the XML file, and remove as much content as posible [just to make the file size as tiny as you can get it, without creating errors in the application] then give the whole animation a go, if it works, then you'll need to put a XML loading progress loop or something to pause the animation while the XML loads, however, if that doesn't work, then maybe try throwing the XML scene into an external SWF and loading it in via LoadMovie... I know this may suck and mess up your project, but if it makes it work then its a good short term fix...

I can't really think of anything else.... unless theres some conflicts with varialbe names... maybe one scene uses the same variable name as one used in the XML scene, which would/could conflict the XML system you've developed.....

Ok, im out of ideas, hope atleast one of these help !!!
0
 

Author Comment

by:WebArchitect_Vince
ID: 13104292
I deleted all of the other scenes and it works now... wierd stuff. closing questions, thanks for the help
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now