I managed to get just about everything working but now I'm stuck with FlashVars. I need to send one variable to the SWF and then it will use the variable in the URL to communicate with PHP what it is that it needs. However, I can't for the life of me seem to get Flash to read my Flash Var. Here is the bit in my HTML code first:
also you should consider using swfObject 2.x to embed your objects.....it uses a small java script to sniff what version of flash player the user is using and if its not a version compatible with your application it prompts and allows the user to download the proper version the use of flashVars with it is also streamlined and easy to use......I can help you get setup with it if you like.
I believe I have and I just tried it again and it simply returns null. I've also triple checked to ensure everything is spelled correctly and in the proper case. I'm not sure what I'm doing wrong here.
I'm also quite interested in that If you wouldn't mind I would really appreciate it!
oh i thought you had it under control by now ......i'll set it up with a normal embed and get back to you i can't do it by memory been too long with normal embed.
Here is the site http://www.permadi.com/tutorial/flashVars/index.html i used way back when i learned to embed flash vars and here is the quick embed code......you have to use two seperate embeds for diffrent browsers I think this is where your mistake is anyway let me know what happens
var myrid:int; var flashVars=this.loaderInfo.parameters; myrid=flashVars.rid;
If I have myrid set to an int, it's 0. If I have it set to a string it's null. I don't understand what I'm doing wrong here. There's only one embed code as well from what I can see in the HTML.
You are absolutely amazing and a huge live saver! I can't thank you enough for all of your help! That seemed to do the trick perfectly and is working great now Thank you so much for all of your help!!!
here is something you might like to know to get around the security sandbox violation so you can test your movie that makes calls to external files such as php files do the following.
1. browse to C:\Windows\System32\Macromed\Flash\FlashPlayerTrus t
2. make a text file and rename it to Trust.cfg
3. open Trust.cfg in text editor and type in the path to the folder that the .swf lives in
C:\Users\calmchess\Desktop\flashfolder