Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / June 2008



Tip: Looking for answers? Try searching our database.

ASP to Flash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ruth H - 05 Jun 2008 11:54 GMT
Hello,

I am using Flash 8 (Actionscript 2) and am in the process of developing a
program that loads variables from an ASPX file (.NET) using LoadVars and
displays the variables into Flash as dynamic text. It seems as though,
sometimes there is a lag time communicating with the server. When you enter the
frame, it takes a few seconds before the variables are displayed in Flash.

My question is, would it be appropriate to put a preloader here that waits for
Flash to pull all of the variables from the ASPX file? Looking at online
resources and the Help files in Flash, it indicates that you could use the
getBytes loaded for images or XML files. I wonder if this would be along the
right path for Flash communicating with an ASPX file.

I've also seend some posts or help files that mention the use of onDataLoad
vs. the getBytes loaded.

Please, let me know if you have any insight.
Are there any online or help resources that may address this?

Thanks so much!
sneakyimp - 24 Jun 2008 01:25 GMT
using getBytesLoaded is pretty involved.  Minimally, you could just display a
'getting data' message until the onDataLoad event of the LoadVars triggers.  
The example in the documentation is probably all you need to figure it out:


http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?con
text=LiveDocs_Parts&file=00002336.html
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.