Asp+flash+db
ho un db access con una serie di record(schede film), ho
aggiunto al db un record chiamato "link_swf" con all'interno l'url
che punta ad un file flash diverso per ogni film(file_flash1.swf,
file_flash2.swf etc.).
nella pagina asp che richiama la scheda film ho inserito un
file flash così impostato:
<embed src="top100/<%=link_swf%>" width="195"
height="250" quality="high"
dove "top100" è la cartella che contiene tutti i file
flash e "link_swf" è il relativo campo che ho aggiunto nel
database dove c'è l'url
quando vado a visualizzare la pagina non mi carica il file
flash! dove sbaglio?
se richiamo il file flash esternamemte alla pagina asp
funziona perfettamente
avete qualche suggerimento? grazie
i've already declared a variable!
sSql="SELECT Prodotti.Prodotto,Prodotti.Titolo,
Prodotti.Durata, Prodotti.Note, Prodotti.Trama,
Registi.NomeRegista, Nazionalita.DescrizioneNazione,
Prodotti.VietatoAiMinori, Prodotti.VHS, Prodotti.DVD,
Prodotti.DataUscitaVHS, Prodotti.DataUscitaDVD,
Prodotti.FileCopertina, Prodotti.link_swf, Prodotti.Trailer,
TipiAudio.DescrizioneTipoAudio, GeneriFilm.DescrizioneGenere "
" FROM (((Prodotti LEFT JOIN Registi ON Prodotti.Regista =
Registi.Regista) LEFT JOIN Nazionalita ON Prodotti.Nazionalita =
Nazionalita.CodiceNazione) LEFT JOIN TipiAudio ON
Prodotti.TipoAudio = TipiAudio.TipoAudio) INNER JOIN GeneriFilm ON
Prodotti.Genere = GeneriFilm.Genere " & _
" WHERE (((Prodotti.Titolo)='" & Replace(Titolo, "'",
"''") & "'))ORDER BY Prodotti.Titolo"
IF ERR.number=0 then
Note=rsDettaglioProdotto.Fields.Item("Note").Value & ""
ELSE
Note=""
END IF
IF ERR.number=0 then
FileCopertina=rsDettaglioProdotto.Fields.Item("FileCopertina").Value
ELSE
FileCopertina=""
END IF
IF ERR.number=0 then
link_swf=rsDettaglioProdotto.Fields.Item("link_swf").Value
ELSE
link_swf=""
Inside the db i need to specify the absolute url or just the
name of the file swf to be loaded?
Text
thank you
ale
Similar Messages
-
Why is my asp page not publishing properly?
Ok so here is a simple problem but it has me beat.
I made a html page with a flash header here.
http://www.wvhgc.org/memberslogin.html
I then added an authenticate user server behaviour to the
form and chose asp as the extension.
http://www.wvhgc.org/memberslogin.asp
So if you look at the above page you will see the error
message that has me beet.
So I look at the error line and it's pointing to the flash
movie which was already in the html page.
So I remove the movie and the page previews fine see here
>
http://www.wvhgc.org/memberslogin2.asp
But I don't want to do this, what is going wrong????Hello,
It's the IE Conditional nested <object> tag that IIS
ASP chokes on. (I used
**** to mark it here)
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="891" height="500">
<param name="movie" value="flash/header_v8.swf?button=0"
/>
<param name="quality" value="high" />
<param name="menu" value="false" />
<!--[if !IE]> <-->
*******************<object
data="flash/header_v8.swf?button=0"
width="891" height="500"
type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="pluginurl"
value="
http://www.macromedia.com/go/getflashplayer"
/>
FAIL (the browser should render some flash content, not
this).
</object>*********************
<!--> <![endif]-->
</object>
Since the flash is client side, you could do this:
<<%Response.write ("object")%>
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="891" height="500">
<param name="movie" value="flash/header_v8.swf?button=0"
/>
<param name="quality" value="high" />
<param name="menu" value="false" />
<!--[if !IE]> <-->
<object data="flash/header_v8.swf?button=0"
width="891" height="500"
type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="pluginurl"
value="
http://www.macromedia.com/go/getflashplayer"
/>
FAIL (the browser should render some flash content, not
this).
</object>
<!--> <![endif]-->
</object>
OR, here's another workaround for this issue:
http://seanys.com/2007/09/10/asp-flash-nested-objects/
Take care,
Tim
"ducati1" <[email protected]> wrote in
message
news:[email protected]...
> Ok so here is a simple problem but it has me beat.
> I made a html page with a flash header here.
>
http://www.wvhgc.org/memberslogin.html
> I then added an authenticate user server behaviour to
the form and chose
> asp
> as the extension.
>
http://www.wvhgc.org/memberslogin.asp
> So if you look at the above page you will see the error
message that has
> me
> beet.
> So I look at the error line and it's pointing to the
flash movie which was
> already in the html page.
> So I remove the movie and the page previews fine see
here >
>
http://www.wvhgc.org/memberslogin2.asp
> But I don't want to do this, what is going wrong????
>
> -
Changing JPG in SWF through ASP
I have a page with three frames. the left frame with images1
thumbnails, the right with images2 thumbnails. Both have Hyperlink
in order to pass that to SWF file in middle frame. To be more
precise - I have two ASP pages displayed in left right frames of my
web page. I want the SWF file (which is to be loaded in middle
frame on click events of these ASP pages) to receive paramenters
from these files and change the image in this SWF file. e. g.
middle frame test.swf files should load with image1.jpg when
clicked on image1.jpg thumbnail in left/ right frame and when
clicked on imageN.jpg thumbnails, the test.swf file should be
loaded in middle frame with imageN.jpg
I've been struggling with LoadVariables, GetURL, LoadVars
etc. etc. since last weak. please help me out.thanks "motion maker", your reply gave me the basic idea to
sort out my problem. I adopted the same while working with
ASP/Flash.
Thanks.
Now i have more severe issue... that is ...
I have one movieClip "m1" with a "j1.JPG" image in it and
another moveClip "m2" with another (Smaller than j1.jpg) "j2.jpg"
image in it.
The users on client ends are able to impose this m2 (j2.jpg)
on m1 (j1.jpg) using startDrag and stopDrag functions.
I want that the this imposed image (result of j1.jpg +
j2.jpg) could be uploaded by these internet clients to my server so
that I can take printout of this new image and do further work on
it.
em...em...em...mmmmm.... I guess u understood me.... if not
please leave a msg.... so that i could explain it more
specifically.
regards and thanks -
Multiple Forms in a Flash Document and Posting Using ASP
Hello everyone!
I have some what of a dilemma on my hands. I am creating
multiple forms in one document using Flash and need them to post
using ASP script. I have been researching this for the last six
days, and I have had NO luck. I have noticed that all the
information that I have found is for one form, not more than one.
What I have so far is the Flash document, with 4 forms. The
basic idea is that a user chooses from a drop down menu (the
combobox) a location, and depending on the location chosen, it
takes the user to another frame in the flash document. The forms
(all their own movie clip) contains a name field, a department
field, and either a manager name a userID field or an employee
number as well as the basic buttons for submitting the form or
resetting the form.
So far what I have working is the drop down menu (combobox)
taking me to the proper frame and it shows the appropriate form.
The reset button clearing the form (deleting any information that I
have imputed into the input fields), but I have absolutely NO idea
how to get the submit button to work (I did manage to get it to
send me a message if there was nothing in one of the input fields),
and NO idea how to get the information to the ASP file.
Where there are 4 forms do each of them have to have their
own ASP file attached to them, or can I use one?
If anyone knows a site that deals with multiple forms in one
SWF and posts using ASP that would be greatly appreciated, or if
you know some actionscript that could be helpful.
Thank you all in advance.That would be part of my problem, I really don't know ASP,
and I am flying by the seat of my pants.
The current script I have for the ASP file is:
<% @Language = "VBScript" %>
<%
Option explicit
Dim strfullName
Dim strdeptName
Dim strmanagerName
Dim strobjeemail
Dim strlocation
strfullName.Request.Form("fullName_txt")
strdeptName.Request.Form("deptName_txt")
strmanagerName.Request.Form("managerName_txt")
strlocation.Request.Form("locationName")
Set strobjemail = CreateObject("CDO.Message")
strobjemail.From = "[email protected]"
strobjemail.To = "[email protected]"
strobjemail.Subject = "Program from " + strlocation
strobjemail.Body = "This user has completed this progrmam
from " + strlocation & Chr(13) & Chr(10) & "Name: " +
strfullName & Chr(13) & Chr(10) & "Department: " +
strdeptName & Chr(13) & Chr(10) & + "Manager: " +
strmanagerName
strobjemail.Send
Set strobjemail=nothing
%>
The AS code that I have so far is:
function formValidationChecks(){
if (fullName_txt.length==0){
status_txt.text = "Please enter your Name";
else if (deptName_txt.length==0){
status_txt.text = "Please enter your Department";
else if (managerName_txt.length==0){
status_txt.text = "Please enter your Manager";
else {
status_txt.text = "Thank You!";
variables.fullName_txt = fullName_txt.text;
variables.deptName_txt = deptName_txt.text;
variables.managerName_txt = managerName_txt.text;
varLoader.load(varSend);
trace("-----");
trace("Name: "+fullName_txt.text);
trace("Department: "+deptName_txt.text);
trace("Manager: "+managerName_txt.text);
trace("Form validated");
submit_btn.onRelease = function(){
status_txt.text = "";
if(formValidationChecks()){
var lv = new LoadVars();
lv.fullName_txt = form.fullName_txt.text;
lv.deptName_txt = form.deptName_txt.text;
lv.managerName_txt = form.managerName_txt.text;
lv.sendAndLoad("mail.asp", lv, "POST");
reset_btn.onRelease = function()
fullName_txt.text = "";
deptName_txt.text = "";
managerName_txt.text = "";
So far my reset button clears everything, and the submit
button is tracing the content in the form fields, but it's not even
grabbing the asp page.
Any suggestions? Even pages that have tutorials that are in
the form of a video.
Thanks -
Send Variable From ASP to Flash to ASP
I'm really, really new to Flash and using Flash 8 Pro. This
is what I'm trying to do. I have a list of cars, when someone
clicks on a car, they are taken to a page with details about the
car and a flash gallery. The Flash Gallery is reads the image files
names from an xml file. I'm really using an asp file (photos.asp).
Anyway, I need the pass photos.asp the vin of the car from flash.
I did this is the VehicleDetailSaleen.asp screen
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="600" height="530">
<param name="movie"
value="photogallery.swf?VIN=<%=(Recordset1.Fields.Item("VIN").Value)%>">
<param name="quality" value="high">
<param name="VIN"
value="<%=(Recordset1.Fields.Item("VIN").Value)%>">
<embed
src="photogallery.swf?VIN=<%=(Recordset1.Fields.Item("VIN").Value)%>"
width="600" height="530" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
vin="<%=(Recordset1.Fields.Item("VIN").Value)%>"></embed>
I just don't know how to catch it in the flash file and send
it back....
#include "scripts.as"
LoadVars;
loadPhotoXML("Photos.asp?VIN="+ this.vin);
mclThumbnails.onEnterFrame=function(){
thumbnailsRoll()
function loadPhotoXML(filename:String):Void {
photoXML.ignoreWhite = true;
photoXML.load(filename);
photoXML.onLoad = function(success:Boolean):Void {
if (success) {
photoNumber = 0;
rootNode = this.firstChild;
totalPhotos = rootNode.childNodes.length;
for (var i = 0; i<totalPhotos*2; i++) {
if (i<totalPhotos) {
thumbnails
= rootNode.childNodes.childNodes[0].firstChild.nodeValue;
url
= rootNode.childNodes.childNodes[1].firstChild.nodeValue;
titleText
= rootNode.childNodes.childNodes[2].firstChild.nodeValue;
} else {
thumbnails
=
rootNode.childNodes[i-totalPhotos].childNodes[0].firstChild.nodeValue;
url =
rootNode.childNodes[i-totalPhotos].childNodes[1].firstChild.nodeValue;
titleText
=
rootNode.childNodes[i-totalPhotos].childNodes[2].firstChild.nodeValue;
thumbnailsLoad(i);
checkProgressLoad(0);
caption.text = titleText[0];
Please, I know I don't know anything, but I've been reading
forums for 2 days and everyone seems to have a different idea but I
don't really understand them. I just need a simple, do this, then
this sort of help.
Thanks,
Heatherheatherlsi. anyway you can post your resulting code? having
probelm with writing a Flash to ASP script... thanks -
Dreamweaver Flash not compatible with ASP
I've build an ASP page with DW CS4 that has also a Flash
element on it.
When testing the page I've been surprised to see that IIS
fires an error
saying that is not alowed to have nested object tags in a
page. And that's
exactly what DW does when inserting Flash into a page!!!
This seems a big problem as it not uncommon to have some
Flash elements
inside ASP pages.
Any solutions for this issue?
Regards,
AngelThanks for the clarification. Sorry you are having the
problem....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Angel Massa" <[email protected]> wrote in message
news:gdslln$mpt$[email protected]..
> Hi Murray,
>
> This happens when the IIS processes the ASP page. In the
local test
> server.
>
> I've found the problem and it's even documented in DW
CS4 help at
>
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7ca 6a.html
>
> Thes a note that says:
>
> Note: Microsoft Internet Information Server (IIS) does
not process nested
> object tags. For ASP pages, Dreamweaver uses nested
object/embed code
> instead of nested object code when inserting SWF or FLV
files.
>
> The problem is that I first created a template that uses
a Flash heather.
> Then when creating a page from this template and convert
it to ASP the
> nested object tags are on the template and causes the
error in IIS.
>
> Now I've copied the old object/embed code used in
previous versions of DW
> to use in the template and solved the problem.
>
> I'm surprised that Adobe used a code for inserting Flash
that causes this
> problem.
>
> Regards,
> Angel
>
>> Angel: You are seeing this in local preview? Can you
show us the page?
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>> ==================
> -
Flash --- Dreamweaver (.asp)
I trying an old version of Flash and trying to determin if it
will be worth it to use and I've run into a problem that I don't
understand.
We have a site made with .asp. I mad a flash file and went
through the publishing with no problem, but here is where my
problem started.
I have the files saved with all of our other site's files and
am try to use a .swf flash file. When I put it in and play it in
Dreamweaver, it looks fine. But when I load the page in and try and
open the page with Explorer, no flash file appears and it looks
like there isn't anything there.
I then went to a html file that we have and tried using it in
that page and it worked fine. I have no idea why I'm having this
problem, but could someone please explain why this is happening?
Also, is there a way to convert an .asp file to a .html file?
Thank YouI believe that you can "convert" an ASP page to HTML simply
by changing the
name. The web server will no longer see that as an ASP page.
However, any
ASP code will not work and any ASP code within the page will
be interpreted
as HTML and may cause errors. -
HI,
Does anyone know how to remove the ugly frame around flash
when using ASP?
I know the solution when using HTML but I need to embed teh
flash file in a .aspx page.
thanks.Aspx files just render HTML. View Source on both to see the
differences,
and adjust accordingly
Jeff
"golem2" <[email protected]> wrote in
message
news:f0r0dk$rei$[email protected]..
> HI,
> Does anyone know how to remove the ugly frame around
flash when using ASP?
> I know the solution when using HTML but I need to embed
teh flash file in
> a .aspx page.
>
> thanks -
hi, I have got to send sth by ASP in Flash. I wrote some code
but this doesnt work. Do anyone know what wrong?
This is what i am writing
on (press) {
form.loadVariables("email.asp", "POST");
If I just click on email.asp without Flash, I will get a
email from there. But if I use the above method to call that page,
the email wont be sent. So do anyone know what wrong?If you want to call the asp file from flash you should do it
like this
lv= new LoadVars();
lv.onLoad(success){
if(success){
trace("file was called");
lv.emailAddress="[email protected]"
lv.sendAndLoad("email.asp", lv,"POST");
The code above is for calling email.asp, pass a variable
called emailAddress via POST and handling a response from the asp,
if you do not wish to receive a response from the asp just use
send() instead of sendAndLoad(); -
Email Script only using Flash. Not Using Asp,Php
Hi,
Thanks in Advance.
Hi i want the script mailing directly from flash(swf ) to the
id where we mention not using any php,asp only using Screenweaver
Third Party Plugin Any Idea on this ISSue. AnyOne Can Help Kindly.
Awaiting For your reply mail.
R.Denesh Kumar
[email protected]Yes there s a third party tool to send mail directly from
flash. I forgot its name..
But my Suggestion is to use either ASP/PHP to send mail
Why BCZ. to send mail u need Net connection. If netconnection
Exist u can use ASP/PHP. U can access it from your desktop also. So
Use a ASP/PHP function to send mail. -
Send flash vars to popup ASP window
how can I send data from a flash webpage to an ASP page which
has to open in a popup window.
I can do them both seperatly, but how to integrate those 2 in
1....
Here's my script...
Attach Code
function PlaceOrder(){
SEND DATA TO MY ASP PAGE
var oFTransmit:LoadVars = new LoadVars();
oFTransmit.lang = _level0.languague;
oFTransmit.firstname_sender =
_root.form_tofriends_mc.firstname_sender_txt.text;
oFTransmit.name_sender =
_root.form_tofriends_mc.name_sender_txt.text;
oFTransmit.email_sender =
_root.form_tofriends_mc.email_sender_txt.text;
oFTransmit.firstname_receiver1 =
_root.form_tofriends_mc.firstname_receiver1_txt.text;
oFTransmit.email_receiver1 =
_root.form_tofriends_mc.email_receiver1_txt.text;
oFTransmit.firstname_receiver2 =
_root.form_tofriends_mc.firstname_receiver2_txt.text;
oFTransmit.email_receiver2 =
_root.form_tofriends_mc.email_receiver2_txt.text;
oFTransmit.firstname_receiver3 =
_root.form_tofriends_mc.firstname_receiver3_txt.text;
oFTransmit.email_receiver3 =
_root.form_tofriends_mc.email_receiver3_txt.text;
oFTransmit.send("
http://test.asp");
OR JUST OPENS MY ASP PAGE IN A POPUP WITHOUT RECEIVING DATA
getURL("javascript:popup('
http://test.asp','myPopUp',800,600)")
}i added a trace statement:
trace(Title.text);
trace(Forename1.text);
trace(Surname1.text);
trace(Address1.text);
trace(Country1.text);
trace(Post_code1.text);
trace(Fax1.text);
trace(Home_Phone1.text);
trace(Mobile_Phone1.text);
trace(E_Mail1.text);
trace (send_lv);
which returns this message in the output window.?????
Mr
jonathan
gibbons
orchard house
east lound
haxey
doncaster
england
dn9 2lr
076 286 161
01427 752185
0872 398 161
[email protected]
onLoad=%5Btype%20Function%5D&Password=Password&Login=Login&time%5Farrival=Flight%20No%2E%2 0or%20Est%20Time%20of%20Arrival%20%2D9%2E00%20am&Port%5FOut=Pai%20Airport&Port%5Fin=Pai%20 Airport&Transfer%5FNo=false&Transfer%5FYes=true&Below%5F15=2&Under%5F3=2&Guest%5FAdult=4&S uperior%5Froom=undefined&Delux%5Fvilla=Deluxe%20Villa&Honeymoon%5FSuite=2&rooms%5Fcombo=2& departure%5Fdate=Thu%20Jun%2019%2000%3A00%3A00%20GMT%2B0700%202008&arrival%5Fdate=Mon%20Ju n%2016%2000%3A00%3A00%20GMT%2B0700%202008&Department1=Arayaburi%20Boutique%20Resort&E%5FMa il1=gibbo%5F960%40hotmail%2Ecom&Fax1=076%20286%20161&Mobile%5FPhone1=0872%20398%20161&Home %5FPhone1=01427%20752185&Post%5Fcode1=dn9%202lr&Country1=england&Address1=orchard%20house% 0Deast%20lound%0Dhaxey%0Ddoncaster&Surname1=gibbons&Forename1=jonathan&Title=Mr
i named the components as above, these are not the
corresponding var name??? -
Passing Flash Variables to ASP
Hello everyone,
New problem, I even read other peoples posts. I am working on
a program that would send a subject to an .asp form, but the
subject line doesn't want to pass.
The code that I have in my flash program in the last frame
is:
mySendVars = new LoadVars();
mySendVars.Subject = "Subject Line";
mySendVars.send("mail.asp", "_self", "POST");
It is to open the mail.asp form, which it does, but alas, no
subject line.
The script that I have to accept the subject line is:
<% @Language = "VBScript" %>
<%
Option explicit
Response.Buffer= true
Response.Expires = -1441
Session("Email")=("[email protected]")
Session("Subject")
%>
<html>
<head>
<title><% Response.Write (Session("Subject"))
%></title>
<link rel="stylesheet" type="text/css" href="l.css">
<script LANGUAGE="JavaScript">
code to process if the form is filled out properly
<p align="center">You have successfully completed the
<% Response.Write (Session("Subject")) %>Program.
To do the evaluation<a href="otherprogram.asp">click
here</a>.</p>
The evaluation also opens, but there is no subject
line....which isn't a surprise if the subject variable isn't
passing.
Any help would be appreciated!
Thank you all in advance!I'm working on a similar problem where the asp script won't
send the email body. What I'm wondering about your problem is
whether the way you specify the subject ("Subject Line") is an
instance name or variable of the text field. The asp script I'm
using utilizes instance names.
So my question is, do you have the subject text field named
properly in your Flash movie? -
Need help integrating flash with asp
i am creating a dynamic site that pulls all of its content
from and access database. i would like to make the entire page in
flash. i have never used flash to pull any content from a datbase
before. does any one know how to do this ? or know of a good
tutorial? i can only seem to find tutorials for flash 8 or flash 5,
nothing for mx2004.
it seems like every thing i try doesnt work and no one knows
how to help me.
feeling very discouraged,
-furleyFlash has nothing to do with getting data from an Access
database.
You need to focus on either ASP or ASP.Net, a scripting
language for the
server script either JScript or VBScript, middleware usually
ADO or ADO.Net
and finally SQL. All of these items go together in a server
side script that
could work with non-Flash or Flash client interfaces. You
should find many
tutorials on the internet with these items as it has been
done for nearly a
decade.
You also can use ColdFusion.
For Flash, you need to learn LoadVars Actionscript class if
you plan to
communicate data in the URL Variables format or XML
Actionscript class if
you want to use XML data format. It will not really matter to
Flash what is
on the server side as it will only be sending and receiving
data in either
of those two data formats (URL Variables or XML).
If you want to look at some Using VBScript, ASP, ADO and an
OLEDB Connection
examples I use for seminars in Web database you can take a
look here:
http://www.hosfordusa.com/ClickSystems/courses/webdb/.
However they lack
Flash example but would work "as is" with a Flash example.
Once you look at some of those options, you can then form
more specific
questions for this forum and especially with using the
LoadVars and XML
Actionscript classes or the XML connector Flash component.
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"professorfurley" <[email protected]> wrote
in message
news:[email protected]...
i am creating a dynamic site that pulls all of its content
from and access
database. i would like to make the entire page in flash. i
have never used
flash to pull any content from a datbase before. does any one
know how to do
this ? or know of a good tutorial? i can only seem to find
tutorials for
flash
8 or flash 5, nothing for mx2004.
it seems like every thing i try doesnt work and no one knows
how to help
me.
feeling very discouraged,
-furley -
HELP WITH DOING BANNER AD ROTATION USING FLASH AND ASP
I need to know how to do Banner Advertisement (AFFILIATE ADS) in Flash using ActionScript 3 in Document Class(BANNERADS.AS).
I have
GETBANNERADS.ASP (ASP Web Program)
Retrieves Next AD (IMAGEURL, NAVIGATEURL) containing Banner and Advertiser URL
BANNER ADVERTISER URL
BUSHDOCTOR.GIF http://www.clickbank.com
SIZZLA.GIF http://www.amazon.com/AMAZON.PHP?AFFILIATE_CODE=2345
EXODUS.GIF http://www.godaddy.com/GODADDY.PHP?AFFILIATE_CODE=77777
UPRISING.GIF http://www.easycgi.com/
BANNERADSDBF.MDB (Microsoft Access Database with list of AFFILIATE ADVERTISEMENTS)
BANNERADS.SWF
package {
import flash.display.MovieClip ;
public class BANNERADS Extends MovieClip {
public function BANNERADS() {
var PICTURE:Loader = New Loader();
var IMAGEURL:String = "";
var NAVIGATEURL:String = "";
while ( ) {
LoadVariable("GETBANNERADS.ASP", IMAGEURL, NAVIGATEURL);
PICTURE.Load(New URLRequest(IMAGEURL));
PICTURE.AddActionListener(evt.COMPLETE, onload);
public function onload() {
PICTURE.AddActionListener(MouseEvent.CLICK, onClick);
public function onClick() {
geturl(NAVIGATEURL);package (
import flash.display.Sprite;
import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
public class Main extends Sprite {
public function Main() {
var PICTURE:Loader = New Loader();
PICTURE.addEventListener(Event.COMPLETE, onLoaded);
var LOADER :URLLoader = new URLLoader();
LOADER.addEventListener(Event.COMPLETE, getdata);
LOADER.dataFormat = URLLoaderDataFormat.VARIABLES;
var IMAGEURL :String = "";
var ADVERTISERURL :String = "";
var COUNTER :Number = 0;
var MAX :Number =0;
while ( COUNTER <= MAX) {
COUNTER = COUNTER + 1;
var requester:URLRequest = new URLRequest("BANNERADS.ASP");
requester.method = URLRequestMethod.POST;
LOADER.load(requester);
if (COUNTER == MAX) {
COUNTER = 0;
public function getdata(){
var loader2 : URLLoader = new URLLoader(Event.target);
loader2.dataFormat = URLLoaderDataFormat.VARIABLES;
var IMAGE :URLRequest = new URLRequest(loader2.data.IMAGEURL);
ADVERTISERURL = loader2.data.NAVIGATEURL;
MAX = loader2.data.MAXCOUNT;
PICTURE.load(IMAGE);
public function onLoaded(){
PICTURE.addEventListener(MouseEvent.CLICK, onClick);
public function onClick(){
navigateToURL(ADVERTISERURL); -
Flash + ASP + Excel question
Hello everyone:
Here is my problem:
I need to display an .asp file from flash that converts some
data from an MSSQL Server Database (on the web) to an Excel table.
The .asp file uses the MIME Code:
Response.ContentType = "application/vnd.ms-excel"
This .asp works fine, but when I try to access the file from
a Flash Application using
loadVariables("myasp.asp", this);, it does not do anything.
Is there any other way to access this file from flash?, and
if there is, what am I doing wrong?
Thank you in advance
GabrielThe Flash
loadVariables
global function requires the MIME format
application/x-www-form-urlencoded (a standard format used by CGI
scripts).
This is also true of the more current
LoadVars
and
[L=XMLSocket]http://livedocs.macromedia.com/flash/8/main/00002906.html">XML.
So you may need to create a web server side application that
exports the XCell data to the above formats.
Maybe you are looking for
-
One image for multiple Intel Macs
I am trying to find some reference to creating one universal NetInstall image so that older Intel based portable Macs will work with newer portable Macs. In the past we've been using a 10.5 retail image and update it as Apple updates come out. Howeve
-
At the end of my tether have had 6 engineer visits...
Hi - wondering if anyone here can help me or suggest who I can talk to to get some help. I have a recurring problem which happens a few times daily - my broadband will cut out and, at the same time, there will be crackling and hissing on the phone l
-
Installation from 10.6.8 - unable to select HD to install Yosemite
Hi all, I have an old MacBook6,1 of 2009 (the white one), with a 2.26GHz Intel Core 2 Duo processor, 2GB 1067 MHz DDR3 memory, 250GB of storage capability (100GB free), currently running Snow Leopard 10.6.8. I'm trying to upgrade to Yosemite 10.10 (m
-
Hello Experts From a few days we are facing one problem in which if a user execute the analyser and then tried to save the file in 2003 format then it throws an error, where as a few days back there was no such problem. we have 2007 MS Office. plz he
-
Creating control area,Company codes and Cost centres
Hello experts, I want to create a new controlling area,company code and cost centres for a new client. I know the transaction codes/menu path, but I would like to get an exact guidance for creating these. Experts pls comments on this, I want exact pr