Hello,
I have been looking for a solution for a long time. I have embedded a SWF app in html page using SWFObject. Now I need to give the Flash app the address where it is currently embedded, since the same SWF file is embedded in more than one locations! So the Flash app is supposed to pull the right content according to its current position.
I am open to everything!
any ideas are welcomed!
I will be fine if I have to send the current URL through JS in my embedding html!
please help! !!!
marian99us
0
Newbie Poster
Recommended Answers
Jump to PostYou can accomplish your task by using JAVA SCRIPT and FLASH
Logic:
i) Using javascript you can find the url of the page
ii) Pass the result to flash using the flash communication with javascript
iii) External Interface is used to execute the javascript functions from flash
iv) …
Jump to PostActually what you want to control in flash? Are you changing animations based on the URL or something else?
Jump to PostWhat content it reads? what type of swf is that? animation or anything? is it hosted?
All 10 Replies
mohummad.ali
0
Newbie Poster
rajarajan2017
marian99us
0
Newbie Poster
rajarajan2017
marian99us
0
Newbie Poster
rajarajan2017
marian99us
0
Newbie Poster
rajarajan2017
marian99us
0
Newbie Poster
rajarajan2017
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.