ActionScript 1/2 :: Adding A Html Link To A Carousel?
Apr 8, 2009
i have followed a tutorial to build a flash craousel and have had no problems in building that. i wanted to add a html link to a section of the carousel but everything i have tried up to now has failed. All the information is passed through to the carousel from an xml file and everything works fine except for the link.
i have slightly modified the tutorial so i have an extra box on the information page which holds the web address for the site they are looking at in the portfolio. i have the address showing up but i cannot use the text as a link. the box that i am putting it in is a dynamic text box which has been set up with the following settings
[Code]...
View 4 Replies
Similar Posts:
Oct 27, 2008
I am using the Carousel application as designed in the 3 part tutorial. My question that i can't find an answer to online is how to add a URL link in the description text that shows when an icon is clicked.
View 3 Replies
Feb 23, 2009
I want to add an HTML link inside the "theText" through the xml file, maybe some bold font here and there too. I'm not a pro with XML, so all the CDATA talk confuses me.
All'z I added was:
theText.htmlText = true;
theText.htmlText = '';
[code]....
View 1 Replies
Feb 4, 2009
I absolutely love the carousel however in the item description I would like to have html links. I have tried the following:
FLASH:
theText.html = true; <<< i added this to the main AS code
import mx.utils.Delegate; ETC.....
XML:
<icon image="icon1.png" tooltip="LimeWire" content="LimeWire is a peer-to-peer file sharing client for the Gnutella network. It is free software released under the GNU General Public License. Limewire was the first file sharing program Java installed
<a href="[URL]">orchard</a>."/>
I also just added the standard html link into the xml. However all that loads is the background content, the main carousel refuses to load.
View 1 Replies
Oct 4, 2006
Is it possible to add code (...html or php?) to an html link (i.e the link will be featured in an html website) that passes a variable into the flash site it links to (just something simple like '_root.pageChoice = "home3" '? So when the site opens the swf turns to a certain page?This will be necessary as there will be links to the site from different html sites and each will need to see a different version of a certain page.
View 4 Replies
Sep 12, 2008
i was going thru the tutorial of carousels how can i add links to diff pages using carousel
View 14 Replies
Jul 26, 2010
I'm not very good in as or flash, but I'm learning. What seems to be a problem with that 3D carousel is:I would like to add close button when you want to go back to carousel after you click on carousel element (but it doesn't work as I would like to). The problem is that when I click on my button it returns to carousel, but carousel doesn't spin and also the last clicked element it's out of position. What I did is I'm calling the function unReleased which is working perfectlly when you clicked on the carousel element.[code]
View 4 Replies
Nov 8, 2007
i just ran through the '3d carousel' tutorial i would like to do/add.
here are a few things i would like to add to this code below:
- Different colour panel containers, so somehow i would need to edit the attachMovie with a tint on the mc or maybe load in a another mc?
- Each mc to be clickable.
- A unique link for each items
- The rotating animation to only occur when the mouse is in actual flash movie, so once out of the active area the rotation from the mouse x position to stop.
Also i was aware that GotoAndPlay tutorials have a xml version of the tutorial that can import links/images/ descriptions but for this particular task i cannot have any external files, so it's all got to be within this one file.
View 4 Replies
Aug 2, 2009
I have a nice Flash Carousel gallery and it fed from a n xml file. I am trying insert links to give an option to a reader to go an external website to read more about the given subject. I am new to actionscript, and all my trying and all my trying failed so far.Here is the script for this section:
xml.onLoad = function() {
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
//this counts the amunt of items listed in the xml document (numOfItems);
[code]....
View 0 Replies
Nov 12, 2009
I have completed the Carousel part 3 tutorial and everything is working perfectly. However, I want to add a link to an external url in each of the detailed descriptions. How would I add this to the xml file?
View 2 Replies
Jul 18, 2011
My company recently contracted an outside web developer to create our new website. I have some experience with Flash, but not beyond basic timeline controls. I've been given the task to update the flash element that has a horizontal carousel. Inside, there's three series, each with 6 buttons. The controls are a left and right arrow button on either side. I added a new button into the series and moved each of the series so they no longer ovrlapped.The carousel should just rotate through continuously, but it returns to the start after 6 clicks. Please let me know if there is any other materials I need to provide. Did adding in another button change the positions in the code? If so, what do I need to do to fix it?
[Code]...
View 1 Replies
Oct 28, 2009
I am trying to change a version of the gotoandlearn carousel to add an additional image that appears along with the first image when it's clicked on. I can get the movie clip to appear/disappear properly, but I can't get the photo to pull from the XML file and appear in the movie clip. I've tried everything and what I think should work doesn't. Here is my XML file and action script code: ("the2nd" is the movie instance, "image2" is the photo in the XML file that needs to appear).
XML file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<icons>
<icon image="carouseldogs/icon1.jpg" image2="carouseldogs/icon1a.jpg"
tooltip="How we help"
[Code]....
View 0 Replies
Jan 13, 2010
I have added 2 text3D textfields for each plane that gets rendered via xml.Everything works fine, yet as more planes get added via xml the carousel slows down considerably.If I remove the text3D fields the carousel rotates very smooth and at normal speed. Is this just a limitation of text3D in Papervision3D or is there a way to optimize this better? Yes, smooth is set to false and images have been optimized.
View 1 Replies
Jul 13, 2009
i 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 Replies
Jan 27, 2009
I am not new to html or flash but, some what new to XML. I created a carousel based off the tutorials and it works great on my computer but, when I create an html file and attach the .swf file the flash file loads but, the icon images or anything from the .xml file doesn't appear.This is what I use to load my .swf file :
<div id="spacer">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" [code].....
Do I have to put a special script in the html document for it to be able to see the xml file?
View 1 Replies
Feb 27, 2009
I 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...
View 1 Replies
Jul 1, 2011
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 Replies
Mar 11, 2011
I want to set link of another html page on flash file.
View 1 Replies
Jan 11, 2009
I am trying to modify a template that I have:There are 6 menu buttons on the top, they have rollover animation effects, as well as animation click effects. It did not come scripted with the action of which page to load when you click on them. The way the template was written, it uses the same script for all the buttons. What should I stick into cause it to load different webpages, (index, index1, etc..) based on which menu button it is over the current script for the buttons are as follows:This is on a sprite, not a button object.There are multiple menu buttons of the same sprite. (each one just changes the num = ___) For Example:
PHP Code:
onClipEvent (load){num = 2;}
And I believe they refer to the following sprite:
PHP Code:
on (rollOver){if (_root.link != _parent.num) _parent.gotoAndPlay("s1");
} // end if}on
[code].....
View 2 Replies
Sep 13, 2011
I have three links
Link1, Link 3, and Link 4
The current code I am using is
import flash.net.navigateToURL;
import flash.net.URLRequest;
var link_four:link4;
[code]....
View 1 Replies
Dec 30, 2008
I am using the following action script with a movie clip.But the link is opening in a new window or browser tab. Iwant it to open in the same window or browser tab as the flashinsert is on. What do I need to do?
View 2 Replies
Nov 11, 2009
I've been looking all over for how to create a bookmarking link for IE7 using Flash CS4 Action Script 3.
I'm creating the button using the following code:
BookMark_mc.addEventListener(MouseEvent.CLICK,gotoBookMark_mc);
function gotoBookMark_mc(event:MouseEvent):void
{
URLLoader ("javascript:window.external.AddFavorite ('http://www.actionscript.org
[Code].....
I published the SWF and the Index.html file, then accessed that .html file from my web server, but no luck.
View 3 Replies
Dec 9, 2009
Anyone know a good place to start to learn how to add download links to ur flash page?
View 1 Replies
Jan 11, 2009
I am trying to modify a template that I have: There are 6 menu buttons on the top, they have rollover animation effects, as well as animation click effects. It did not come scripted with the action of which page to load when you click on them. The way the template was written, it uses the same script for all the buttons. What should I stick into cause it to load different webpage(index, index1, etc..) based on which menu button it is over the current script for the buttons are as follows:This is on a sprite, not a button object.There are multiple menu buttons of the same sprite. (each one just changes the num = ___) For Example:
ActionScript Code:
onClipEvent (load)[code]..........
View 1 Replies
Jul 24, 2009
I have the following JavaScript code which I need to call from my Flash Navigation:
Code:
function updateWith(a){
var url = a+'.html';
var pars = '';
var myAjax = new Ajax.Updater(
[code]....
View 1 Replies
Jan 23, 2010
Well yeah, I thought so as well. I mean I know the 'formula' by heart on how to add the link to an image (make it into a button, blah blah blah)
But for some reason when I do that, it doesn't work.
I want to add 5 links (lets say google.com) to the 5 images that are in a slider.
For some reason it gives me like... oh man.. so many errors
Here is the link, its about 500kbs, the link is located at the BOTTOM, RIGHT, CORNER: [URL]
View 9 Replies
Sep 20, 2006
im already read almost of the tutorial in how to create a XML Photogallery but it seems i cant find solution to my problem on "how to put a link on the thumbnail?" im creating a different style of gallery.. i only put the scrolling thumbnail area in my index page like a image scroller via XML. im new to XML thats why i cant still figure out how to put the link and pull it in the AS when the certain image is click..
View 3 Replies
May 21, 2009
I have this xml file that looks like this:
[Code]...
and id like to add a text link like this to each "entry name":
Code:
<link href="Title1.html" text="Title1" />
Note: Each "entry name" currently becomes a link in itself when displayed. I need the new link to be a separate link. And this is the xml code in the actionscript:
[Code]...
View 5 Replies
Sep 13, 2011
I cannot get my buttons to link in flash site, i have tried many different codes and none had worked. I have three links Link1, Link 3, and Link 4
The current code I am using is
import flash.net.navigateToURL;
import flash.net.URLRequest;
var link_four:link4;
link_four = new link4();
stage.addChild(link_four);
[Code].....
View 1 Replies
Oct 5, 2009
I have a 3D carousel that's displaying some web pages. When they're clicked on they come forward and there's a paragraph of text displaying some info (that's pulled from the .xml).I would like to have a link after the paragraph to the web page that it's displaying that says something like "Launch" or "Click Here to View Site"So can I add that link into my .xml document?
View 6 Replies