Revision: 46936
                            
                                                            
                                    
                                        
Updated Code
                                    
                                    
                                                    
                        at February 13, 2012 21:35 by shuchii
                            
                            Updated Code
// Suppose your URL looks like this: http://www.your-domain.com?varName=varValue
// First of all, you should add this piece of code 
// to the HTML file that's embedding your swf.
// ! Your SWF should be embedded through the SWFObject class!
// swfObject.addVariable("varNameInFlash", "<?=$_GET["varName"]?>");
trace(this.loaderInfo.parameters.varNameInFlash);     // output will be varValue
                                
                            Revision: 46935
                            
                                                            
                                    
                                        
Updated Code
                                    
                                    
                                                    
                        at February 13, 2012 21:33 by shuchii
                            
                            Updated Code
// Suppose your URL looks like this: http://www.your-domain.com?varName=varValue // First of all, you should add this piece of code // to the HTML file that's embedding your swf. // ! Your SWF should be embedded through the SWFObject class! // swfObject.addVariable(�varNameInFlash�, �<?=$_GET["varName"]?>�); trace(this.loaderInfo.parameters.varNameInFlash); // output will be varValue
                            Revision: 46934
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at May 27, 2011 20:13 by shuchii
                            
                            Initial Code
// Suppose your URL looks like this: http://www.your-domain.com?varName=varValue // First of all, you should add this piece of code // to the HTML file that's embedding your swf. // ! Your SWF should be embedded through the SWFObject class ! // swfObject.addVariable(“varNameInFlashâ€, “<?=$_GET["varName"]?>â€); trace(this.loaderInfo.parameters.varNameInFlash); // output will be varValue
Initial URL
Initial Description
Accessing QueryString variables or flashvars
Initial Title
flashvars / querystring variables
Initial Tags
Initial Language
ActionScript 3