ActionScript 1/2 :: Using Xml To Load Urls?

Jan 18, 2010

I am a designer working on a flash project that is used to navigate to html pages. The project is a map - when you roll over different states there is an animation making that state pop out and show the state name. When you click each state (Button), it should open an html webpage. Right now the project works great, but I have the url's coded in flash actionscript using "onpress" and "load url." I would like to set it up so the flash file calls the URL for each button from an xml file, so it can be easily edited. The only thing it needs to call is the URL for each button. Can anyone give me simple instructions on how to make that happen?

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Use The Icons To Load URLs Within The Main Movie?

Jan 27, 2010

Using an AS2 Carousel type menu with XML powered icons - and I'm trying to use the icons to load URLs within the main movie - in other words, load SWFs into the movie as opposed to external links. Someone here (thirdCherry) was kind enough provide this for internal loading targeting a movieClip:

//on release function
function released()
{
getURL(this._parent.url);

[code]....

View 1 Replies

ActionScript 3.0 :: Way In It To Detect URLs?

Apr 22, 2009

I want to make a navigation, but this is a flash navigation in a normal website.

naturally its going to include rollovers, but i'd like it to show which page your already on.

is there a way in AS3 to detect URLs?

View 1 Replies

Cannot Add Urls To The Menu Text

Dec 1, 2009

I have a flash template and I can not add urls to the menu text.

View 1 Replies

ActionScript 3.0 :: Different Buttons / Different URLS

Jun 21, 2010

On one of the pages (In the site I'm designing) I have 4 buttons that need to link to 4 separate URLS. When I code one of the buttons, a link on another page is stopped.I guess what I'm asking is, what is the best way to 'layout' my button links in each page? And what is the best way to achieve 4 buttons with 4 different urls.

View 4 Replies

ActionScript 3.0 :: Buttons For URLs?

Sep 7, 2008

I am trying to put 3 buttons in a frame. I want each of themto act as a link to Web pages. If I use just the code forlink_btn_one it works great. If I include the code for the other 2it doesn't work. What am I doing wrong?Here's my code:

var link:URLRequest = new URLRequest("
http://www.skybooks.com");
link_btn_one.addEventListener(MouseEvent.CLICK, onClick);

[code]....

View 7 Replies

Flash - How To Target URLs In AS3

Oct 27, 2011

How would you add a target="_self" function onto the buttons in this actionscript (as3) I need the buttons to open within the same browser window and not a new (_blank) window:

skype_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("skype:mySkypeIdentifier"));
} email_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseUpHandler);
function mouseUpHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("mailto:myEmailAddresss@myDomain.com?subject=rts
Esolutions enquiry"));
}

View 1 Replies

ActionScript 3.0 :: Use One Button To Go To Different URLs?

Jun 27, 2009

I have a slide show swf file with an invisible button on the top frame. I would like this button to go to different URLs depending on what frame the movie is on when it is clicked. Is this possible?

The following works for one url:
oneBtn.addEventListener(MouseEvent.CLICK, oneButtonFunction);
function oneButtonFunction(event: MouseEvent) {
var request:URLRequest = new URLRequest("http://webpage/");
navigateToURL(request);
}

The reason I am trying to do it this way is I want the script to all be on one frame because I will be using this as a template for other slide shows and want to be able to edit the urls all in one window. I already have a slide show with key frames at the places where the new url would be accessed is click, but it is a pain to edit and add new content.

View 3 Replies

ActionScript 3.0 :: Getting Various RSS URLs From Flash With PHP

Sep 3, 2010

I'm building a flash app that gets rss links from a list but then I need to retrieve the rss feed from the rss link to work with in flash. I did this locally using a proxy.php wich works on all types of urls.

PHP Code:
<?php
$url = $_GET['url'];
readfile($url);
?>

But on the server it only works with urls ending in .rss but not when it's a redirected url like .xml or other feedreader urls. How do I retrieve the rss from redirected urls on servers? Little sidenote, I made a test using a php form to call this proxy.php file that I made and when I use the urls that don't work in the flash app it does retrieve the rss feeds.

View 3 Replies

ActionScript 3.0 :: Hiding/obfuscating URLs Within A SWF?

Apr 19, 2009

I'm building an mp3 player expressively to make my music URLs a little less steal-able. Forgive my hacking ignorance here, but would it be better to embed my playlist XML (with the URLs) in the SWF rather than having the SWF read the XML file from my server? Seems that the latter approach would be easier to intercept...

I'm pretty sure that no one wants my mp3s badly enough to decompile the code. But with the player currently at my site, my XML playlists -- with the URLs -- started to come up in Google searches. Would rather avoid *that* level of exposure.

View 1 Replies

ActionScript 3.0 :: Linking Images To Outside URLs?

Oct 29, 2009

I'm trying to get my four images to link to outside URLs.

Here is my website: [URL]

And for example, I would like the "Option One" image to link to [URL]

I'm using Actionscript 3.0 and CS3.

View 1 Replies

Flash Pages Given Separate Urls?

Nov 17, 2009

im trying to find info about giving sections of my flash websites different urls.[URL]How do i code it so that a url can take me to a section of a flash website?

View 3 Replies

Link Multiple Images To Different Urls.

Apr 28, 2010

I've been trying to fix a problem I'm having in flash, but have no idea where to go from here. I am trying to link multiple images to different urls.[code]I need to make each bigImage file link to a different url.

View 6 Replies

Opening 2 URLs During Flash Intro?

Oct 19, 2009

I've created a flash intro for a website and I have it setup so that in the first frame of the intro it opens a popup window, and then in the last frame it opens the actual site in the same window as the intro. Right now when it hits the last frame it opens up the popup window again also! Ack! The code I've used for opening the popup window is:var url:URLRequest = new URLRequest("player.html"); navigateToURL(url, "_blank");
 
the code used in the last frame to move to the site is:var urlReq:URLRequest=new URLRequest('index2.html');navigateToURL(urlReq,'_self');
 
I'm guessing that it has something to do with re-using the same variable name. I tried changing the code in different ways on the second window opening but still had the same result, or broke it opening up any pages at all. I've also tried moving the two code snippets to different layers. I'm thinking there might be a few ways around this too such as if there is a way to trigger the popup window, and then have the intro wait x seconds and then opens the main site or something, but I have no clue how to go about doing any of this. have the site in question in a temp location currently and it can be viewed here: [Url]

View 1 Replies

Accessing External URls And Security?

Oct 29, 2009

so i was trying to lop an Internet radio player, that will connect to different shoutcast servers, and play the radio, of course in development time everything was ok, now the time came for publishing just to be surprised with this messageof course i know what to do, but the end user will most likely won't know, and also i think this is a set back for developing such stuff, i also once tried to develop a twitter widget same thing happened when trying to communicate with twitter output, to work around that i could load the xml file from twitter into a local file using php, but i see a lot of flash files that uses flickr, twitter, and other sites, so how do these widgets work without triggering the security message,

View 1 Replies

ActionScript 3.0 :: Attaching URLs To Buttons

Feb 10, 2010

I have assigned a different URL link to each button in my flash file, but receive the error "duplicate function exists" when tested. I tried renaming each function, but get an additional error, so that doesn't work either. Below is my code:

[Code]...

View 12 Replies

ActionScript 3.0 :: Open Multiple URLs?

Jun 27, 2011

This is only opening the 2nd website, how can I make flash open both?

ActionScript Code:
navigateToURL(new URLRequest("xttp://wwx.facebook.xom"), "_blank");
navigateToURL(new URLRequest("xttp://wwx.youtube.xom"), "_blank");

View 3 Replies

ActionScript 2.0 :: Use ClickTAG And Dynamic URLs Together?

Oct 3, 2011

I've created a flash animation where I am getting dynamic URLs from XML.Now, I need to use clickTAG in order to track the number of clicks.

I've never used the clickTAG thing, any pointer will be really helpful for me?

One more question is that Is it possible to use clickTAG and dynamic URLs together?

View 0 Replies

Actionscript 2.0 :: Embed Urls In The Text?

Jan 21, 2008

am using Carousel 3, and have my images working properly, and even the application in general. What i'd like to do is embed urls in the text, however i'm finding the (") issue preventing this from happening in an element in the XML file. Initially I thought there was a way around using the quotes so that I could provide links in the text. what i'm trying to accomplish is this:

<icon image="icon1.png" tooltip="This is the Tooltip" content="This is the content and a link ((http://www.gotoandlearnflash.com)) that i'd like to make clickable for a user." />

View 14 Replies

ActionScript 2.0 :: Keeping Urls In Flash

Feb 11, 2004

Im using Swishmax and I can't seem to make a url open in my flash site(so it doesnt open as a pop up but in my actual flash site) So basically that it opens in a designated space that I made for it on my site. I know that a tuturial for this exists on this site but i just can't seem to find it.

View 2 Replies

ActionScript 3.0 :: Use Of /#/ In Urls On Flash Websites?

Jan 6, 2010

I've noticed that a number of Flash sites have urls such as [URL] which gives the ability to return to a specific area (in this case "services") of the site rather than staying on the homepage each time you go back to the page. As you navigate through the site the url changes to reflect where you are in the swf.

View 3 Replies

ActionScript 3.0 :: Can't Access Non Local URLs?

Apr 21, 2010

Ok this one has confused me since I touched flash and AS3.0. 90% of the time, when I am trying to access a URL, or connect to anything on the internet through AS3, it doesn't work and tells me that it can't find the URL, or w/e I am trying to access. When I upload it to a server, any server, it works fine, but testing it from within the IDE, it doesn't, maybe 10% of the time it might actually work. I don't get this? How come it can't access these external connections while trying to run it locally?

View 1 Replies

ActionScript 2.0 :: Using Netstream With Dynamic URLs

May 28, 2010

I'm currently creating a video player to play files from a different server.

We have chosen to use a token authentication system to check where the files are from. This is a one number authentication code.

We can link to the files by going to a dynamic url such as...

[URL]

The server has to recieve this token when you try to connect the movie or it won't allow it.

I've tried adding it as a dynamic url but ns.play() doesn't seem to recognise it at all that way, unless I'm really missing something with the parameters.

View 1 Replies

ActionScript 2.0 :: Keeping Urls In Flash?

Feb 11, 2004

Im using Swishmax and I can't seem to make a url open in my flash site(so it doesnt open as a pop up but in my actual flash site) So basically that it opens in a designated space that I made for it on my site. I know that a tuturial for this exists on this site but i just can't seem to find it.

View 2 Replies

ActionScript 2.0 :: [CS3] Mailto Button Inconsistent On Different URLs

Feb 3, 2009

I am stumped on a problem that I've been searching the forums for, but can't seem to find an answer to. I was hoping a Flash genius here might have an idea. I'm working on a site in which I'm having issues with a mailto button. Here's the deal. The site shows up in "two" places (although they both pull from the same .swf files) [URL] and [URL] The site is built using Actionscript 2.0 and publishes for Flash Player 6. I'm using both CS3 and CS4 (depending on what computer I'm working on) but always publish for CS3.

On the www location, the mailto button works properly and opens up an email. On the http:// location the button does NOT work, and will not open an email. These buttons can be found in the "who" section - when the user clicks on a profile it opens a new window with a headshot - which are the "buttons" in question. I've done tests on the server, nesting buttons inside multiple movie clips to re-create the scenario. And they work. And I've also changed the button to a movie clip using:

[Code]....

View 2 Replies

ActionScript 3.0 :: Automate Multiple Slightly Different URLs?

Feb 1, 2010

I have an organization chart with about 40 items on it. Each item will have three options that will show up when moused over. Each of these options will go to a different [URL]... for example.

View 3 Replies

ActionScript 3.0 :: Add Urls To Instances And Components In Flash?

Feb 17, 2009

I am building a website in flash and I am totally new to action script, borrowing script from around the internet. I have
been searching for days on how I could link my Flash pages to each other but I cant find anything (for action script 3), What Code do I use? Also I am looking for how I could add links to pictures in my title List Component to other pages I have created. I have Included the Script I have made for My Title List Component, How can I insert Urls or Links into this code for each Item?

View 4 Replies

ActionScript 3.0 :: Multiple URLs, Error #1109

Apr 20, 2009

I'm trying to complete an ad project that will go on my institution's website. There are five ads (movie clips) that will cycle through once before stopping. From there, the user can hit a nav button (four movie clips) to view a particular ad and click on it, taking them to an outside website or a page on our own site.However, I've hit a snag involving Error #1109.

[Code]...

View 10 Replies

ActionScript 3.0 :: Multiple Urls For Button Link?

Jun 8, 2009

I've got a flash file loaded on more than 150 sites. The button in the file currently goes to a single URL, but we are developing individual URLs for the link for each site. How can I do this in one flash file? I don't want to create 150 flash files with different links. Can I variables or something?

View 3 Replies

ActionScript 3.0 :: Open URLs In A Flash Movie?

Oct 20, 2009

I tried posting this in the general flash forum with no sucess. I'm guessing my question is more geared towards AS3 anyway. So here goes:

I've created a flash intro for a website and I have it setup so that in the first frame of the intro it opens a popup window, and then in the last frame it opens the actual site in the same window as the intro. Right now when it hits the last frame it opens up the popup window a second time! In a lot of cases this would be fine but the popup is a music player and the two players playing on top of eachother just doesnt work.[code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved