|
-
combine Flash and ASP
Hello,
Does anyone known a book or online tutorial to combine Flash with ASP.
I'm a good Flash designer and a good ASP developer, but I don't know how to use this together.
tnx in advange
Gerjan Schoemaker
Netherlands, Dalfsen
-
Senior Member
-
Flash Books
There is a decent book called Flash .Net, the first part of the book covers Flash and ASP , the second part covers Flash Remoting.
-
FK's Offical Avatar Hijaker
Im not sure you need a whole book on this topic? i wouldnt expect it to be more than 15 pages long. If you have a solid VB/VBScript/ASP/Flash background you should have no problem sending data to and from flash.(not sure the previous poster understands the major differences between asp.net and asp but im assuming you are not familiar with .net since you said asp) Everyone develops there own unique ways but here is a starter kit:
file: "data.asp"
ASP output:
Code:
<%
someData = "This"
someData2 = "is"
someData3 = "easy"
response.write "&someData="& someData &"&someData2="& someData2 &"&someData3="& someData3 &"&count=3&"
%>
Flash recognizes "&" as terminators so make sure your output has a terminator at the begining and the end of your response. to load these
Flash Input:
Line1 Layer1:
Code:
count = "";
loadVariables(data.asp', this);
line2 layer1:
Code:
if(count == "") gotoAndStop(1);
line3 layer1:
Place a dynamic text field with var: _root.someData etc...
There is also a way to pass data using the Embed and Object tags flash generates. Simply add your querystring to the filename like src="flashfile.swf?someData=this&someData1=is&some Data=Easy"
That should help you get started.... There is also some good threads in here dealing with this if you look hard 
whirld peas
Last edited by Dr.Funk; 06-18-2003 at 03:04 PM.
-
Hi.
a bit of warning - on the actionscript part: if your loop goes back to the frame with the loadvariables call, you will be firing requests at the webserver with your frame rate. The sequence should be
1st frame: load variables
2nd frame blank
3rd frame: go back to 2nd if data not ready
Musicman
-
FK's Offical Avatar Hijaker
thanx for that correction...
-
Tnx Guys, sorry for the late replay, but I had some days off 
It realy helped me out but I devently have to learn actionscripting for fully control on my flashsites.
Again, tnx
Gerjan Schoemaker
Netherlands, Dalfsen
-
Re: Flash Books
Originally posted by foci
There is a decent book called Flash .Net, the first part of the book covers Flash and ASP , the second part covers Flash Remoting.
i wouldnt recommend this book to beginning actionscripters..
thape
-
Because it's to difficult for a rookie?
Gerjan Schoemaker
Netherlands, Dalfsen
-
Originally posted by gerjan
Because it's to difficult for a rookie?
yep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|