Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 2nd, 2008, 05:31 PM
Needs Regular Fix
 
Join Date: Sep 2007
Location: Canada
Posts: 260
Default Action Script3: How to get current URL

hi everyone,
I have setup pages to send and displayed several videos on it. there video are played using media player and one can send link of that video to his friend by using buttons on that media player. I am using php to end email, if i use php to get current link, it gets link of current page. is there a way to get current url using action script. or ay other alternate?
Reply
  #2  
Old September 4th, 2008, 04:03 AM
Familiar Sight
 
Join Date: Sep 2007
Posts: 194
Default

Hi
I'm not sure if I understand your question correctly.
When you load an external file in your flash file using AS3 you can get the url using this command

Code:
MovieClipName.loaderInfo.url
This is what I use to get url of images loaded in flash files

Hope it helps
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles