Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Links In An Executable File



I have a flash tour for a product, at the end there are links. The links work fine in the flash player, and also on the website in an html page. This tour was then put on a CD as an executable file and they no longer work. The mouse over works, in this case i have a simple color change. But the cursor remains an arrow and the link does not work. Any ideas why this wouldn't work?Help would be appreciatedthank you, nate



Adobe > ActionScript 1 and 2
Posted on: 11/17/2006 07:37:17 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Links In An Executable File
I made a flash tour for a product, at the end there are links. The links work fine in the flash player, and also on the website in an html page. This tour was then put on a CD as an executable file and they no longer work. The mouse over works, in this case i have a simple color change. But the cursor remains an arrow and the link does not work. Any ideas why this wouldn't work?

Help would be appreciated

thank you,
nate

Executable File
Helppp please,
Does anyone know how to make a file into an executable file? Thanks

Creating Executable(exe) File?
Hi

Could any one tell me how to create exe file.

Calling An Executable File
I have 2 Flash executables.
The Main Flash "Main.exe" should call the child flash "child.exe" and the child.exe has to be executed.
Can this be done?

I came to know that if we place the 'child.exe' file in a folder name 'fscommand' it is possible.
Then can I have any number of folders containing exe in it be called?

I mean to say, from 'Main.exe' can i call 'child.exe' which is in the folder 'fscommandfirstchild.exe'

Centering An Executable File
I have created an executable file from a flash movie and am wondering if it is possible to center the movie on the desktop when it autoruns.

OnLoad For An Executable File
ActionScript Code:
this.createEmptyMovieClip("tester_mc", 1);
tester_mc.loadMovie("rock.jpg");
function checkLoaded(target_mc:MovieClip) {
  var pctLoaded:Number = Math.round(target_mc.getBytesLoaded()/target_mc.getBytesTotal()*100);
  if (!isNaN(pctLoaded) && (pctLoaded>0)) {
   
    target_mc.onLoad = doOnLoad;
    target_mc.onEnterFrame=function(){
          var pctLoaded:Number = Math.round(target_mc.getBytesLoaded()/target_mc.getBytesTotal()*100);
         load_txt.text=pctLoaded;
         if (pctLoaded>=100){
            delete this.onEnterFrame
         }
    }
    clearInterval(myInterval);
  }
}
var myInterval:Number = setInterval(checkLoaded, 100, tester_mc);
function doOnLoad() {
  tester_mc.onRelease=function(){
      trace("button clicked");
  }
}
stop();

Above is my code. My question is this, in regular web programming this works, because the button is created out of the movie clip after the onLoad command is hit, once the jpg is loaded, the button call is made. This works when I use simulate download. But the picture does not react as a button if I am using an executate or exe file. Why not?

Creating .txt File From Flash Executable
Hi!

I'm trying to develop an app that will allow users to take notes during presentations. I found some interesting solutions to output those notes as a .txt file. But they rely on third parties, such as other script languages (one interesting solution uses JavaScript functions in the HTML code).

Is it possible to make a standalone Flash executable do that? I need a clue. Would it include working with system resources (the app will run on Windows, mainly)? Any hints would be appreciated.

How Do You Load In An Executable File In Flash?
Hey,

Just wondering if anyone can help me out a little bit...

I want to attach an action to a button where when the user clicks on it this button, it loads up an executable file?

Appreciate the responses in advance.

Open Browser OVER The Executable File
Hi
Can you help me with this:

I need to open a specific window browser (500x300 pixels) from an executable file; and need to open it OVER the current executable.

I´ve tried with "get URL" but I cannot give the size....and it opens behind the executable, so if I don´t minimize the current executable I never see the internet page....

thnks for helping!!!

Creating An Executable Flash File From A Dynamic Swf
Does anyone have any info re: creating a executable flash player movie, from a swf that is using dynamic data? Of course the portable version would be static from the current data.

example: many of you may have seen the code on the boards for a really nice photoviewer that loaded jpg's externally. I'd like to somehow be able to make a portable CD version of it. Executable if possible?

ie someone has a slideshow they have created and uploaded thier own images, and the ability to export that show to and executable for burning to a cd is where I'm going with this.

Anyone, Anyone, Anyone... VooDoo Economics

Viewing Movies Imported Into Flash 4 When Exported As Executable File
I am importing quicktime files into flash 4 and I want to publish the flash file as a windows projector (executable file) so that I can put it on CD Rom and have it autostart. When I publish the file to windows projector and view the finished executable file the video does not show up. I can view the flash animation, graphics, and even hear the imported wav file, but there is no video. Can anyone tell me what I need to do to include a QuickTime Video (mov) file in a flash file to create a finalized Executable (exe) file?

Please Help. I know it can be done, just don't know how to do it. If you know of anything that can accomplish this please let me know.

Thanks.

How Can I Call I Call An Executable File?
which is the command in flash to execute an .exe file?

.txt File And Links
Hi,
I'm loading a .txt file into my flash site. Within the .txt I need to put a link. I used the standard a href text within the document but of course it didn't work when tested. Any ideas?
thanks,
Terri

Links In A Swf File - Help
I am in the process of creating a web site. In this web site I designed my home page in Flash MX and the rest of my pages in HTML (no flash) and imported it all into Dreamweaver MX. As you can see, I want the flash file as the index.html file so it can link to the rest of the site.

But I'm having problems getting my flash document to link to my html pages. I thought you can use the "getURL" command to point to files on your machine and not just live urls.

when my site is live, I can see the flash document but it won't read the rest links of the site.

How can I get my .swf file to link to my html pages? I'm also using Dreamweaver MX for site management if that makes a difference.

What am I doing wrong?

Getting Links From A XML File
A while ago i downloaded this file from the kirupa forum. I wanted the button on the project image to be a link but cant get it to work. Can someone help me out. Even one of the textfileds can be a link as well, so i can write the url in the xml file and it loads something like www.kirupa.com in the textfiled and when clicking it the link works. Please help me out. Thanks

Where Do Ppl Put Their Links In An Fla File ?
Hi guys

I was playing with an fla file, but even after much trying couldn't find where the original coder has written his codes (I mean, link to other webpages from a button).

I tried looking for any 'a' in timeline, there's none. I then tried to click on the buttons, and as a kept clicking, I got different new windows like mainMovie, button name, symbol name, and last I reached a place where I could change the text of that button. But nowhere I found where I could change the link.

Any idea? Thanks.

Make Links In Txt File Pop Ups
hi all,
i have a text file that i am loading into my flash movie. In that text file are links. How do i get the links on the text file to become a pop up window?

Anyone know of a good tutorial that explains it?

all help will be appreciated thanks

Links In Text File
I have text in my flash movie that comes from a outside text file. How do I make one of the words link to an outside url?

Thanks,
gamist

Text File And Links
Is there any way to load an external text file and have words in it link, something along the lines of using <a href= but that doesn't seem to work!

Thanks

Links Help - File Attached
Hi Guys!
Ive got a basic website happening now in a flash file but I cant work out how to link the navagation to open up the body text in a designated area.

I have attached my .fla file, if you could help me work out the steps i need to take to click for example on 'about' and a paragraph of text then opens in the dashed box/area.

Please help!

Getting Links From A Text File?
I need to load links dynamically from a text file so that when I press a button I can make it go to that link.

So basically, I have a button and I want it to go to the link marked "link1" in the text file. How do I do that?

I have attached a text file for reference. Thanks!

[F8] Links In External Txt File?
i have a plain text info.txt file being loaded into my site. it simple has contact info. my question is how to i link the email addresses and website so that they are active links?

I tried <a href="http://……"> </a> but I think that only works in html - this is just .txt

please help.

Loading Web Links From Txt File
I am making a sort of flash news post that posts 5 news posts and goes through them automatically. I would like it so when you clicked on one of the buttons (1,2,3,4,5) it would go to the full article that is posted on the site.

So on the main actions layer, I did:

this.createEmptyMovieClip("loader", 0);
loadVariables("links.txt",loader);

On button 1 I did:

on(release)
{
getURL(loader.url1, _blank);
}

and in the text file I have:

links.txt
url1="www.google.com"&url2="www.paypal.com"

However #1 when I view it on my computer, it tries to go to file:///C|/Documents%20and%20Settings/...........
When i put it up on a site, it doesn't do anything at all.

Please help me out here!
All of the files are here - http://csulb.edu/~adurgavi/Flash/
thanks

Dynamic Links From Xml File Help Please
I have followed a tutorial in "dragslidefade" a book by Brendan Dawes, for flash action script. I'm sure I have followed it to the letter(ahnd typed from the books tutorial), but I cann't get it to work. my files are:

http://www.suspiria.info/dev/links.xml
http://www.suspiria.info/dev/dynamicmenututorial1.fla
http://www.suspiria.info/dev/dynamicmenututorial1.swf

it is supposed to look like http://www.saulbass.net/home.html (saul serchin>websites) but I can't get it to work. unfortunatly the support site for this book www.dragslidefade.com doesn't appear to be working so i am a bit stuck here. can antone shed any light on my errors???

thanks any help be greatly appreciated

Help Links In A Video File?
Hello everyone.

I should start by saying I have basically never used Flash before, but I know a little about it but not the full extent of its capabilities. I am wondering if it can help me in my university project.

Basically, my problem is this, I am a 3D modeller, and have created video files showing a fly-through tour of an old church - the people funding my course want me to be able to integrate it with a website in the following way - the video file should zoom in on a piece of historical interest and stop, at which point buttons should appear on the video file (i.e overlayed) saying for instance "give me more information about this" at which point a new window is opened with the proper website page.

Most notably at the same time as this option is presented, another button should allow the user to CONTINUE the video file playing. So there are stage after stage of these options to get more info, or to just continue with the video, all in a webpage.

Is this something that Flash can help me with? or I am barking up the wrong tree entirely? I have recently purchased the Flash 8 Bible and got hold of the software since I can see the power of this great bit of kit, but if it could help me with this too I would fall in love with it!

Many Thanks for any help you can give.
John Williams

Air Executable?
Hello all. Can an AIR application be launched in the same way as a flash executable? or does it have to be installed first to run?

I need to auto launch an application off of a disc, i would like to use some air features such as transparent stage. is this possible? or am i stuck with using and executable projector file to launch off of a disc?

Thanks for any input!
Q

Web Links In Text From External .txt File?
'ello...

i have some .swf files which act as news archive pop-ups, containing text which is loaded in from an external .txt file. i put some web links within that text, but they only open within the pop-up window, which is only about 300 x 300 and isn't resizeable, so that's no good!

am i allowed to put web links in a .txt file for loading into .swf? should i be putting "_blank" somewhere in the text file to make sure they open in another window, or is there some other way i can make sure it does that?

thanx 4 any help
louise

External .txt File To GetURL Links
I would like to import about 17 hyperlinks from a simple text file and assign them to various buttons within the movie. There are probably better ways to lay the foundation, but my brain is going numb.

The logic is as simple as this:

external text file with URL links as variables. (they change)

load the variables into the movie

take those variables and assign them to a button which uses getURL

Right now I'm manually typing in the URL in the getURL command for every button and that's getting really tedious. And if the URL's change, that's definitely gonna s--k.

Appreciate any advice, code hints, etc. I can see it, but I just cannot seem to execute it...

Thanks in advance,
Christian

Load External Links File (xml)
I'm building a Flash website that will have a "links section" (original, i know.) My problem is that I am attempting to make the section dynamically-loaded so that when the owner of the site wants to change his links he can do so just by editing the external file.

I know VERY LITTLE about XML or how to use Flash with XML, but I would be forever grateful if someone could help me figure out how to use something like the following XML structure to build a movie clip (of movie clips???) that will act as the links section.

XML:
<link>
<src>http://www.flashkit.com</src>
<desc>The Flash Source</desc>
</link>

I know that I need a generic movie clip that will have a button on it with the getURL() function and a textbox, but how to load the external XML is beyond my intermediate Flash knowledge.

Thanks for ANY help you can give.

Hyper Links In A Text File
Can some one please explain how to make a link in a text scroll area??
Thank you.

Download Links In A Flash File
Hi is it possible to have in a flash file, a button that when pressed will save a document to the users hard disk. ie a download link

How Do I Do Dyamic Links From A Text File
How can I load a list of links from a text file, to various images
in my flash project? So that when people click on the image, it
will send them to the URL?

What is the actionscript for that?

Also, I have a variety of URLS in complexity... what escaping issues
should I be concerned about?

Thanks!
Ray.

-----------------------------------
Smile like a for daddy.

Loading Links From External File
Hey, i'm a beginner to flash and i'm looking for a little help.

I'm creating a links page on my site. I want to load a list of links from an external html or text file, into a dynamic text box named content_txt.

I'm able to load text from an external file, but can't seem to get links to work.

Thanks for your time!

Adding Web Links Inside A .txt File
Hi All!

I am dynamically loading text into a Flash movie from a .txt file but I would like the .txt file to contain a link to a web page, which will work in Flash. Does anyone know what tags I have to use to get this to work?

Any help would be greatly appreciated. Many Thanks.

Swf Works Alone, But Not Within Another Swf. What's Up? Links And File Provided.
Hi fellow flashers, I need some help!

The STAFF page of a site I've created is a separate .swf called staff.swf that is loaded into the main website via the loader component. The staff.swf file works fine by itself, but not when loaded into the main page.

I’ve attached the staff.fla file, but unfortunately, I cannot attach the main file because of the size limits. If anyone would be willing to help me out, I would be more than willing to send them the .fla

Here are some links:

Main Page: (go to the information button, then staff)
http://www.geocities.com/tarambuehner/kbhuTV6.html

Staff swf:
http://www.geocities.com/tarambuehner/staff.swf

Staff html:
http://www.geocities.com/tarambuehner/staff.html

THANK you!

Links From SWF File In An HTML Page?
Flash MX 2004

I have a flash movie(swf) dropped into an HTML page in Adobe GoLive.
The SWF has a link built into it.

Right now when you click on the link, it opens up a new browser window.
I would like it to open up the new page in the same browser window.

Anyone know how to do this?

Here's a link to the test page in question:
http://www.taiflora.com/tfflash2.html

The "HOME" button is the only button linked right now.

This is the code that's in there now:

on (release) {
getURL("http://www.taiflora.com", "_self");

}

I thought this would work with "_self" in there but it's still opening up another window. I've also tried "_parent" & get the same result.

Any help will be appreciated.
jmitteco

Defining Links In An External File
well, I am wondering about 2 things actually (and please bear with me these might be ridiculously simple but I am fairly new to flash...)

1. Is it at all possible to use externally defined variables in a button or does it *have* to be in a movie clip?

2. How would I go about defining hyperlinks in an external file, and would the code look something like (in a frame for a movie clip that serves as a button)...
loadVariables ("links.txt",_targetMC)
_targetMC.onRelease = function() {
getURL(varlink)
}
I probably got it completely (or mostly) wrong, which is why I would appreciate any advice of how to do it the "right way"

[MX] Links. Works In .swf But Not In Html File
Hello. I'm hoping someone can help me.

I'm using Flash MX (not 2004)

I'm making a movie that has a html link on a button.

I've created a button with the following script as an example of what I've done:

on (release) {
getURL("http://www.websitename.com", "_blank");
}

In the attached Zip file, I used google.

Opening the .swf and pressing the button the link works but when I launch the html file with the .swf embedded it doesn't work. I get nothing.

This is really puzzling me.

Does anybody have any idea what's going wrong or a solution to my problem?

Thank you for your time.

Links In External Text File With & In Them
Hi, I am building a flash website which takes it's content from text files. In these text files I use HTML links and images. I need to make a paypal button on one page. Unfotunatly the code has & in the link address, this means that when flash reaches an & it thinks the file has ended and does not load the rest as i am using the loadVars method. the text file is as follows:


Code:
&daTextBox=
<img align='left' height='150' width='170' src='pic8.jpg'>Psychotherapy is a type of Soultion<br>
Second Paragraph. Contains lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots of stuff<br>
<img align='right' height='150' width='170' src='pic9.jpg'
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=kathleen%2ehaden%40btinternet%2ecom&item_name=1%20hour%20Reverse%20therapy%20Session%20%28Dundee%29&item_number=RTdundee&amount=100%2e00&no_shipping=0&no_note=1&currency_code=GBP&lc=GB&bn=PP%2dBuyNowBF&charset=UTF%2d8"><img src="buyit.gif"></a>
&


How can i make flash ignore the & in the html link?

Thanks for any advice, suggestions, etc.

Ewen

Displaying Text As Links From XML File
Hi,

I have a text field which loads in xml content and displays it in a text field. The title for each link on a new line.

What I want to do is make each title active as a link. Can anyone help?

Here's the code in flash which pulls in the xml and displays it in a text field, and the xml:


function parseNode(obj) {
// trace("parseNode");
displayText_txt.text += obj.childNodes[1].firstChild.nodeValue+newline;

}
XMLdata = new XML();
// FORCE WHITE SPACE TO BE IGNORED
XMLdata.ignoreWhite = true;
// ASSIGN FUNCTION TO RUN WHEN FILE IS LOADED
XMLdata.onLoad = function(success) {
if (success) {
// trace("ok");
// trace(XMLdata.toString());
postsArray = this.firstchild.childNodes;
// trace(postsArray[0].toString());
for (i=postsArray.length-10; i<=postsArray.length; i++) {
parseNode(postsArray[i]);

}
}
};
// LOAD XML FILE
XMLdata.load("posts.xml");

----------------



<?xml version="1.0" encoding="iso-8859-1"?>
<messageboard>
<post>
<date>1 Jan 2004</date>
<name>Boris</name>
<link>hello</link>
</post>
<post>
<date>2 Jan 2004</date>
<name>Roy</name>
<link>hello</link>
</post>
<post>
<date>3 Jan 2004</date>
<name>Nobby</name>
<link>hello</link>
</post>
<post>
<date>4 Jan 2004</date>
<name>ted</name>
<link>hello</link>
</post>
<post>
<date>5 Jan 2004</date>
<name>jim</name>
<link>hello</link>
</post>
<post>
<date>6 Jan 2004</date>
<name>mark</name>
<link>hello</link>
</post>
</messageboard>

Newbie - Changing Links W/txt File
Hello,

I have MX Flash 8 (migrating over from several years of Adobe Livemotion 2) and I've set up a website for my company. I'm trying to make sidebar with Recent news links that is retrieving it's text from a text file.

I have succesfully created dynamic text that will pull news dates and text from the text file, but I have no clue how to pull in hyperlinks from the text file. Is there anyway to script flash to pull links from an external source (preferably the same text file)?

If someone could help, I'd be grateful,
Andrew

Here is the script I am using to pull in text.

Code:

loadText = new LoadVars();
loadText.load("news.txt");
loadText.onLoad = function() {
date1.text = this.date1;
date1News.text = this.date1News;
date2.text = this.date2;
date2News.text = this.date2News;
date3.text = this.date3;
date3News.text = this.date3News;
};

Creating Http Links From A Txt File
I am using a txt file and dynamic text to update my website.
Here is the actionscript I am using.

ActionScript Code:
var LoadText:LoadVars = new LoadVars()
LoadText.onLoad = function(success) {
      if(success) {
            myTextBox.text = this.myText
      } else {
            trace("Error loading text file")
      }
}
LoadText.load("news.txt")

I would like to be able to add URL names to this text file that would be clickable and would open a blank web browser. Any ideas?

Creating Links From A .txt File Format
Hi,

Could anyone point me in the right direction of how to make links in a .txt document please?

I have attached my files as you see the flash file reads from the .txt doc - but how can I add links to the .txt file?

What I want to do is to be able to add links to other urls from this copy.

Anyone know an easy way to do it please?

D

Adding Web Links Inside A .txt File
Hi All!

I am dynamically loading text into a Flash movie from a .txt file but I would like the .txt file to contain a link to a web page, which will work in Flash. Does anyone know what tags I have to use to get this to work?

Any help would be greatly appreciated. Many Thanks.

I Need To Create A Button That Links To Another Swf File...
i'm creating my first website, and, for each menu item, i am creating a new flash document... is this the correct way to create a multi-page website?

plus: how to create a button that links to a jpg, thanks!

jane

Putting Links In An External .txt File
ok guys, i am a noob who needs some help. i am creating my first full flash site and i am trying to have a links page that i can update when ever i want to without having to upload the entire site.
i've read some tutorials on the forums but i am majorly confused. if you could give me a hand it would be great.

thanks
~dave

Updating Links From An External File
Hi guys,
I was wondering if there is a way to contain the links used in the SWF in an external file. So everytime a link changes, I don't have to edit the code for each button in the movie.

Thanks,
Fred.

Putting Links In An External .txt File
ok guys, i am a noob who needs some help. i am creating my first full flash site and i am trying to have a links page that i can update when ever i want to without having to upload the entire site.
i've read some tutorials on the forums but i am majorly confused. if you could give me a hand it would be great.

thanks
~dave

Button Links Using A Text File Or Xml?
I've seen this done with photopgraphs in Flash but I'm not sure how to go about it.
What I want is to update links from a map of the area I have images on.
Right now each image on the map has a link behind it using the on release event.
I wanted to be able to edit the links in one easy to get to place...

Copyright © 2005-08 www.BigResource.com, All rights reserved