-
security disables loading variables?
I am sending and recieving variables to and from my databse using asp, everything works fine if I fun my flash movie in Flash MX authoring enviroment, but when I run it on the server as a swf file, it doesn't load?
sounds like a security feature, right?
What are some things I should look for in order to fix this problem?
-
Senior Member
The swf does not load or the variables?Whats the url?
-
the swf load fine, but the variables do not load,
now the variables load perfect when I run the movie inside flash mx, but the variables do not load when I run the swf in the web browser,
when I sendAndLoad variables I am using the abbsolute path, http://63.33.128.0/foldername/page.asp
I did this so that it should work both in the flash evn. and on the server, but it doesn't
-
Senior Member
So the only difference is that you have the file embedded in html when it does not work.
Maybe you have something wrong in the embed code?
I suppose the Flashfile is on the same server as the asp script ( they have to ).
-
ok I did a test, and here are the results...
I changed my "sendAndLoad" to just "send" and had the return variables goto "_blank"
when I run the file in flash (where it works) it opens a new blank window will all the variables in the querystring, which is wierd because i send the variables using POST
when I run the file (swf) embeded in the html page (where it doesn't work) it open a new window but with an error
Error '80040e07' - Data type mismatch in criteria expression
and this time no variables in the querystring, they were sent using post.
flash MX version: WIN 6,0,79,0
Flash Player Version: WIN 6,1,78,0
-
Senior Member
-
Senior Member
Oops!
If you post a url I can try it and see if the results are the same. Im on Mac, IE 5.0. Maybe we can rule out if its the player version in your browser.
-
ok, here is the link, notice the id=15, this is passed to the app, the app, passes this to ASP to retrieve the data from the database, and uses the data to populate the outline (IT WORKS???) at the bottom is a "prepertyInspector" when ever you click "root" on the "outline" the property inspector will appear with a "save" and "exit" button
you should be able to make a change "any change" click "save" close the application, then when you reopen it the changes should be loaded
again this works perfect "inside" flash
Last edited by zaxis; 04-17-2003 at 02:21 PM.
-
I FIXED IT!!!! god I'm so happy, I'll tell you what was wrong in case someone else tries this,
I was passing the id into flash by attaching it to the querystring like this
my.swf?id=15 when this gets into flash it's a string not a number, my SQL was barfing because I was passing a string to retrieve the record id, when we all know record id are numbers!!!!
thanks for you help, you were right it was something wrong with the embed 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
|