Integration Flash into ASP VB. Need your help

This is a discussion on "Integration Flash into ASP VB. Need your help" within the Flash & Multimedia Forum section. This forum, and the thread "Integration Flash into ASP VB. Need your help are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 26th, 2007, 10:30
New Member
Join Date: Aug 2007
Location: England
Age: 18
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Integration Flash into ASP VB. Need your help

Hello there, Im trying to integrate flash into an ASP page. I've read some literature about it (couldn't find much though) but still was not able force it to work.

Here's the script for the flash movie (it has 6 frames):

1 frame:
Code: Select all
loadVariables("testing.asp",0);
2 frame:
Code: Select all
if(ready = "no"){
 gotoAndStop(5);
}else{
 gotoAndStop(6);
}
3,4 are blank.

5 frame:
Code: Select all
gotoAndPlay(2);
6 frame contains word "loaded".

I want this movie to show "loading, pls wait" animation on the asp page until variable "ready" equals "yes", then it has to show "loaded" text.

What I get is:

1) The movie automaticly goes to the end event though "Ready" doesn't equal "yes".
2) In the second frame it doesn't check the value of "Ready" but assigns a value("yes") for some reason.
3) Sometimes script stucks and windows asks to terminate it, as my machine runs slowly. The script is pretty simple, why does this happen?

That's basicaly it, could someone explain to me why this thing doesn't work?

Thank you very much.
Reply With Quote

  #2 (permalink)  
Old Aug 27th, 2007, 19:09
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Integration Flash into ASP VB. Need your help

at the beginning of every frame put the stop(); commend above all of your AS just to make sure it stops (even though you are using gotoAndStop)

That should take care of the auto-advancing issue...

as for passing the variable through to the flash peice...it seems to me like you would need to declare the variable in flash as well as on the asp page using FlashVars. Something like:

<param name="FlashVars" value="Ready= no" />

and declare the variable in the action script too.

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #3 (permalink)  
Old Aug 27th, 2007, 21:34
New Member
Join Date: Aug 2007
Location: England
Age: 18
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Integration Flash into ASP VB. Need your help

Thank you Scott for your reply. Ok I'll try that as soon as I get to my desktop.
Reply With Quote
Reply

Tags
flash

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PayPal IPN integration Blake121 PHP Forum 0 Mar 13th, 2008 16:09
Paypal IPN integration. VasanthMuthu PHP Forum 4 Aug 24th, 2007 19:42
Integration Developer Web JobBot Job Opportunities 0 Feb 22nd, 2007 11:00
Problem with CSS and php integration londes Web Page Design 2 Jun 14th, 2006 15:54
PHP CSS integration problem londes PHP Forum 0 Jun 13th, 2006 18:42


All times are GMT. The time now is 15:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43