Flash Designtime vs runtime issue? Content missing?

Hey guys, please bare with me....

I am still using Macromedia Flash MX (lol ye I know) but its awesome just for basic animations that we do from time to time....

I have recently been tasked with updating a client website that seems to ahve been developed in Flash CS3... So I downloaded the trial of CS4 to check out if i can help the client out.

I have altered what needs to be altered..... the problem I am having now, is that there are moving elements following the mouse on the first page... in the FLASH IDE the 5 sections are showing correclty with a number for each section... 1,2,3,4,5

| 1 | 2 | 3 | 4 | 5 |

All looks good, when publishing, the whole site is fine... except the section numbers are now all 0...

| 0 | 0 | 0 | 0 | 0 |

I really don;t even knwo where to start looking, it does not look like the number elements are dynamic, cause they show right in the IDE, only at runtime does it show the 0's.

I am really an action script n00b although I am an MS Cert. Developer... so I'm sure I could figure it out if only where to start looking at what might possibly be wrong...?

A few details:

I have tried keeping the cs3 file format.... no luck..
The published settings are set to use action script 2... when I set it to use 3, no buttons work on the compiled flash

Any ideas where to start looking? This seems to have been a template that someone edited and its really crazy in nested elements... some elements are as deep as 10 levels..! So its really a crows nest... :-)

Ideas?
FadeDudeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

courtthreeCommented:
Morning!

Where is the text coming from for those boxes? Is there an array in the as or is it coming from an external data source like a text or XML file? Is there a LoadVars object hanging around or LoadXML maybe? If so, the data file will need to be accessible by the compiled movie. So, locally, there may be a supporting data file with the Flash movie that you have not published on the webserver?

Let me know but at least that's somewhere to start looking!
0
FadeDudeAuthor Commented:
Hey, thanks for the input, i have not even started to examine the as .. but I have checked and there is no "supporting" files next to the SWF, or the FLA.

I also received just the single FLA file as srouce and as i said at design time the data is tehre, runtime not so much...
0
courtthreeCommented:
OK, sounds very much like there is a data connection in there at AS level. The symptoms you're describing suggest that there is an absolute reference to a text, xml or server script in the movie. This would explain why it works locally and not online. What I mean is, when you run the swf locally, the server that the data file is on will not require security clearance via a cross domain policy file. However, when you put it online, the for the swf to access data across two domains, the domain hosting the script has to specifically allow the swf to access the data file.

So, how can we fix it? I have a couple of ideas. First, is this swf online where I can see it? If so, I will be able to see its attempt at accessing the data. From there, we can at least nail this down as issue. Then we'll move on to trying to replicate the data source on your own server!
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

FadeDudeAuthor Commented:
HI, I am a bit paranoid as to just giving out the URL to anyone.... but I really would like some help..

Just to clarify, it the SWF on ym local pc running in its own flash player does now show the values...
but in the FLA at deisgn time its there.... this can be cause it keep a reference of it in deisng time but tries to load the physical data at runtime? Am i understanding this correctly?

Email? for the link?
0
FadeDudeAuthor Commented:
also, all should be good when putting the SWF on the live site again? (in theory...) lol
0
courtthreeCommented:
Er... I have the same issue about posting my email address here!
0
FadeDudeAuthor Commented:
k, mail me here... let me make summin up... hmmmm

willywonka@vanto.co.za <---- i will get it... :-)

Send me a mail pls then?
0
FadeDudeAuthor Commented:
p.s my issue was with posting the live web link :-)
0
courtthreeCommented:
OK, not seeing any external data connection afterall. So what isn't happening that should be because everything on the site works fine my end?! Great site by the way!
0
FadeDudeAuthor Commented:
hehe, ye looks real good, but a mess in FLA...

So as i said, i did not deisng it, merely updating some changes etc...

When you hover the mouse to select one of the 5 caategories (services , about us etc.)

There is a number floating following your mouse for each section... 1,2,3,4,5

That number is missing in when I run the new SWF on my local pc, in my local flash IDE its there...

P.S. the site you viewed is the original live site, the one I am updating has not gone live yet...

Its wiht the new edited one that the problem resides
0
courtthreeCommented:
Send me the FLA mate and I'll run it here
0
courtthreeCommented:
OK, I've cracked open the file and drilled down. It seems it was nothing nearly as complex as first we thought! In the libray go to > Graphic > text 462. You will notice that it is a text box containing two characters: a "0" and a "2". It would seem that you may have had to replace the font used for these boxes when you first opened the document and the text box isn't big enough to display both characters side by side. It is, in fact, displaying them one above the other, hence the impression that only the zero is showing! So, two solutions:

1. Go into each text box and make it a bit wider (for reference the symbols in question are "text 462", "text 485", "text 502", "text 520" and "text 537").

2. Ensure that you have the correct font and version of that font when first opening the document.

Either of those should clear this mess right up mate!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FadeDudeAuthor Commented:
dude....

shucks man, I can not begin to think how to repay you... the points simply won;t do...

Thanks a stack..

And... what can I do for you???
0
FadeDudeAuthor Commented:
and yes.. there were font substitutions!!! I should have thought of that, seeing as I did have to resize a bunch of text boxes on the content pages i made the alterations..!!
0
courtthreeCommented:
It's cool man, that's the beauty of Experts Exchange! We're all in this together! I help you today and somebody else helps me tomorrow! And around we go! The points will be fine by way of thanks!
0
FadeDudeAuthor Commented:
increase
0
FadeDudeAuthor Commented:
Awesome help from courtthree...

Went above and beyond.... you don;t see that much these days...

Thanks a mil man!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.