Professional :: Can't Transfer A Button To A GetUrl() Link?
Apr 4, 2011
I try to create a flash menu; where every button on the screen operates as a simple getUrl() link. Because of this, I have taken the following steps:- Create new document.- Create a symbol on the canvas.- convert is into a button Symbol- Double Click the button and adding events for up, down, over by clicking F6 on each frame.- back in scene one, I right click the button and open the Action panel- Adding the Script: "on release { getUrl('index.html'}- Press ctrl + enter to test the move ! ( index.html exists in the same folder as the flash file.)
View 1 Replies
Similar Posts:
Sep 23, 2011
Trying to set up a getURL to link to a local htm file, NOT a page on the internet. All the tutorials I have read tell me how to link to a file on the internet I'm trying to set up an intranet site for my training college where students can access training resources etc on the local network. Therefore my getURL needs to point to a local file, not one on the internet. I'm trying to link to a .htm file that resides on my computer. Does the htm file have to be in the same folder as the .fla file?? How do I do this?? I'm working on a Mac, Os X, MX 2004, if that makes any difference.
View 1 Replies
Aug 16, 2007
We did a Flash presentation for a client and at the end of the presentation we trigger a getURL command that is supposed to take them to their intranet. The client is saying "it isn't working", what that means I'm not sure. So I sent her the same link in an email and said click this and tell me what happens. She said "it worked".So my question is what could be causing this.
Code:
getURL("http://clientsite.com/page.asp","_blank");Could it have anything to do with A. The _blank targetB. Something to do with their servers that they aren't allowing people in from an "outside" link.
I'm stuck with this because it worked from the email.
View 9 Replies
Aug 24, 2007
i have a link setup in my xml attributes so that when i click a button it will use that link. ex. of xml
Code:
<song name ="Test Track 1" band ="Band1" file="test1.mp3" lyrics="http://www.theskooks.com" />
lyrics attribute is the link i'm trying to use for the button i have made an new rray and everything for it and then created on release functions to getURL from that attribute from the xml but my code doesnt work properly it doesnt get the url.
Code:
playlist = new XML();
playlist.ignoreWhite = true;
playlist.onLoad = function(success) {
[Code].....
View 6 Replies
Oct 1, 2010
I gave my button an instance name of "O2Online" on frame 1076. I found AS3 code online and customized as follows:
[Code]...
View 6 Replies
May 23, 2010
I'm running macromedia flash mx, and I'm trying to make a linkable swf by following this procedure: I select the object and then convert it to symbol. Then I choose " button " Right click at the object---> actions ---->[+]--->browser/network ----> getURL. I type my url and choose 'self" target.
When I test movie the hand symbol appears at first, but when clicked it turns to arrow. Exactly the same happends when I appload the swf and of course there's no link ...
View 11 Replies
Feb 26, 2010
What do I have to do to transfer a flash video to another computer. I published HTML to my usb stick and installed on another computer. When I run the file, the buttons dont work. All they do is flash. When the file is on my original computer, everything works fine.
View 8 Replies
Aug 14, 2010
I have a project where i need to transfer the data from swf to javascript, and vice versa, i using flash cs4 and action script 3.0 i can transfer data from AS to JS without any problem but the other way around doesn't seems to be working i have been trying this from a long time, i even used exact same code from adobe externaInterface example there seems to be some problem.
all i want is to transfer data from JS to AS dynamically.
View 18 Replies
Jul 5, 2006
I am creating a gallery type site, I am loading xml data externally creating duplicate movie clips and it all works fine, my only problem is I want them to go to a URL, I have one of the nodes with the URL and in my actionscript I am calling a function to getURL on press, the problem is on each separate movieclip it links to the URL of the last movieclip in the stack.
View 1 Replies
Sep 15, 2010
i recently developed my website and i decided to create buttons to link my site. The problem i'm having is that when i click on a button it's opening up a new tab in my browser.
on (press) {getURL("services.html", "_main");
}
View 2 Replies
Apr 22, 2003
I am creating a movie, and need to create alink to open a web page. My movie exists in a folder ("Flash") and I need to move up a level(out of that folder), and into another folder, (HTML) where the page I need to open resides. What would the path name need to be ie: ..HTML/default.html?
View 5 Replies
Jun 19, 2010
i want to link a submit button in a movie clip to the main timeline, any ideas of how to do it?
View 15 Replies
Aug 10, 2010
I installed a Flash template that has a "Read More" button which is used in several locations of the site. The button corresponds to a single symbol called "button_more" and another symbol within that symbol called "area_more". It's a "Movie Clip" type of symbol, not a "Button" type symbol.
What I'm trying to figure out is where would I find the link to the page where that button points to - it points to different pages of the site depending on where it's located. For example, in the About Us section it links to a page that has more details describing About Us. In the Services section it links to a page that has more details describing Services. So the same symbol is going to different links.
I checked the Properties of the symbol and it doesn't have any option for a link. (I guess it's not really going to a link, but to a different frame in the timeline) But where would I find exactly where each button points to in case I want to edit one of them in the future, or create a new button with a new link?
View 7 Replies
Jul 17, 2011
However, no matter what I do I can't seem to get data from my components to a PHP file on my server.Ultimately,I am making a flash form that will submit the form data to the PHP script and make entries into a mySQL database.Before I do that, though, I thought I'd first just try to see if I could get data processed in PHP.So,I created a simple PHP file that simply displays the data on the screen, and I made a single-button flash movie that has some actionscript in it.Here is the code for the PHP file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />[code]....
And here is the code for the actionscript I have in my button:
on (click)[code]....
I'd like to note that my actionscript is a direct copy/paste from the Adobe online reference for actionscript 2 (with a change to the php path, of course).I upload everything and visit the page with the flash button in it.When I click the button, I am taken to the .php page as expected, but the only thing I get on my screen is "...and that's all I've got."
firstName, lastName, and age never get processed.Eventually, I'll be wanting to send data from form components.But as a first step, I can't even get this working correctly. Does anyone have any insight?I'm using Macromedia Flash 8 (I'd love to upgrade, but Adobe won't let me since it's part of a suite...and I don't want to upgrade the whole suite.
View 10 Replies
Aug 12, 2010
I installed a flash template. It has navigation buttons with a nice roll-over effect. The buttons are all located within a symbol called "menu" (it is a Movie Clip type symbol, not a Button type). Each individual button in the menu appear to be in its own separate layer, so the first button is in a layer called "item1, second button in "item2", and so on. I want to edit the link for the fourth button so it goes to another website but I can't seem to find the code to edit the link. I managed to find
[CODE]...
and this does work - upon pressing the button it goes to the website link. However, there is no more roll-over effect for this button. So there has to be an alternative or better way to editing the link for this button (without removing the roll-over effect).
View 3 Replies
Aug 15, 2011
I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.
View 3 Replies
Jan 15, 2010
I made a Flash banner ad that I want to put on my site for my client to view. In Flash, when I test it, everything works, button email link. I import it into the body of my DW html page, test it in DW...works. However, when I upload to my site, the button doesn't open an email link.
Attachments: MatterAd.swf (32.3 K)
View 1 Replies
Jun 14, 2010
Is it not possible to have selectable text turned on when you are making a link or button?
View 2 Replies
Mar 2, 2010
I am trying to connect audio to the button so when I click on the button music it starts playing and when clicked again music stops.
View 5 Replies
Aug 9, 2010
1. The old main logo was not as wide as the new one, so now the entire new one is not clickable (to take you back to the main page). How do I fix this?
2. For the life of me I can't figure out how to make text (or a button if need be) link to a specific flash frame. If you look on the site, there are a couple of spots under "What We Do" that I need clickable to take them to the Contact Us page.
View 5 Replies
Feb 12, 2010
am i publishing the movie incorrectly? It works great when I preview the flash file (cntrl+enter), but after I publish it and insert it into the html (in dreamweaver), the file shows up and animates perfectly, but when clicked, no link... It doesn't do anything
View 3 Replies
Dec 17, 2009
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.
View 1 Replies
Feb 17, 2012
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.
View 1 Replies
May 17, 2010
I have modified simple photo gallery tutorial through XML at [URL] click on a thumb and an image scrolls in. Now I'm trying to add a link to the image - but can't get the url from the xml to the image.
Here's the XML-file (pics.xml)
[XML]
<?xml version="1.0" encoding="utf-8"?>
<images><image>
<pics>pics/utrechtmedia.jpg</pics>
<sites>sites/utrechtmedia.jpg</sites>
[Code] .....
View 5 Replies
Mar 26, 2009
I'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.
View 4 Replies
Apr 18, 2011
[URL]
The ad on the bottom right of the screen (the one with lightning flashing) has an invisible button in its Flash file (CS5) linking to [URL]. This file is imported as SWF in Dreamweaver CS5.
The hyperlink works in Firefox, but not in Safari. Maybe it is just my computer.
View 1 Replies
Jan 8, 2009
I'm trying to add a simple getURL script to a simple text button-- should be really simple, right? But when I select the instance of the button on the stage it says the current selection cannot have actions applied to it. This, despite the fact that I am able to open an old .fla that has the same type of button and it does have a getURL action applied. What gives?
Flash version 9.0 (CS3 Professional)
View 1 Replies
Sep 1, 2008
What I want to do is take the value of $MyState in the php code below..
PHP Code:
<?php
$MyState = $_GET['MyState'];
?>
[Code].....
I know that I need to do something with Loadvars, but all of the tutorials I've tried aren't working. how to get this php value into my flash file button's getURL?
View 3 Replies
Jun 12, 2010
So I made a sliding menu bar by following a tutorial, and the author of the tutorial didn't include how to add a MouseEvent.CLICK to getURL.[code]...
View 1 Replies
Jul 30, 2010
Been banging my head against this forever. Running a SWF banner running AS2.0. If you view the banner's page with www before it, it works fine. If you visit the url WITHOUT the www the geturl script doesnt work at all.URL...I've tried changing the allow access setting from domain only to always and I changed the actionscript to be document relative instead of a full link and none of that has fixed the problem.
View 1 Replies