Swf LINK TO Another Swf
Dear All,
I tried to put in the following actionscript in my "Tao1.fla" under "buttonSWF" layer for loading "Tao2.swf" when viewer clicks the button.
on(release){ _root.loadmovie("Tao2.swf"); }
However, the output shows me this:
"Scene=Scene1, Layer=buttonSWF, Frame=1: Line 1: Mouse events are permitted only for button instances"
I have no idea about where I should put this actionscript. I tried to create a button instance for it but it still does not work. Can anyone tell me what's wrong with this? and how to solve this problem? Millions of thanks
please download my file at: http://www.delvetica.net/solution/fh003.html
FlashKit > Flash Help > Flash MX
Posted on: 04-18-2004, 04:07 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Button Link Inside Movie Clip Link To Slide #
First let me say I am a very new to ActionScript and Flash, but have a pretty good understanding of the web and a basic understanding of object oriented scripts from CSS and a few other languages.
I have a navigation menu which is a movie clip containing buttons inside it and have a slide presentation as my main content. I am trying to make the buttons link to a specific slide # in a different part of my flash presentation.
You can see the page here: http://brhpc.ericlevay.com
The nav menu is a downloaded source and the slide show is the default canned one from the Flash templates directory.
I was hoping to use the gotoandStop (slide#) to make the connection between the nav button and the slide but it does not do anything.
I will provide the source if needed...
Thanks!
Html Link And Flash Link On Intro Page
I've noticed that a lot of Flash sites have some kind of detector to see if you have the flash plug in. Is that scripting?
Plus, I see that the intro page of ones site will have an HTML and a FLASH option to choose from to enter the site. Would that be enabled in the publish settings of Flash 5? I am curious to know how that is done because I am designing this young lady's site and she wants the viewers to have the options of HTML or Flash.
Thanks!
Can Dynamic Text Have An Embedded Link? Or HTTP Link?
I'm using the Flash scroll bar componet, which uses dynamic text, and I want to link part of my dynamic text to a specific frame in my moive. - Is it possible?
- I've tried and it doesn't allow the 'Go TO' funcion.
so,
I created another HTML page and SWF to display the specific SWF screen that I want to show up - now I'm trying to link my dynamic text to '_self' so that when the link is clicked it will look like it is in the same site.
When I use the dynamic text and create the link, it appears to be ok/workable in the Properites panel, but when published, it doesn't work.
Text Flash Link - Button Mouseover & Link
Hi - I'm a basic user of flash mx - I'm redevloping my design site. How do you make text links and how do you do mouseover scripts in flash MX.
Thanks for your help
Hide Cursor When Over Text Link (TextEvent.LINK)
Hi there!
In my application, i have custom graphic cursor. I use Mouse.hide() 'onMouseMove' . There are some special cases though, when the default mouse cursor is still visible. Like for example when:
(1) rolling over an input texfield
(2) rolling over a link: <a event:blabla>link</a>
..in html-formatted textField.
The latter is worst. Is there a way to hide the default mouse cursor in these cases? I haven't found any so far..
Cheers!
Link From MySQL Database Then Displaying The Link In Flash 8
How do i create a link in a MySQL table and then how do i make that link display in flash 8? I've tried enabling html text but i don't know how to make the link display as an actual hyperlink?
Any Ideas.
My AS:
Code:
var theXML:XML = new XML();
theXML.ignoreWhite = true;
links_txt.html = true;
theXML.onLoad = function() {
var itemNodes = this.firstChild.childNodes;
for (i=0; i<itemNodes.length; i++) {
var link = itemNodes[i].childNodes[0].firstChild.nodeValue;
var desc = itemNodes[i].childNodes[1].firstChild.nodeValue;
links_txt.text += link+"
"+desc+"
";
}
};
theXML.load("http://www.jacksrambles.com/links.php");
Link Layers? Link Timeline Layer?
Ive been struggling for what seems like forever to figure this out. Is there any way to link layers together, so, when you move one, they all move? also, is there a way to link a layer timeline? so when you move one object, it moves all objects on that same layer timeline? possible way to move everything at once?
Thanks!
Dynamically Loading Link Text And Link
I need some code or reference for Dynamically Loading Link Text and Link from an external .txt file. The number of links could be any depending upon the changes made in the text file.
How do I go about it???????
Press On Link And Have It Display Right Next To Link
Hello. i don't know how else to word this, but what i am looking for is on my portfolio i am making if flash 8 to display the work right next to the link.
the links are on the left side and i want it so when u click on the link, on the right side of the screen, my work comes up. i just was wondering what is the best way to go around doing that without making everything messy in the timeline. if i posted this in the wrong section, let me know and i'll repost it when it should be.
thank you in advance for your advice.
nick
Continuous Sound From Link To Link
I have a site where I have loaded a few songs to specific pages and they play fine when I get there, yet I was wondering how to add a song that would play on the rest of the pages, and also so that when they go to anyone of these pages, the song doesn't start over again but is continuously playing without breaking. I am new to this flash thing so I need all the help i can get.
thanks
Adding Thumbnails <link></link>
hello
I need help with the tutorial.
It works fine but on the fist page of the tutorial the flash photo is clickable how do you do that?
It has something to do with the <link></link> tags in the xml file and I need to make a onRelease event in the code but how??
i'm new in the hole flash, actionscripting, site building thing sorry
thanks
steve
hifyah.be
<name="DWG" Link=""/> If Link Is Null Dont Link
Trying to load in some xml stuff and caught on something. I am checking if link is null but it still attempts to fire even if no link is present.
XML:
Code:
blah..blah....
......
<name="DWG" link=""/>
<name="ABC" link="http://www.abc.com"/>
<name="GDW" link="http://www.gdw.com"/>
.......
my if:
Code:
if (link != null) {
function here (
}
}
How can you escape it if there but not set? I have tried undefined, null or != ' ' ;... They all get read out from php grab from db just some have links in the link attribute and some dont. How can you escape that?
Active Link Color / Visited Link Color
Good day,
I have a simple navigation question. I've seen sites which allow buttons to have various states. Like in praystation.com- you click on a date, that date turns green. You click on another date- the old date turns red (indicating that you have already visited that link) and the new date becomes green.
How do you do that! Anyone know how that's done? It's nagging at my brain, I want to learn how, but I'm too much of a newbie to figure it out.
Any help would greatly appreciated.
Link
This is a question I haven't found anywere and belive me I have looked for some time. I was just wondering how you make a link on the movie to take you to another scene on the movie. I know that is confusing but what I mean is I have a homepage and I want to go to the 'about page' under 'scene 3' so how do I make a link to get there from the homepage.
Thanks in advanced,
Dave Lucas
URL Link
Help... If I want to create an opening screen with a link to open the index.htm file to a website. However the website is on the hard drive and on drive c: when copying to cd it will have a different drive letter.
Is it possible to link locally and burn the whole thing as a demo cd?
Thanks for any help.
hvon
hvon@canada.com
Best Link
Hi,
I have a qeustion; I have a movie for example flash.swf
know my question is: How to link to that movie. I mean shloud I link to the .swf file or to an .html file which contains the swf file.
I have heard that there are some disadvantages when you link to an .swf file and would like to know which ?
Thank you
Swf Link
hey. i kinda need some help building my website. I have an swf file i want to be a link to my site, and i want to put it on an html page.. how would i put this swf file on an html page and make it lead to my website?
just incase you guys wanted to see it, the URL for the swf file i want to be the link to my site is is http://www.angelfire.com/ca7/volcoms...9/Swift3D2.swf
and the URL for my site is http://kickme.to/kamyab
i want the swf file to take place of the text link i have
any help would be VERY appreciated.. please help
Pdf Link
any one know how i might go about linking to pdfs from an swf? i am puttin together a cd rom project that will have these pdfs in the folder with the exe/swf and my script wants to launch ie. and i want it to launch acrobat. the script i'm currently runnin is an fscommand and it looks like this......
on (release) {
fscommand ("exec", "my.pdf");
}
any help?
thanks
...how? With Link...
can anyone help??
i have this MC with many checkboxes(say A-Z), if a user selects any one of this checkbox, there will be an icon for that particular checkbox, which pops up on another MC(call it miniclip). everytime another checkbox is selected one more icon will be added to the miniclip. this should happen irrespective of which checkbox is chosen. moreover the icons should appear in sequence.
i have tried this by making MC's visible, but am restricted as the MC does not fall in sequence.
it would be xtremely helpful if anyone can shed some light.
http://www.geocities.com/xtreemnumb/4test.swf
this is just a dummy as the whole file is too huge.
Link To URL
Oh! Oh! I managed to get the "mailto" workin. But now I have come across the problem where the action I created from my flash page to go to my other page is not working. Please can someone help?
This is what I have tried..
On (Release)
Go To and Play (1)
End on
On (Press, Release)
Get URL ("www.netrover.com/buttrfly/index2.html")
End On
Any one Please?
Thank You
E-link
how can I create a email link from a button?
Please HELP Me... How Do I Link Swf's On For A Cd-rom
I need help with this...
I have 4 swf's that i have on my comp. I can link them with an URL but I want to put them on a cd-rom so i can give it as a gift. Where the heck and how can I do that.
Should I make them in to exe- files and where in the actions can I link them together?
Or should I make it into 1 file? But then my Q is how can I make them go seperate and not let the swf or exe take them all at once?
Please help me with this.
Link
its been best part of a year since i last used flash so can someone please tell me how i can make a site open when i click on a button. i tried looking at the help but it just crashed it
Here Is Link Of My .fla, Please Help Me Fix This..
hey yoz
i don't know wth is wrong
everythign seems perfect
but when i publish i don't see the animation i made with the masking involved.
please take a look and publish to see if you get the same error.
its also a great change to learn something you don't know maybe
thanx
http://www.geocities.com/blacklaser006/javaEBOOK.fla
http://www.geocities.com/blacklaser006/javaEBOOK.fla
To Link Or Not To Link...
...I've tried to search Flashkit and I've tried the MX help-file, but I couldn't find what I was looking for, so I hope that any of you guys know how to do it:
I want to link to a different frame / scene from dynamic text, I know how to make a link to an other file (html, js, et cetera) but I can't figure out how to do it when the destination is another frame / scene.
Hope you can help me,
Luc
Link .exe?
Anyone know if you can link an .exe to a Flash file? If so, how?
Link
hi,
I have designed a rotating button in flash. On mouseover the color rotates. I have inserted the swf file into my dreamweaver file. But how should I give linke to that button so that it goes to my other html page.
Please advise
thanks
Link From One Swf To An Other?
How do you create a link from a swf loaded on level 1 that takes you to a frame in the main swf, level 0?
I am loading small movies into my main movie on different levels. I need to make a button in the small movie that unloads that movie and goes to a specific frame in the main movie.
Url Link In A Var?
Hi guys, im trying to dynamically insert a URL from an external text file ie......
External txt ---------------------------------------
link42=www.flashkit.com
flash movie --------------------enterFrame--------------
link = _root.link42
button---------------------------------------
//this is placed on a button in the movieclip
getURL (_parent.link, "_parent");
The prob is the link is in the Var which is fine but its just not intiating from the button press??
Is it possible to do this or am I totally barking up the wrong tree!!
Thanks in advance!
Any Have A Link?
A link for a tutorial or some help on building a flash only web site ? thanks
Link Help...
ok,
my site is too big to load up on the post baord so i am trying to put a linkk you you can download that ... How do i do that??? do i just up load it and say www.southwestern.edu/~hubnerp/"filename"????
or do i have to incorporate it in something...
thanks
Peter
www.southwestern.edu/~hubnerp
"site not completed"
Link To An Avi
Hi,
I have almost finished my presentation.
I need to link a button in the flash movie to an avi movie 6 minutes long.
What is the best way to do this? Import the movie into the flash movie? Link to it any other way?
Thanks a lot.
Link Help
http://www.flashkit.com/movies/Inter...1820/index.php
Please can somone write for me the exact sintax inside the fla how to make a link to a url adress out of each one of the 9 boxs in the movie?
i tride the "get url" in the stage and in the button itself and it doesn't work.
thanks
Link Help(get Url)
http://www.flashkit.com/movies/Inte...-1820/index.php
Please can somone write for me the exact sintax inside the fla how to make a link to a url adress out of each one of the 9 boxs in the movie?
i tride the "get url" in the stage and in the button itself and it doesn't work.
thanks
:( Link A Sub?
ive posted my rough menu, how do i now go about linking the subs to another scene in my flash site? i tried to fool it into doin it, but it dint work. it is a _root.sub that the buttons are in, so do i somewhere need like _parent thats a total guess, see im clutchin straws, someones gotta know right? ive seen ppl ask the same thing, but the threads dont resolve the ones i seen. i have looked an im not bein lazy, pls reward me with wonderful answers, many thanks,
Link A Fla.to Another Fla.
hi, i have a preloader fla. file and i want to link it to another fla. file, So when i put it up on the web, it starts with the preloader/animation, and goes to the main website, automaticly,
how do i do that?
also i have put an fla.file on the web but i would like to make it full screen. how do i do that?
thanks you, also im very new to flash so if u can give me a step by step guide how to do it, that would be great!!!!!1
Nick_boy
london
Link To Swf
How can I link my swf directly to the html, so it is opened inside?
Thanks
Mike
Exe Link
how to link exe file from flash....... for creating cd
Thanks and regards
formal
Link To URL
I got this actionscript (below) from a tutorial here at FK, but it doesn't seem to be working...Can anyone tell me what I may have done wrong?
On (Release)
Get URL ("http://www.flashkit.com/tutorials/tute.shtml", window=_blank")
End On
Thanks,
Vik
Link To F11 Key?
Is it possible to make a link to "onclick" execute the F11 key?
thanks
nads
Web Link Help
hiya just need a bit of help sure its simple
i need a buton to conect to a web site from my own just need the script
tried gotourl then the website address but it isnt working
i figure i need it in _blank or sumink
any help?
Help - How Do I Link To Pdf.
Hello
I'm working on a Flash presentation to go on a cdr, and the Flash needs to link to a bunch of .pdf's in a folder called Documents, also on the same cd.
I thought this was pretty straightforward, but I cant get the links to work.
Would someone be kind enough to provide instructions how to do this....if someone could walk me thru the process, it would be much appreciated.
Many thanks
Natasha
Link
i think this should be simple but......
i'm using the scrolling text component in flash mx, and all i want to do is link from the text within it to a different scene....how the heck do i do it?
thanks in advance
How Do I Link To Swf?
when i publish directly from my Main fla to swf, all my buttons that "load movie" work just fine, however, when i just try and open the swf, none of my links work.
here is what is on most of the buttons:
on (release) {
loadMovieNum ("theband.swf", 2);
}
do i need to write "root" or something?
Link To A PDF
I'm finishing up a CD-ROM application and have to impliment a link that accesses several external PDF files. Uusually I would simply use the "GetURL" tag; however, these PDFs have security functions that will not execute when opened via a browser.
Soooo... I need to somehow open them directly WITHOUT using the "GetURL" tag... is there another tag or script I can use to open these files?!
Thank you so much!!!
How Do I Link It?
How do I link a flash file from my index page to the home page of my site? Can somebody please help me???
|