Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AS3: How to detect if the destination flv is there?

New Here ,
Jan 15, 2014 Jan 15, 2014

Hello all,

I made a website which is using preloader flv to display progress bar until main flv is loaded.

I am thinking about adding check function that detects if the target flv is there or not, in case it fails to load, I should display something other than progress bar.

Anyone can teach me what is the best way to do it?

Thanks in advance!

TOPICS
ActionScript
832
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 15, 2014 Jan 15, 2014
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 15, 2014 Jan 15, 2014

Looks definately helpful, I will try it and let you know soon. Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 16, 2014 Jan 16, 2014

Thats works like a charm, thanks again!

Now, I put error message and send mail button to send me notification in case the link is missing.

How can I send automatic fixed form mail to my mail account? I dont want to ask my clients to put his/her address and form by themselvs.

Again, any help will be appreciated.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 16, 2014 Jan 16, 2014
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 16, 2014 Jan 16, 2014

OK again it was helpful, this was my first try to using php and seems like I have successfully done in half the way

I have installed xampp and checked my script in my browser, seems like it is working.

Now I put URLRequest and loader as the way this instruction link says, exporting swf from flash is successed with no error.

But e-mail never comes to me neither the local test on my pc or published website.

Am I missing something?

Also, where should I put this .php script, do I have to put it into flash's source scripts, also upload to the publish website?

Seems like my host server does not accept uploading .php files...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 16, 2014 Jan 16, 2014
LATEST

how to test sendmail with xampp locally:

http://stackoverflow.com/questions/15965376/how-to-configure-xampp-to-send-mail-from-localhost

Also, where should I put this .php script, do I have to put it into flash's source scripts, also upload to the publish website?

Yes, you have to upload it to your hoster to a folder that allows for php. Use phphinfo to get information about the servers php-capabilities:

http://www.php.net/manual/en/function.phpinfo.php

Seems like my host server does not accept uploading .php files...

Thats highly unlikely, if you are a payng customer. Practically every halfway decent webhoster at least offers access to a virtual server with a full LAMP, Admin-tools etc.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines