[url, target] → []
0x9a
2 → 0
4
ActionGetURL2 gets a URL and is stack based.
Field | Type | Comment |
---|---|---|
ActionGetURL2 | ACTIONRECORDHEADER |
ActionCode = 0x9A Length is always 1 |
SendVarsMethod | UB[2] |
0 = None; 1 = GET 2 = POST |
Reserved | UB[4] | Always 0 |
LoadTargetFlag | UB[1] |
0 = Target is a browser window 1 = Target is a path to a sprite |
LoadVariablesFlag | UB[1] |
0 = No variables to load 1 = Load variables |
ActionGetURL2 does the following:
If the LoadVariablesFlag is set, the server is expected to respond with a MIME type of application/x-www-form- urlencoded and a body in the format var1=value1&var2=value2&...&varx=valuex. This response is used to populate ActionScript variables rather than display a document. The variables populated can be in a timeline (if LoadTargetFlag is 0) or in the specified sprite (if LoadTargetFlag is 1).
If the LoadTargetFlag is specified without the LoadVariablesFlag, the server is expected to respond with a MIME type of application/x-shockwave-flash and a body that consists of a SWF file. This response is used to load a subfile into the specified sprite rather than to display an HTML document.