ActionScript 3.0 :: Can't Link To Self
Mar 6, 2011Can anyone see a reason why When I put in this code I get buttons that do nothing? Not even sending me to the url in a new page.[code]
View 7 RepliesCan anyone see a reason why When I put in this code I get buttons that do nothing? Not even sending me to the url in a new page.[code]
View 7 RepliesHow to change a link inside the flash element? I have SWF file with set a link inside and I want to change to mine on the website. This thing I need to control the advertisment system.Trying this, but not working:
<style>
#content {
position: absolute;
z-index:2;
[code]....
But you need everytime to put top, left, margin-bottom parameters. Can someone modify it to make working correct without pointing top, left, margin-bottom parameters?
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 RepliesI am new to Flash. I bought a template online a couple weeks ago, and for the most part have made all the changes to personalize the page. The page is for wedding videography, and came with a Videos section. However, I do not like the template video player, and would like to have the Videos link on the menu bar go straight to my youtube channel rather than to the flash player. Primarily all changes to the template have been made in a text.txt file, rather than the flash file itself. My question is, how could I change the link on the main page to route to my youtube channel? Here's what it looks like in the text file:
[Code]....
I am literally at the end of my wick with this one! Here's the skinny, so to speak:
home.swf
products.swf
button line mc
[code]........
I have a datagrid with different types of columns, like I have checkboxes, combo boxes and text Inputs as the column types. Now I want one of the column type to a link, with the label "view". All the rows in that column are link with the same label "View" and on clicking it, I want a Pop up window to be opened?
This is my code:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
<mx:Script>
<![CDATA[
[code]....
I didn't know how to bring a link in the datagrid. So used the Text control to display the "View" label. Now If I click this item, "View" in the datagrid, I want the Pop up function, i.e.,defectCommentsPopUp() to be called.
i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
I have created a small application which takes it's information from an xml file and displayes it in a news ticker which is a flash Flash AS2 application. tell me the correct way to format the link tag in the xml if there is a standard when wanting to state a target for the link? The xml file currently looks like:
<newsTicker>
<item>
<header>Test Message 1</header>[code]....
So what I want to do is to be able to open the link in a taget=_blank window however adding that to the end of the url does not currently work.I have added a comma and also tried using a space, space and encompassing in quotes but none are working.
i created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...
btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");
Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.
I connected the flash with php framework, click the menu button while the other has always been a double-link examples:[code]
View 3 RepliesI've trawled the web, everyone with different ideas on how to call up a mailto link in AS3. What I'm looking for is this: I have a box, that is coverted to a button symbol given the name 'mailto'I have another layer for the actionscript I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button. Do I also need to import the MouseEvents?
I created this FLA to get used to CS4 (i was previously using8)Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.
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...
I tried the transitions tutorial, and it works fine, except that there is a break between the first link and second link.
[url]
and as you can see, there is a certain flash between link 1 and link 2.
Error #1085: The element type "link" must be terminated by the matching end-tag "</link>".I am trying to parse a Feedburner XML file to play podcasts from this file in a custom-made podcast player. I CANNOT edit the XML file, and what's more, the <link> tag actually does have a closing </link> tag. The player works absolutely beautifully in Firefox and does not spit out any errors when I test in Flash, but it does not work at all in Chrome or IE. Instead, I get this blasted error.
I have searched up and down the internet for a solution to this and have found nothing that works. No timer events, no editing the xml file (as I indicated before, I don't have access to it). I think it might have something to do with Feedburner feeds and their namespace tags.
So I'll be honest, I am very new to Flash. I have CS5.5 and I am trying to animate some images that I made in Photoshop in Flash. I would like to use tools such as the Bone tool on them but I have gotten almost every error feedback such as "cannot be applied to stroke" and "cannot link bitmap" and "cannot link group objects". I have been messing around with it quite a bit. My file is .swf and I do ungroup it but now when I use the bone tool on it, the entire image turns white.
Previously I have had problems where the picture would not disappear but my drawing would move back a bit and I could only see it through the movable window given by the bone tool in the shape of my picture. Another problem was when I used the Bone tool, the image would split into four flipped sections and not stay together. I assume this had to do with when I tried to "break apart" my image, but something similar happened on an unbroken non-bitmap image.
I have a button in my main file (Interiors-02.swf) in Scene 1. When I click it it loads an outside swf (buttons.swf) into a blank movie. This movie has 10 buttons. What I want is for when I click one of those buttons to go to Scene 2 or 3 in the main file (Interiors-02.swf) Can I do this and what would the code be for the button?
View 1 RepliesI've got a Flash page that has links as Movie Clips (Link1-8). The links are to different services, but right now they link to an external website. I'd like to make these link to different frames of another Movie Clip on the same page (Scrolling_Page).I'm not sure how to go about doing this, as all advice I've gotten hasn't worked thus far. It still just opens up a browser window and says it can't display "undefined".I've included the .fla in case no one can understand my gibberish.
View 3 RepliesI'm using Flash CS3 and I'm totally lost. I'm trying to add a link in my video. I was trying to add a button over the video. The link needs to be at the end do i need to create cue points first then add a button?
View 1 RepliesI am wanting to create a web page with a vertical navigation panel on the left of the page and because this will includes 'categories' and 'sub categories' (see below)
CATEGORY 1
sub category 1a
sub category 1b
[code]...
I would want the Category tabs when clicked to reveal the sub categories (Accordian)I have the Spry Accordian set in a Div at the moment in Dreamweaver and the sub categories open up and function fine. What I would like to achieve is to make all those sub categories links, to insert a SWF in to the div that is located to the right of the vertical nav column. (see attachment simple diagram) So, say sub category 2a was clicked then in the 'SWF display area div', the SWF associated with that link would appear, the if 'sub category 2d' was clicked the same 'SWF area div' was populated with the SWF linked to 'sub category 2d', if 'sub category 2e' was clicked then the SWF associated with 'sub category 2e' would then load into the 'SWF area div'. The attached image may make things clearer.
all i want to do is add a link to a URL
i have converted my graphic into a button named myButton
[Code]....
and i get error 1061: call to possibly undefined method addEventListener through a reference with a static type class
how do i link to a pdf and other file on a cd from flash? i tried the url thing but thats for web..it keeps launching the browser.....i want to launch the file itself
View 1 RepliesCan I add a link to an email address in a banner or other Flash document, such that the visitor's email client comes up with the TO completed, as happens everywhere in HTML?
View 4 RepliesI bought ready templete for flash website and have problem with creating code for link. You can see templete website on happyrobot.info/good and I want to place links behinde ABOUT US , SOLUTIONS , SERVICES so I can redirect to diferen sites. You can download fla file from happyrobot. info/ download it is index.fla
View 4 RepliesI have pages in a training module that I need to include a link to open a swf file as a separate popup window. The main SWF files are located in:[code]While the file I need to pop-up is located at:..Courseglossaryglossary.swf.I have a number of other folders similar to the one above that will use the same code to open the glossary file. Right now, I use AS2. I can also display the swf inside a htm if needed, but would have to define the size of that window.
View 1 RepliesI designed my flash movie and added some invisible buttons but I don't know how to add an email link as a invisible button. My instructor said something about submitting my info to the server, it will have my email. I don't know what he's talking about. Do I just put some code in the actions panel in Flash and somehow code "mailto: " ?
View 3 RepliesI am trying to add a link to an image using ActionScript. I do not see the link no matter what. [code]...
View 1 RepliesI have embedded movie files in the library of my fla file. Each movie represents an individual page of my site that came with a template. The menubar is animated and when I click on the buttons I move from one page to the next. I duplicated one of the pages, renamed it to a new name and now want to create a button or a link that when clicked goes to this new page. I have spent ages trying to figure out how to do this with no success.
View 1 Replieshow to add link and what is the action script 3 for this action. and one more thing how to add at existing project, i have to go to new layer and add button,select buton and right click layer and write script,is it true?
View 1 RepliesThe project will have a web based interface but the actual presentation will be in flash. So the premise is you create a presentation, flash then reads the XML data, creates a menu and presents the other XML data in a linear fashion and my first question is whether the XML is in the correct format. I am not the one programming the XML side of things we have a .NET programmer doing that and he has not worked with Flash too much and this is also something new for me as well.
Code: Select all<presentation>
<info>
<name>My First Presentation</name>
[code].....