2 Replies - 9670 Views - Last Post: 21 June 2011 - 01:05 PM

#1 sankhya  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-May 11

Hi, How to receive value from html to flash with out using Embed tag?

Posted 29 May 2011 - 09:36 PM

Hi,
In my flash file I use GetURL methed to call Html page,
getURL("info.html?","_self"),{It has information about this flash page and close button}
after closing that page i continue my animation, for that how to receive value from html page?
any solution.........
Is This A Good Question/Topic? 0
  • +

Replies To: Hi, How to receive value from html to flash with out using Embed tag?

#2 BetaWar  Icon User is online

  • #include "soul.h"
  • member icon

Reputation: 1104
  • View blog
  • Posts: 6,917
  • Joined: 07-September 06

Re: Hi, How to receive value from html to flash with out using Embed tag?

Posted 31 May 2011 - 07:33 AM

If you don't want to use the embed to pass data to flash you should take a look at ExternalInterface: http://kb2.adobe.com...6/tn_15683.html It is a built in way for Flash to communicate with an external interface (in this case Javascript).

Hope that helps.
Was This Post Helpful? 0
  • +
  • -

#3 kiwi2  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 178
  • Joined: 16-September 08

Re: Hi, How to receive value from html to flash with out using Embed tag?

Posted 21 June 2011 - 01:05 PM

my_lv.onload = function(success) {
if (success) { 
var ims = my_lv.im;
var un = my_lv.unam;
 }  else {
Field.text ='Error loading/parsing LoadVars.';
}
};
my_lv.load('http://example.com/dd.txt'); 


acvtually i had a bit of a run around to find this working code.
text file
im=session&unam=juom


write it dynamically to the file using fopen(php).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1