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 You
I 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.
Similar Messages
-
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 -
Flash & Dreamweaver in Studio 8 - Bundled Together or Individual Disks?
Is Studio 8 complied of 3 different disks, the latest version
of Flash, Dreamweaver, and Fireworks or is each version of that
program bundled together on one disk? What's the real different
between Studio 8 and buying all 3 programs separately aside from
the price advantage?rmiman,
> Is Studio 8 complied of 3 different disks, the latest
version
> of Flash, Dreamweaver, and Fireworks or is each version
> of that program bundled together on one disk?
You get two disks: A) Dreamweaver 8, Fireworks 8, Flash 8,
Flash 8
Video Encoder, Contribute 3, and FlashPaper 2; B) HomeSite+
5.5, ColdFusion
MX 7.0 Developer Edition, and Fireworks Tutorial Assets.
> What's the real different between Studio 8 and buying
all
> 3 programs separately aside from the price advantage?
The price advantage isn't enoughj? ;)
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Problems interact with Flash and ASP
Hello people, I am beginning to learn how flash to interact
with asp, but im having problems in the execution of the file.
access the link below to see what happens:
http://www.trusttarget.com.br/flash/flash_asp.swf
My AS code:
var endereco:URLRequest=new URLRequest("
http://www.trusttarget.com.br/flash/produtos.asp");
endereco.method=URLRequestMethod.GET;
var carregar:URLLoader = new URLLoader();
botao.addEventListener(MouseEvent.CLICK,chama);
function chama(evento:MouseEvent) :void {
var variavel:URLVariables = new URLVariables("nome="+
busca.text);
endereco.data= variavel;
carregar.load(endereco);
carregar.addEventListener(Event.COMPLETE,carregou);
var texto:String= "";
function carregou(evento:Event) :void {
var variaveis:URLVariables= new URLVariables(carregar.data);
var quantos:int= Number(variaveis.quantidade);
texto= "";
if (quantos == 0) {
texto= "Nenhum Produto encontrado";
} else {
for (var i:int=1; i<= quantos; i++) {
texto+= variaveis["produto"+i] + "\n";
resultado.text= texto;
When I execute the file ASP that makes the search in DB, he
perfectly works, exhibiting the existent information in DB.
But when I try for the Flash, not of the right.
Please, help me
Thanks everbodymy ASP code
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
banco = Server.MapPath("livro.mdb")
Set conexao = Server.CreateObject( "adodb.Connection" )
conexao.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="
& banco & ";"
Dim registros
Set registros = Server.CreateObject("ADODB.Recordset")
registros.ActiveConnection = conexao
registros.Source = "SELECT * FROM produtos WHERE produto LIKE
'" & Request.QueryString("nome") & "%'"
registros.CursorType = 0
registros.CursorLocation = 2
registros.LockType = 1
registros.Open()
x=0
Do while not registros.eof
x=x+1
response.write "produto" & x & "=" &
(registros.Fields.Item("produto").Value)
response.write " - Preço= " &
(FormatCurrency(registros.Fields.Item("preco").Value)) & " "
registros.MoveNext()
Loop
response.write "quantidade=" & x
registros.Close()
Set registros = Nothing
%>
thanks -
After download and installation, InDesign, Flash, Dreamweaver and Premiere Pro all won't fully launch. From the Windows icon pane, I click on the program, it opens the Sign In Required pane, I sign in, it opens the Thank You pane and reverts back to Sign In pane or never opens the program.
Acrobat also keeps giving me a popup to sign in, each time I look at a .pdf file.
I have tried uninstalling Acrobat and then redownloading. It didn't work.
Anyone else find a fix?Sign Out When Sign In http://forums.adobe.com/thread/1450581?tstart=0 may help
-and http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html -
Recently I did try ASP's date function to pass the current
date to flash, meaning that by adding the code
(?date=<%date%>) at the end of the flash movie's path in
Explorer. but didn't work. is it because is no longer in use? can
some help. cause i'm trying to learn to I pass a data between flash
and asp. thanks.Recently I did try ASP's date function to pass the current
date to flash, meaning that by adding the code
(?date=<%date%>) at the end of the flash movie's path in
Explorer. but didn't work. is it because is no longer in use? can
some help. cause i'm trying to learn to I pass a data between flash
and asp. thanks. -
Flash, Dreamweaver, or Fireworks for web gallery
I'm wanting to make a nice web gallery. I do not want to use
the "create web gallery" feature found in Photoshop or Fireworks
because I want to be able to customize my design more than what's
offered in those templates.
I'm at a loss as to what Fireworks is really used for in the
first place, but from digging around online it seems like maybe
it'd be helpful for making a web gallery (or maybe just the initial
stage of figuring out the design?)
What is the best software for creating a custom gallery? I'm
assuming Flash, but then I thought maybe I could pull it off with
Dreamweaver?
I like how the images zoom in and fade out in these
templates:
http://www.entheosweb.com/photoshop_templates/flash_photo_gallery.asp
These all had to be made with Flash right? I don't want to
pay for a template - again because I want to have custom design of
my own. But I haven't a clue how to do this all, so I'm also
wondering what I need to study up in? Flash alone? ActionScript
3.0?
Thanks for any tips to lead me in the right direction.Please refer to
your other post for replies. -
I created a wonderful photo gallery using Flash CS3 to
integrate into my website that I am creating in Dreamweaver CS3.
I've been a good doobie and relied on code instead of design mode
in Dreamweaver. My problem is that the photo gallery I created in
Flash works fine when testing the .swf file. It contains two
UILoaders, one for the photograph and one for a graphic title for
the photograph. I am using "arrays" for the actionscript for both
UILoaders and for a dynamic text item within the Flash file. When I
bring the final .swf into Dreamweaver, the only thing that's
functional is the dynamic text. The images do not load when
executing the actionscript. I am a total newbie with this and have
been very successful with everything I've done up to this point,
but now I'm scratching my head. I've got to be missing something
and hope that someone can shine a light on my problem.Although I have completely no idea whats happening, I usually
find its useful to publish to HTML from Flash to test. Have you
tried that?
You might also want to change your publish settings to detect
flash version and then publish to HTML so you can copy over the
detection code....?
See if that helps any otherwise - sorry! -
Connecting to a LIVE mySQL database via Dreamweaver (ASP)
Hi All,
Have a bit of of an issue with connecting to my live database... I've created several sites in PHP and each time its been really easy to set up a connection to the live database (on a shared server), and work using live data... but I can't figure out how to do it when working on an ASP (vb) site!? Can anyone direct my on how to do it please? ... or direct to some documentation on the subject? Cheers!
Regards,
DanSorry for jumping into the thread with a bit of an off topic question, but how do you find out what kind of a db the asp server is using? I've asked my company's web host a number of times for info/help in getting connected using Dreamweaver so I can redesign our site and I never hear back from them. It's a very specialized web hosting server set up for rubber stamp web sites. Looks like most of their customers use the online website design tool that they provide, but it is very limited in what it can do. Very limited.
They give me ftp access and I've changed what I can on the page, but with out access to the db it's hard to really change the look of the site.
Here's the link:
http://www.tacomarubberstamp.com -
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 -
Local videos not playing in Flash/Dreamweaver Air app
Hi there. I am having trouble playing local video from an Air app created from Dreamweaver. I have found many similar [posts, but most are about Flex and so on. I need some help getting this working form Flash and Dreamweaver.
What I did wat create a jQuery site that uses Flash to play videos. It will be packaged as a desktop Air app using the Dreamweaver Air plugin.
From advice that I got here (http://soenkerohde.com/2008/06/playing-local-files-with-air/)
I started a new Air Project in Flash as suggested. Using an Air flash app makes more sence I guess, but I still need to imbed it into an HTML framework.
Here is the code I am using:
import flash.filesystem.File;
var myVideo:Video = new Video(stage.stageWidth, stage.stageHeight);
addChild(myVideo);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
var client:Object = new Object();
client.onMetaData = function(metadata:Object):void {
trace(metadata.duration);
ns.client = client;
myVideo.attachNetStream(ns);
var f:File = new File("Special_Assignment_Title.flv");
ns.play(f.url);
When I run this I get the following error:
<blockquote cite="">ArgumentError: Error #2004: One of the parameters is invalid.
at Error$/throwError()
at flash.filesystem::File/set nativePath()
at flash.filesystem::File()
at videoPlayer_fla::MainTimeline/frame1()[videoPlayer_fla.MainTimeline::frame1:17]</blockquo te>
Any suggestions on how to fix my problem? Any help would be greatly appreciatedInstead of using the File object, try URLRequest instead:
var urlReq:URLRequest = new URLRequest("Special_Assignment_Title.flv");
ns.play(urlReq.url);
Chris -
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(); -
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); -
I posted this in the DW section as well.
On the home page of my site I have a flash file inserted
below a navigation bar. Every 4 seconds or so, the image swipes
over to show a new image. The problem is that when I'm using the
navigation bar above it (created in Fireworks and inserted as FW
html) the dropdown items disappear when the "swipe" action occurs.
It actual looks like it gets covered up by the moving image. It
does this in both Firefox and IE (5.2 for Mac) but it works just
fine in Safari.
Can anyone help?Would saying "never use flash buttons" be an acceptable
response to this
question?
If not, then blast on. If so, then I commend you for your
wisdom and
adaptability. Flash buttons are a very poor choice for a
website.
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
==================
"Katie Azar" <[email protected]> wrote in
message
news:g6q5rt$8ck$[email protected]..
> I'm having an issue saving flash buttons created within
Dreamweaver 8.
>
> When I create a flash button, I go through the motions
of tailoring the
> button, but once I type in a file name with .swf for the
"save as" field,
> and
> click ok, the "File" field in my Properties Inspector
reads as "undefined"
> and
> my flash button file is no where to be found as a saved
document. Why are
> my
> buttons not saving? I've even gone through and browsed
to exactly where
> to
> save, but still to no avail. Is this is a glitch?
>
> Also - and I think this is related - my buttons are
appearing as grayed
> flash
> boxes instead of showing up as I've tailored them. Is
this simply because
> the
> program isn't recognizing a file at all, since I'm not
able to save the
> buttons?
>
> Please help! Thank you.
>
Maybe you are looking for
-
How can you print a copy of your calendar from iCal past 6pm? When the calendar prints out, the time stops at 6pm.
-
Why does my Ipod have no sound?
I looked on other forums and found many, many people complaining of the same thing. I was using my Ipod, it got loud with static, and then went totally dead. I have tried resetting it; restoring it to original condition, etc. Nothing works. I have
-
I have installed JDeveloper 3.0 on a Win2000 Proffesional edition with Arabic Language support. However when I try to design a form in JDeveloper IDE and use Arabic characters, which is supported by the JDK according to the documentation, as labels o
-
Software update with OSX 10.8 Mountain Lion
Recently I upgraded my software to Mountain Lion 10.8, and since, I have been unable to update software such as iPhoto, as it says that it is "unavailable in your country (the U.S.)." Any suggestions on what I can do here?
-
Hi, If I create Z-Table in one server and Can I copy it into other server ? I am working on demo system and after that I have upload into customer system? Is it possible ? Thanks...