ActionScript 2.0 :: Error Url Link / Replace And Refresh New Link
Jun 1, 2010I connected the flash with php framework, click the menu button while the other has always been a double-link examples:[code]
View 3 RepliesI connected the flash with php framework, click the menu button while the other has always been a double-link examples:[code]
View 3 RepliesTrying to recognize urls from an xml text (as1) I have not access to edit the xml.The url is loaded as string, ex: "lorem ipsum dolor sThe url is not always at the end of the stringI'm loading it and showing as htmlText, but the url is not likeable (coz have no tags T.T )using split and join i got:
Code:
function sar(holder, searchfor, replacement) {
tarray = holder.split(searchfor);
[code].....
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.
How 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'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.
I am completely new to AS3 and Flash in general, but because of a project here at work I decided to venture in creating a site. I imported a Photoshop file into the stage and created buttons from some headings. I need to link the headings to PDF files when they are clicked, but when I wrote the code (actually in various different formats) I keep getting the following error (while permitting to debug):
TypeError: Error #1010: A term is undefined and has no properties. at extras3_fla::MainTimeline/frame1()[extras3_fla.MainTimeline::frame1:9 ]
[Code]...
I am new to Flash and would like some help from you guys. My friend has created a flash navigation bar for me. Since I can not add links here, huhtea is the address with com.
Now, I would like to add text links and onPress (getURL) for images in my submenu.I have tried all kinds of things. I have watched numerous youtube clips on this matter. After adding onPress codes in Actionscript 1.0 & 2.0 and checking them, everything was fine. But if I publish it, the image does not go to the URL.
This goes for the text link as well. After highlighting the text and adding http address in the properties, everything is fine. But again, published file does not lead me to the URL.
Why creating a text link to a .as hosted on my site creates a 404 error? If I change it to .txt it works fine but I'd really like the user to be able to open the file directly into Flash.
View 3 Repliesundefined error link is not working from xml file
[Code]...
Basically I have a movieclip with a load of buttons in it which will all eventually lead to different movieclips. When a button is pressed I want a movieclip to appear and play. The movieclip is on the stage.The problem i have is that when i click the link, this error message appears in the Output tab:
Quote:
TypeError: Error #1006: value is not a function.
at plumonicconsonants_fla:ulmonicconsonants_1/buttonClick()
So far my code is
Code:
import flash.events.MouseEvent;
pbtn.addEventListener(MouseEvent.CLICK,buttonClick);
function buttonClick(e:Event):void
[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].........
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at VM_montering_fla::MainTimeline/frame1()
that is one of my problems,
and that i cant link a button to a eksternal website. i have 4 buttons that shuld be linked, but i cant write any codes on the button itself like they have showed me in tutorials.
so what to do, i have been trying many different codes, and none of them works.
this code can only ben used one one button, if several more it gets alots off errors, and stil whit only one it wont link to a website.
ActionScript Code:
bad1_btn.addEventListener(MouseEvent.CLICK,mouseClick);
function mouseClick(event:MouseEvent):void
{
[Code].....
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.
when 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].......
I am new to Flash and am working on a banner slider where there are 5 different images (slides) that come onto the scene about 8 seconds apart. Each slide I am trying to link to a web page but am getting the error; TypeError: Error #1009: Cannot access a property or method of a null object reference. at NLE_fla::MainTimeline/frame1() I'm sure it has to do with the link on the second slide not being found since the slide doesn't load right away. Am I supposed to be loading some variables first or something? Here's my code;
[Code]...
When I refresh my flvplayer (custom made) in IE 8, I get this error:
Code:
RangeError: Error #2006: The supplied index is out of bounds.
at flash.media::Video()
at com.rejuvenateProductions.flvPlayer::FLVPlayer/connectStream()[Z:Personal FoldersToddFlash LibraryflvPlayersrccom
[code]....
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.