ActionScript 3.0 :: HTML Link Tell Swf To Go To A Frame?
Feb 4, 2009How can I make a normal html link when click to tell a swf to go to say frame 4?
View 1 RepliesHow can I make a normal html link when click to tell a swf to go to say frame 4?
View 1 RepliesI have a website where my Home, About, Work and Contact pages are on four different frames on the time line. Once you click on the Work link from the opening Home page, your brought to the second frame where a little tween brings a bunch of thumbnails into view. When you click on the thumbnails, it brings you out of the .swf and into a new HTML page. The problem is getting back to the Work page in the .swf with out being brought to the opening Home page. I have used an anchor on the time line and changing my publish settings to HTML with anchors, and they do work! But, its opening my .swf in the Work frame and running through the movie back to the Home. Iv tried putting a stop(); on the Work frame, which does stop it but its a dead page, my tweens, buttons, everything is frozen.
View 1 RepliesI am able to pass a variable from an html link that loads a separate html file and instructs the swf embedded file to go to a specific frame. But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:
[Code]...
I know this sounds confusing but it's really a simple question. You can follow my site to better understand. [URL]
If you click on "Films" a submenu appears. I want all of these submenu buttons to link to (u-stu.com/films.html) but each go to a specific frame label in the .swf located within [URL]
[URL]
I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
View 1 Repliesi made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 RepliesI have a 90% all flash-site and when u click news webpage splits up in HTML blended with flash in a page called news.asp
(buttons are in flash and content in asp bellow)When loceted on news.asp and you click... let's say service you go back to index.html with the flash main.swf, but the link has ALSO have to go to label (service) or frame 30 lets say...
I have a html main.html as given
----- main.html----------------
<title>FlexTrail</title>
<script src="main.js"></script>
<frameset rows='200,200'>
[Code]....
I want the other file to open in same window bellow the first one.But the problem here is when i run this in IE8 the other frame opens in a different window but in Firefox im not getting any respose.
Note:- Javascript is enabled in both browsers and popup are not blocked
I have a scenario that I get an string with html data, this is not just html data it's an email (outlook) saved as an html file and dropped in the string.Now this string needs to be formatted to an html document and should be a clickable link in a datagrid. So when I click on the link, the HTML document should pop-up and should gave me a nice HTML page that is readable for the normal users. I hope it's a bit clear what I want o_0. don't know where to start.
View 3 RepliesI want to set link of another html page on flash file.
View 1 Repliesis it possible to link a frame inside a movie clip from main time line?
View 4 RepliesHow do I link a button thats embedded in frame 2 (music page timeline) to a frame in the main timeline ( frame 3= biography page)? Both pages are on the same scene with link buttons embedded in each page independent timeline.
View 1 Repliesis there any way I can link a button inside a MC on frame1 to a frame inside another MC that is located on another frame.Ive got 2 frames in total. On the first frame Ive got an Mc and inside this one Ive got a button that needs to be linked to frame number 50 which is inside a MC located on frame number 2.
View 1 RepliesI've got a few areas where I'm displaying XML driven content in Flash. I'd like then to be able to have links shown as well so the user can continue to navigate the page. How do I add an HTML link in the XML so that it displays properly in Flash? Does something need to be added to the ActionScript or is it all done in the XML?
HTML Code:
function loadXML(loaded) {
if (loaded) {
[code]....
as we are using in html<a href="#one> abc </a>ref. to<a name=one></a>xyzso that when click on abc, goes to text - xyz.in flash (as2)if we have a button (linked with a html file)and on click - we want to open html and go to directly on text - xyzin which way we have to give link on that button.(whats the idea for this)
View 3 Repliesi made this cool nav bar in flash and i would like to put it into my dremweaver html file,
however that file is not uploaded to the web
I have a box and is assigned as a button. In AS2 would be something like this: getURL("urltoload", "target"); But I am doing it in AS3, so I can learn more. I just want to add a HTML link, so when someone clicks on the box, a different page will load in the same browser, no pop-ups.
View 9 RepliesI'm working on the drop down menu with xml (from this site - [URL]), and I need to link to specific frames in my flash file, but it seems to be in html, is this possible to do?Or if not, I am building this drop down menu by hand and my actionscript looks like this:
//when you initialize your buttons set them to invisible like this
stars._visible = false;
starsa._visible = false;
stars1._visible = false;
[code]....
and this is only from 3 buttons,I have 2 choices but I would like to know the better, more easier route.
what do I need to do if I'm using web_txt.text to load in xml.
but I want to have that be a link from the xml...?
I've been told: web_txt.text.htmlText but that seems like it messing things up and when I put the html tag into the xml file it wont load any of the code under it.
I'll have an swf that I'd like to open up as a popup from an html link. I've been searching the forum, but most similar questions are to go from flash to html.
get a flash popup from an html link?
Is it it possible to receive FlashVars from an html link? How would that be done?
View 14 RepliesI have a swf file but I dont have the source. I need to add a link to the object swf but I dont know how. I need to do something like this:url...
View 1 RepliesI have swf file, im using code below to display it on my website:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="160" height="264">code]......
How can I convert this swf file into link? Im trying to achieve it with flashVars so I've added something like that:
<param name=FlashVars value="targetURL="http://example.com/">
But what's next? Can I make a link from this .swf file without having .fla?
Is it possible to make a link with a .swf flash file, using swfObject? I would like the entire video to be a clickable link... I'm out of ideas on how to make it happen., on the left thumbnails, do you see how they got a swf object to be a link?Anyone know the principle behind this? How would I do it? It seems like however I lay a div over the flash, my browser will not respond to the click.dit: I cannot make a link directly in the flash file, because 1. I dont have the project file 2. I need to echo PHP code in the link
View 3 RepliesI have my files organized in various directories on the server. If I'm in Directory A, how do I link to a file in Directory B? I know how to drill down into a directory using forward slashes, but I can't recall how to drill back up (or however you say it).
How do I rewrite this so that my button links to the PDF in a separate directory?
on (release) {
getURL("DirectoryA/bio.pdf","blank");
}
I am using Flex SDK4.1. I would like to add couple of links on a form as follows:
var descriptionText:Text = new Text();
descriptionText.htmlText = "<a href='linkxyz'>TestLink1'</a><br >";
descriptionText.selectable = true;
[code].....
I have a whole site made with flash, but I don't know how to link the buttons to other htmls. the actionscript is way too confusing. Is there a copy and paste I can use?
View 4 RepliesI haven't worked with HTML TextFields much, and was wondering if this is even possible. I am working on an events calendar, which when loaded displays a list of the current month's event titles in an HTML TextField. I would like to have these titles be links that when clicked on would call an ActionScript line that would setFocus on the associated date TextField.
View 3 Repliessay i have a flash file.. which checks the value of a variable... if the value is true then it does something and if the value is false it does something else.... my question is ,,... can i set that variable value... from a link to the html page which has that flashfile embedded in it
View 4 Repliesi have 5 menu in my website (home, news, about,..) and the news page is built in wordpress. The others is in one flash file (1 swf)..how do i make a link from my wordpress page to my swf (to specific frames in swf, and it's that frames is in a movieclip)
View 2 Replies