Linking From A Flash File.
Hello all, I am trying to use a flash file on my html page to link to another page. I tried surrounding the object with the tag similar to the swishzone ad on Flashkit's home page. I'm not sure if this is how the actual flash file links or if it is just a strange place for the opening tag for the text link. I have also tried on(press){ getURL(http://www.xxx.com/xx.html); }
as well as on(release). In every case I the destination page shows up in the status bar but the cursor doesn't change and the link doesn't work. I have also tried placing a layer with blank.gif over the flash file and using that for the tlink. Still doesn't work. When I move blank.gif from over the flash file, the link works. I am using mx Thanks for any help.
edited because I had used an actual link tag and that made things funky
FlashKit > Flash Help > Flash MX
Posted on: 11-28-2003, 04:26 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Linking To A Flash File
I made a flash animation i want to show some people but if i link to it all it does it make you download it, which would require a flash program, then try to play it in there. I'd just like it to play right there at the place i link it to, how can i do that? It's an FLA file, that's all i can save it to.
Linking In A Flash File
i have a flash main page that i want to link to multiple html pages, which are in the same directory, how can i link them so that if i move the folder the links still work
Linking XML File From Flash
Hi,
I have a XML file and have to link it from Flash.
The code (in the first frame of the flash file) used is from the Manual, which is as follows:
xmlObj = new XML;
xmlObj.load("my_data.xml");
xmlObj.onLoad = parse;
xmlObj.ignoreWhite = 1;
function parse() {
// Main Node's XML Obj
mainNode = xmlObj.firstChild;
// Main Node's name ("CATALOG")
mainName = mainName.nodeName;
theString = mainName+"/r/r";
// Array of children in MAIN (all the songs)
childrenOfMain = new Array();
childrenOfMain = mainNode.childNodes;
for (i=0; i<=childrenOfMain.length; i++) {
if (childrenOfMain[i].nodeName<>null) {
// Name of this child ("always song")
theString = theString+"/r"+childOfMain[i].nodeName+"=";
// This Child's XML
thisChild = childOfMain[i];
theString = theString+"time: "+thisChild.attributes.duration+" ";
// Array of Nodes in this Child ("title" "album" etc.)
nodesOfThisChild = thisChild.childNodes;
for (j=0; j<nodesOfThisChild.length; j++) {
// This Tag's XML
thisTag = nodesOfThisChild[j];
// This Tag's Name
thisName = thisTag.nodeName;
if (thisTag.nodeName<>null) {
// & this Tag's value
thisValue = thisTag.firstChild.nodeValue;
theString = theString+thisName+":"+thisValue+" ";
}
// if
}
// for
}
// if
}
// for
}
// function
And the code in the XML file is as follows:
<?xml version=”1.0”?><CATALOG>
<SONG duration=”2:50”>
<TITLE>Alec Eiffel</TITLE>
<ALBUM>Trompe Le Monde</ALBUM>
<LABEL>4AD</LABEL>
<ARTIST>Pixies</ARTIST>
</SONG>
<SONG duration=”5:16”>
<TITLE>Optimistic</TITLE>
<ALBUM>Kid A</ALBUM>
<LABEL>Capitol</LABEL>
<ARTIST>Radiohead</ARTIST>
</SONG>
<SONG duration=”2:37”>
<TITLE>Brass Monkey</TITLE>
<ALBUM>Licensed to Ill</ALBUM>
<LABEL>Columbia</LABEL>
<ARTIST>Beastie Boys</ARTIST>
</SONG>
<SONG duration=”2:43”>
<TITLE>I don’t want to grow up</TITLE>
<ALBUM>Adios Amigos</ALBUM>
<LABEL>Radioactive Records</LABEL>
<ARTIST>Ramones</ARTIST>
<WRITER>Tom Waits</WRITER>
</SONG>
</CATALOG>
Now, the problem is that I am not able to view the XML data in flash.
Is it that a dynamic text field has to be used using a variable or any other way of viewing the data?
Please help me.
Thank You
Swapna
Linking To Another Flash File
I don't know if this is a stupid question or not, so I apologize ahead of time for my ignorance. I have a flash site, and I want to have a link to another flash site that isn't posted on the internet. How do I do this? I thought maybe there is a way to link to a .swf file. Can anyone help me with this? Thanks.
Linking Pdf To Flash File
I am trying to link a pdf file to a button in my flash presentation. This is what I have.
on (release) {
getURL("UniversalPAT.pdf", "_blank");
}
All I want it to do is display the pdf in the default browser. This opens the browser but it says it can not find the file. The only way I can get it to work is when I add in the full path, but this will only work on my computer. This will produced on a CD when finalized.
Thanks
chris
Linking To A File From Flash
Hello! i made a link in flash to a URL but it doesnt work, check it
www.cubecity.co.uk/test234/index.php
its on the front animation, it doesnt seem to want to link to the actual file which does exist! weird!
Linking To A File From Flash
Hello! i made a link in flash to a URL but it doesnt work, check it
www.cubecity.co.uk/test234/index.php
its on the front animation, it doesnt seem to want to link to the actual file which does exist! weird!
Linking Button From One Flash File To A Different Flash File
Hi All,
Wondering if anyone knows how to link buttons in one flash file to open a specific scene of an entirely different flash file? If it isn't possible to choose a specific scene, is there a way to just open a flash file...in the same browser window, but not within the flash file...if that makes sense?
I'm putting this on a website, so additionally, I will need to know which file to link it to, the swf, html, or fla.
Thanks!!
Flash EXE Linking To JavaScript File
Yo,
a quick one.
Can i link a Flash Projector to an existing JavaScript file near it (or in some folder).
I need to open IE browser window in fulscreen using that.
Or if you know how to open it in Fullscreen (directly, without parent window), pleeeeeeeeease tell me.
Later.
Please Help Me.....Linking Text File To Flash
I'm working on a site and there are a few ppl that will update the news but they don't now flash at all. So I'm trying to link a text file to dynamic text field so that when they change the text file on the server flash will change the dyanimc text feild to wut that text file has in it. I'm totally stuck and can't figure out how to do this. Could some tell me how to do it please.
Any help would be appreciated.
Thanks alot
Elite311
Linking .EXE File Using Flash Button
I am putting together an auto-loading CD for work. I have about 6 .exe files that I need to have execute upon press action of a Flash button. I have experience solely inside of flash and am not familiar with linking these two operations. Can anyone help me out?
Thanks
Brian
XBean9X@aol.com
Linking Externally From Flash File
I have a banner that does not have links within the flash itself.
How do I make the whole banner a link using HTML or JavaScript from outside?
Thanks for your help.
Linking To External Flash File? Help Plz...
Hello,
I am having a problem linking to an external flash file (one that is not hosted on my server). It wont play when I load up the page in my browser. Is there any trick I should know about when doing this? This is my code:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="74">
<param name="movie" value="http://www.urltofile/file.swf">
<param name="quality" value="high">
<embed src="http://www.urltofile/file.swf" width="600" height="74" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
I put http://www.urltofile/file.swf in place of the actual url to the file. I created this in dreamweaver and put the correct url in the URL box and its just not working. It works with flash files that are on my server though.
Thanks for your help.
Help Flash Projector Linking To .SWF File
How do you get a publish Flash Projector to link to a .SWF file.
I've tried the following, but doesn't work.
(release) {
_root.contents.loadMovie("locations.swf");
}
and
(release) {
fscommand("exec", ""locations.swf"");
}
I can't get either one to work. Does anybody know what I'm doing wrong?
Thanks,
Carl
Linking Flash File Within Frames.
I have a three frame (left,middle,right) DW file with flash files embed to be used as buttons. I need to know how to script these buttons (DW and/orFMX) to get them to populate the middle frame, left frame, etc,.
Linking Pages Within The Flash File?
1) What actionscript 3.0 in Flash CS3 link files to other pages within the same application for a dynamic website? For example, to move between the navigation bar: home, about, or the contact page?
2)Which actionscript 3.0 makes additional line space within a paragraph for the text area component using the vertical scrollbar? I tried the following actionscript 3.0 below but received error messages.
import fl.controls.TextArea;
var aTa:TextArea = new TextArea();
aTa.move(100,100);
aTa.setSize(200, 200);
aTa.condenseWhite = true;
aTa.htmlText = ' <b>Lorem ipsum dolor</b> sit amet, consectetuer adipiscing elit. <u>Vivamus quis nisl vel tortor nonummy vulputate.</u> Quisque sit amet eros sed purus euismod tempor. Morbi tempor. <font color="#FF0000">Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.</font> Curabitur diam. Suspendisse at purus in ipsum volutpat viverra. Nulla pellentesque libero id libero.';
addChild(aTa);
import fl.controls.TextArea;
var myText:String = "";
myText += "<p>You can use the <b> tag to create <b>bold</b> text.</p>";
myText += "<p>You can use the <i> tag to create <i>italic</i> text.</p>";
myText += "<p>You can use the <u> tag to create <u>underlined</a> text.</p>";
myText += "<p>You can use the <a> tag to create <a href='http://www.adobe.com'>links to other sites</a>.</p>";
Thank you,
Linking A Flash File In Html
Hi i have a problem with linking a flash file in html.
I dont want to make the link IN flash but with code .
i have the following code ant it isn't working
<a href="www.LINK.NL">
<object onClick="window.location.href=LOCATION" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="234" height="60">
<param name="movie" value="MOVIE URL.swf">
<param name="quality" value="high" >
<embed src="MOVIE URL.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="234" height="60"></embed>
</object></a>
i realy hope some one know how to make it work i surfed for hours and found nothing,
tnx!
Linking To URL From Flash Projector File
I'm trying link to a website and also a readme.txt file from two buttons in a flash projector file that is set to fullscreen. The button links work ok but the new browser window is displayed behind the projector file. therefore the end user will not know if the new window has opened or not. how can i make the browser window open in front of the projector file.
i'm on a PC if that makes and difference?
Linking A Flash Movie To An Mp3 File
Hello everyone. This is my first post...be gentle
I write music stuff and want to put some of it on the Webb.
I am Using Flash 8 and Dreamweaver 8 and Photoshop7. All on Mac G5
I have created various animations in Flash 8 then loaded them in Dreamweaver.
From the animation, I want to be able to click on it and stream my mp3 stuff (or m3u)
Is it possible or does it only work from jpeg/layer/tables etc...and stuff like that.
From the Dreamweaver property panel, I cannot see any way to do that..
Lets just say that I have an animation going from left to right over 2 seconds, once stopped I click on it and then my lovely music starts
Can Anyone help this lost French man???
Merçi
Linking A Flash File In Html
Hi i have a problem with linking a flash file in html.
I dont want to make the link IN flash but with code .
i have the following code ant it isn't working
<a href="www.LINK.NL">
<object onClick="window.location.href=LOCATION" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="234" height="60">
<param name="movie" value="MOVIE URL.swf">
<param name="quality" value="high" >
<embed src="MOVIE URL.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="234" height="60"></embed>
</object></a>
i realy hope some one know how to make it work i surfed for hours and found nothing,
tnx!
Linking To URL From Flash Projector File
I'm trying link to a website and also a readme.txt file from two buttons in a flash projector file that is set to fullscreen. The button links work ok but the new browser window is displayed behind the projector file. therefore the end user will not know if the new window has opened or not. how can i make the browser window open in front of the projector file.
i'm on a PC if that makes and difference?
Linking More Than 1 .txt File In A Flash Movie
I seem to be having trouble loading a second .txt file that occurs further along on the timeline under a different labled section of frames.
Is there a rule as to how many .txt files can be linked in an .fla file over a multiframed movie? The second occurence of the movie clip with the text refuses to load the content of the text file it's pointed at
I've attached the file so you can see what I'm doing.
[F8] Urgent Help Needed. Linking A Flash File To The Next
Hey whats up guys
Im currently using Flash 8 and have created a flash game for my school project. Unfortunately, i forgot to make an intro for the game so i made it separately. Is there anyway for me to link both of them together? I would also like to link a flash quiz before the flash game so basically i need some buttons to link them together. Can anyone please help me? The dead line is coming real soon...If you have the answer to my question, can you explain to me detailedly? Time is running out
Please Help - Linking Flash File To Exe To Launch App Install
I'm a flash newbie - am designing an interactive cd to send software to clients and need to be able to link a button in flash to a .exe file on the cd.
Have tried
on (release) {
getURL("installersetup.exe");
}
This isnt working!
Any ideas please? (thanks so much)
[F9] Please Help - Linking Flash File To Exe To Launch App Install
I'm a flash newbie - am designing an interactive cd to send software to clients and need to be able to link a button in flash to a .exe file on the cd.
Have tried
on (release) {
getURL("installersetup.exe");
}
This isnt working!
Any ideas please? (thanks so much)
Linking Another Swf File To You Current Flash Animation..~~
Hey!
I am designing my website at the moment n developing it in flash 8. m not much of an actionscript person, unfortunatly hence i need your help here... !!
now i have created a link FLASH in my portfolio, and i have put some thumbnail images of the flash animations i have done. I have made them all buttons. Now what i wanna do is.. when i click on a particular button i want it to open that flash animation in another window...! but i dunno what script shud i write.... please help me do this..!! I have put all the swf files that have to be linked to their respective buttons in the same folder as my fla file..! but whats the code to link them and clicking and opening them in another window...i dont know.
Thanks For your help.
Cheers!
R
Linking File To A Flash Button: Beginner Help?
I am trying to link a flash button (say button1) to a file saved in a particular folder.
This is the typical way I found:
on(release) {
getURL("http://my_url.com", "_blank");
}
and it works...
In my case, I want to link this button to a file "sample.html" in the same folder... but when I say
getURL("sample.html", "_blank");
Nothing happens...!
Is there some simple way to handle this?
Thanks in advance.
Embeded Flash Not Linking To Txt File Playlist In Different Directory
I have a flash jukebox I 've made, the jukebox uses a playlist.txt file to load the music into the flash player. The problem is I want to embed the flash file into a page, in a different directory to the txt file and Mp3's. thee reason for this is that the directory that stores the txt file and the Mp3 tracks will always be different. A directory is created based on the name of the a user typed into a form, the tracks are uploaded via the net into that directory. I have a page where users can listen to peoples music the site is PHP driven.
I want the player to be on a search page which will always be the same url eg onlinegig/player.php.
The flash file will then be embedded from the directory of the bandname. eg onlinegig/brothernature/tracks So it is'nt picking up the text file in that directory because it's not in the same directory as the page which embeds the flash file,
Is there any way, I can tell the flash movie to look in the directory where it the movie exists not in the directory the page is in for the playlist.txt file, bearing in mind the url for the flash player will always be different and is stored in the database as a varible.
hope this makes sense.
Cheers Stuart
Linking Flash Index.htm To A Regular .html File?
I have a flash intro and once it is done I want to link the "enter" button and "skip intro" button to a regular .html file called Main.html. how would I go about doing this in actionscript?
I dont want the .html file to open inside flash or anything, just a new window.
Flash Html Code Linking To External File.
Hello,
Im just curious if this is even possible.
What if I wanted to like my embeded object to an external swf file on a different server. Kinda like linking an image to a separte location but just doing it with flash in the embeded html code.
this is an example what Im trying to do.
Quote:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="255" height="175">
<param name="movie" value="file:http://www.trinitymicrodesign.com/example.html" />
<param name="quality" value="high" />
<embed src="file:http://www.trinitymicrodesign.com/example.html" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="255" height="175"></embed>
</object>
Any insight would be great
Thanks
Linking To A Javascript (.js) File In Flash Or Document.write Command?
Hi,
how can I link to a javascript file via flash.
(eg. I would use this script in the html file: <script language="JavaScript" src="file.js"></script> )
How can I put this in flash?
Keep in mind I can't use javascript in the html.
And if you can't do that can you make flash write the code into the html file?
Linking A Flash To A Locally Saved File Or Html Document
hey there guys im doing my final major poject for college in media and were making a set of films and making a flash interface to go with them i was just wondering how can i make links in flash that either link to a an localy saved Html document or a localy saved .mov? i know how to link them to a website but not a locally saved file?
i would much appricate the help has this is the most important of my projects.
so thanks in advance
Matthew
Flash Behavior Design Required-linking To External Html File
Hi peeps,
I'm aiming to build a flash (mx 2004) library of behaviors to make my life a little easier. I need just a few little scripts... that I will pay upto each £50 for.
My first requirement:
I need a custom behaviour designed in Flash for calling up external html content. The way I envisage this behaviour is that you can apply it to a dynamic text region. From there you will need to define some simple parameters via a menu:
1)HTML file source
2)Style sheet source (I want the styles to be controlled externally via a CSS, although I should be able to apply styles and link to external stylesheets from within the html file)
3)…and any other parameters that you think is necessary.
Just reply to this thread or mail me at:
hassan@thecroc.com
Thanks
Hass
Flash Behavior Design Required-linking To External Html File
Hi peeps,
I'm aiming to build a flash (mx 2004) library of behaviors to make my life a little easier. I need just a few little scripts... that I will pay upto each £50 for.
My first requirement:
I need a custom behaviour designed in Flash for calling up external html content. The way I envisage this behaviour is that you can apply it to a dynamic text region. From there you will need to define some simple parameters via a menu:
1)HTML file source
2)Style sheet source (I want the styles to be controlled externally via a CSS, although I should be able to apply styles and link to external stylesheets from within the html file)
3)…and any other parameters that you think is necessary.
Just reply to this thread or mail me at:
hassan@thecroc.com
Thanks
Hass
Linking To A .exe File From Within A Projector File
I am creating a Flash Projector front end to a Photo CD and have links within the flash.exe file to load my diferent photo albums which are all .exe files.
How do I create the link to load these albums.
I have tried the following.
on (release) {
fscommand ("exec", "zoo.exe");
}
zoo being the name of one of my albums.
This doesnt seem to work
Can anyone please shed some light on the problem of mine.
Linking External Swf File Within My Swf File
Hey guys,
Just a query about how i should link an external swf file to my swf file. Ive got a button where ive attached A/S to try and link to external swf file. The problem is that i intended to put this on a CD rom and also possibly online. Is there a way where i could just put down a path so that i dont need to change it about? is it _root issue perhaps?
This is what i have currently
ActionScript Code:
on (release) {
loadMovieNum("C:\Documents and Settings\Ahmed\Desktop\Test2.swf", 0);
}
Linking From An .swf File To An .html File
Hi, I have a flash file as part of my html website. I am trying to do a hyperlink from the flash page back to my html document, but no matter how I link it, it gives an error of URL not found. I've tried:
http://www.xxxxx.com/folder/[file name].html
[file name].html
folder/[file name].html
and none of them work.
Does anyone know the correct way to link??
Thanks
Kim
About Linking To Txt File
every flash experts:
my clips movies includes a dynamic textfield named " msg as a variable.
then i put an actionscript consisting "loadVariableNum" to load a txt file ,that defines the value of "msg",
however the chinese texts are succeed to be shown but only in windows system chinese version. Even i set the encoding of browser as chinese (BIG5), the browser in English window system doesn't work to show the txt.
I'm feeling confused that what scripts about encoding can be added and where i should put it?
can u help me or alternative suggestion?
thx a lot
Ray Chan
Linking To A .pdf File
??confused?? I'm trying to link to a .pdf file from my flash movie. I have this action on a button:
on (release) {
getURL ("www.aia-group.com/flashsite/pdf/plantwide_control_network_upgrade.pdf");
}
But when I hit the button I keep getting an error. What am I doing wrong. Thnx in advance.
PAT
Linking To .swf File On Web
sorry for asking something so simple, i'm sure it must be in a help section somewhere, but i can' find it!!!!!
i want to change a default flash html file so that it gets the .swf file from my angelfire page, but i don't know what to change in the html file so that it links properly.
thanks,
mcluke
Linking 2 SWF File
Greetings Flash-Lings,
I am new to Flash MX and need some help.
I am trying to link to an .swf file from within my site. The connection happens, but the movie is larger than the original file - looking distorted. How can I maintain the original size of the .swf file 250W x 125H when I link to this file?
I want the file to load on top of the current window. I also want to get rid of the tool bar and make the window the exact size of the movie.
go to http://www.kenwood73.com/askew_b.swf
All suggestions are welcomed. Lord knows I need it!
[Edited by 54thstudio on 08-04-2002 at 02:01 PM]
Linking To Exe File
I have a presentation I made in Director and is now a projector (exe). I would like to open this file from an other presentation I'm making in Flash.
With a button in the Flash movie opening a earlier presentation made in Director.
This is not for the Internet. It's to show clients presentations on a laptop.
Hope that anyone can help me!
I would also like to know how to do this on a MAC.
Thanks
Linking To A File
How do I link a program file in flash presentation to run or install and not to download...
do I have to do this with actions?
Linking To A .tif File
I am creating a projector which will run off a cd rom. The buttons will link to tif files which the user can save to the hard drive, unfortunately nothing happens when the button is clicked.
on (release) {
getURL("thumbs.tif");
}
thumbs.tif is in the same folder as the projector, could you please tell me if what I want to do is possible, and how.
Many thanks
edit: I've noticed that if I run the file as an swf in explorer, it works (I get the save to disk dialog box), if this is only possible to be done when run in explorer, can I get the html holding page to automatically run in full screen. I would like to avoid this, as the users may not have flash mx, so a projector would be better.
Linking Swf From Outside The File
A client has a number of .swf files (banners) which he would like to link to various places (and tag) without having to edit the .fla files. How can he do this?
|