I was given a document to edit. It was a simple text change. But now when I publish it, the SWF comes out blank. I did not create it but am editing in CS6. I have attached a link to the original .swf and a link to the .fla
I would appreciate if any one could help me out or point me in the right direction.
Thank you in advance.
There's some code in the frame script that it's trying to load that you don't have:
Make sure the person who gives you the file gives you all necessary code.
Your LoadVars is also trying to send data directly to this file:
my_lv.sendAndLoad("formProcessor.php", my_lv, "POST");
So the HTML loading the SWF would need to exist in the same directory as that file to send the request correctly. Otherwise update it to support a full http://www.example.com/path/to/formProcessor.php
If you can supply the code I can see if there's an error being generated.
I don't exactly know what your project is but it seems to be a form of some kind (I can't see it either). Only the part of sending or loading data will fail. If that's required before the form presents itself then yes it could be the cause.
Here is the action script code. Also I am uploading the project as a link too just incase. Thank you again.
Can you post the file lmc_tween.as? All of this code depends on it so it can't be tested without it.
The code in the RTF is the same code in the FLA frame script. That's not what I need. I need the file "lmc_tween.as" that you said you found in the same root folder of the FLA.
Like I said, don't worry about LoadVars unless it's required to load a page but the code I see doesn't suggest that. I'm just saying you won't be able to submit any of the forms that use the LoadVars, but you probably will be able to see the interface.
Here is the project in two folders. - The "Request.fla" is in folder 2
[link with server login information exposed removed]
Message was edited by: sinious
Please be careful when sharing code. That formProcessor.php file is in that folder and it contains database login information. You don't want that on the web.
I have the code now but unfortunately it's also giving me a blank screen.
In a quick inspection (all I have time for today) I see a few things.
One, your subnav is off-screen and it has a mask so it won't be seen until it's animated into the masked area.
This document must also be part of a much larger project as it doesn't appear to be something that can run itself. It's making references to itself to "fade itself in". If it were a solo document, that wouldn't make sense. It appears another file loads this file and some clips are missing that may be inserted by that other document.
For example the "mainIntro()" function is trying to fade in something called "crown_left". If I trace it, it doesn't even exist. It's also animating the position of the subnav into negative values (trying to hide it?). So whatever "crown_left" is may be important to the intro but ActionScript is reporting "undefined" for it, which means it's missing.
I think you need to find the parent file to your project which probably loads this subpage and run the parent to get it to have the missing element and play properly.
Europe, Middle East and Africa