ActionScript 2.0 :: Changing Link In Flash?
Nov 12, 2006I need to change the guestbook link in the flash file on this page I have the fla file and changed it a year ago but can't remember now how I did it
View 1 RepliesI need to change the guestbook link in the flash file on this page I have the fla file and changed it a year ago but can't remember now how I did it
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 editing a Flash file and I need to change a mailto: link. When I edit that link to change the email address I get several instances of error #1056. why such an arbitrary change would break everything .
Edit: Here are the errors:
ReferenceError: Error #1056: Cannot create property baseBackground on com.***t.csg.view.CSGWebsite.
ReferenceError: Error #1056: Cannot create property backgroundHolder on com.***.csg.view.CSGWebsite.
ReferenceError: Error #1056: Cannot create property backgroundMergeHolder on com.***.csg.view.CSGWebsite[code].........
I 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 new to Flash and am working on a web template I purchase online. I have a flash file called flash.fla I'm working with in Flash CS4 (trial). Of the five main menu buttons, I would like to redirect the 4th (the "videos" tab) to a youtube channel I've set up. I've located where the 4th button is in my .fla file. It's called B4. I double clicked on it, which opens it up in the timeline. There's 4 little objects in the timeline: b, b, t1, and t2.b is a frame, as is the 2nd b, and both t1 and t2 are documents. The only one I can open up in ActionScript is the 2nd B. I choose the GetURL from Script Assist, and put in my desired address, as followsI then close out ActionScript, and Export it as an Image File. I name it flash.swf to replace the .swf with the same name on my server. When I publish the new changes, the page just says Menu. If I click on that,
View 2 RepliesI have an animation that loops and has different images come up with certain elements on the screen that remain the same throughout the movie. Depending on the image that is being displayed, the url of the link assigned to one of the constant elements changes with the code that I posted below.
The problem occurs when the movie loops because the URL of the constant is supposed to go back to the first link (just like everything else loops and starts at the beginning) but it remains as the last url that was declared.
Here are the three blocks of code I am using for the links, truth is the instance name of the button. These code snippets are arranged in their own "actions" layer on my timeline
First URL
truth.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void
{
var request:URLRequest = new URLRequest("http:../pages/calculate.html");
[Code].....
im trying to embed an swf file in facebook. To cut the story short, the swf im trying to embed is loaded fine but stops at preloader stage (0% of 1) and is not progessing as if it has missing link and couldnt locate something (the files struscture is one main swf file; index.swf loads other 5 swf),But, when i tried to load it up directly from browser, it works fine. I have been advised that changing the link path to absolute between the index.swf and 1.swf, 2.swf etc would solve the problem.
My questions will be:
-how do i change this path, because i couldnt seem to find any link that reflects the connection between those files?
-Is there any feature in flash that would be able to show this link rather than diggin up every symbol?
-If changing the path wouldnt solve the problem, what could be the reason this error is happening?.
When using the "textFormat.selectable = false", the text which I send to the freshly generated text field still is selectable. How to turn the selectivity of a dynamic generated link?
Note: .selectable is not documented in the property summary for the TextFormat object. But does turn blue in the editor.
i am developing a piece for our home page that has three buttons below what's essentially a picture frame. the buttons work. it's the picture frame that doesn't.i have 4 ads that will rotate, each up for 250 frames. they fade out and in over each other. each has an instance name...ad1_link, ad2_link, etc. the idea is that as we have new products, etc, we'll swap in a new picture and remake the .swf.when i ran the code initially i got an 1120: access of undefined property error for pictures 2-4. no problems with the first one. after numerous attempts to find a solution, i decided to load all four movie clips at the same time, hiding them using the alpha property set to 0.i get no more errors, but now no matter which movie clip is visible, only the link to movie clip 4 (ad4_link) works. i need each clip to have it's own link, obviously, and for each to go away as the clip does.[code]
View 1 RepliesI'd like to make sort of gallery with previous/next buttons. And on each image you'd have circles/link over important parts of the image.So each image wold have these circles on different locations. Question: how can I make that dynamically? And that it's not to complicated for the editor of the site? One way would be to write in XML x and y positions.
View 0 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 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 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.
How do I change the corner radius of a Label component in Flex. Tried applying style name, and the setStyle('cornerRadius',9) methods, but doesn't work. How can I change the arrow image in the combo box control to a different image?
View 4 RepliesI want to create another button on the main menu of my flash site. I want to take one of the existing buttons (which are set as movie clips) and modify it to show a different menu name and page link. BUT when I go into my library and "duplicate" my movie clip, change the instance name, drag it to the stage and attempt to modify it, the original changes as well. I need to keep the original the same and create a new one with the same code, frames, etc but with different static text. I keep going in circles
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 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.
basically when you load the .swf it changed everytime u re-load it , i want it to keep on changing even when the user hasnt reloaded the image
[Code]...
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 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'm working through Dreamweaver fairly well, and I'm now wanted to import Flash buttons I've created myself into Dreamweaver for a website I'm currently building, and it's here that I'm finding the problem. I have been to the 'get URL Function', but it says something about needing to link to a web page? But my problem is how can I link Flash Buttons to a web page, when my site is still being developed and not published? Do I have to publish first?
View 3 RepliesI 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.
In my first frame I have a triangle, second is a square, third is a rectagle and fourth is a circle.I have created the 4 frames as stated! I want to set up an array so lets say (circle,triangle,circle,square,triangle,rectangle) I then want the movie to play like that with a second or two in between each frame?**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Statement must appear within on/onClipEvent handlervar active = 1;
Error Scene=Scene 1, layer=Layer 1, frame=1:Line 3: Statement must appear within on/onClipEvent handler
var timer = setInterval(gotoNext, 1000);
[code].....
I am testing a FLASH animation ad that has links to a website.When I click on the links, it opens firefox but it doesn't go to the link!I have added the links and the file names in the Adobe Flash Settings Manager, restarted several times, restarted in Safe Mode and it still does not work!I cannot find any information on this. My coworker also tried it and it does not work for him on IE on Windows.HOWEVER, If I have SAFARI open it works fine, and If I drag and drop the .swf file into either browser and then click on the links it goes to the web page.
View 3 Repliescreate an interactive document. click. popup Used the pdf link tool to launch a flash movie in a floating pop up.. Now I I want the popup to close automatically. Unloading the MC doesn't do it.
View 1 Replieswhen i run a swf file from HTML/Outside(i mean to say from folder) and click on the button (button calling xml file which has link in it), i get a adobe flash popup error/msg. As shown below....my codes are as follows
XML CODE:
<?xml version="1.0" encoding="utf-8"?>
<tree>
<link>[code].......