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


Similar Posts:


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

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

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

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 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 :: 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 :: 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

ActionScript 3.0 :: Passing URLs For Class As Parameter In Flash

Aug 19, 2009

I am calling java servlets from flash using the following code [below is a sample Flash code for calling a java servlet in Flash which I am using]:
String url_String="[URL]"; var req:URLRequest = new URLRequest(url_String);

In this case, the servlet is called/working fine only in my system where the flash application is deployed & not working when I execute the application in different system using the "IPAddress" of my system. So, What changes I need to make in above Flash code in order to call the same servlet successfully from my system and as well as from other systems? (OR)

Is there any need to pass the servlet-url's relative instead of absolute? If so, How can we pass relative-path of url's in Flash? && Can anyone explain me with an example? How to change my above code to pass the url 'relative' rather than 'absolute'? If I pass the url relatively, does my issue gets resolved?

View 8 Replies

Professional :: Create A Flash Website With Multiple Urls?

Feb 6, 2011

I am not great at flash and am making a website that has a few different tabs for different pages.How do I make different urls for each page?I want to track each page seperately.

View 1 Replies

ActionScript 3.0 :: Cannot Get Buttons To Link Urls In Flash Site

Sep 13, 2011

I am new to the community, I doing a free website for internship purposes, long story i cannot get my buttons to link in flash site, i have tried many different codes and none had worked, i am a newbie and i need some guidance in the right direction. I have three links Link1, Link 3, and Link 4 The current code I am using is import flash.net.

[Code]...

View 2 Replies

Actionscript 3 :: Making Requests From Flash For URLs With + Signs In Them?

Aug 20, 2011

I am hosting images on Amazon S3 and using them in my Flash application. My application receives signed S3 urls that point to the images in S3. The URL looks something like this (line breaks added for clarity):

[Code]...

The problem here is with the + sign that can occur in the Signature. If I send the + sign as-is, then the browser thinks that it's a space, as it should according to the URL specs. Really, S3 shouldn't use + signs for this reason, but it seems to be something they overlooked. Normally this isn't a problem since you just replace the + sign with a %2B. However, Flash has some default behavior that makes this difficult.

From what I can see, the URLRequest object is setup to always encode URLs as if it was passed through the encodeURI function. I don't see any way to turn this off. Unfortunately, encodeURI doesn't encode + signs, but it does encode % signs.

This means that if I leave the + sign in there then Flash leaves it alone and S3 thinks I have a space in my URL. If I use %2B then Flash turns it into %252B, due to encoding the

View 1 Replies

ActionScript 3.0 :: Linking Multiple Buttons To Different URLs In Flash CS3?

Oct 5, 2007

I have a small flash movie with three buttons I would like to link to three different URLs. My code for these is below, however, when I test the movie there is a namespace error (copied below). I assume this is because both buttons are trying to use the same variable but I have no idea how to make this work in AS3.

where i need to make changes so the code understand that "thisButton" should take the user to URL#1 and "thatButton" should take the user to URL#2?

This is for my own site and I have to use AS3 as there is an FLV on it as well which requires AS3 to be viewed.

FIRST BUTTON

//when they click the "light" button go to the www.site/About page
this.lightButton.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {

[Code]....

View 9 Replies

ActionScript 3.0 :: URLs Linking To Different Sections Of Flash Pages

Jul 5, 2009

So this might be an easy but possibly a long answer, but I can't seem to find any good info on it anywhere. I'm trying to figure out how to have different sections of my flash site be linked to with different URLs. A good example of what I mean would be this site here: [URL] I'm not the biggest fan of the design but the functionality is great. It animates seamlessly between pages and each page has a separate URL. Is there an easy way to explain how this is accomplished?

View 2 Replies

ActionScript 2.0 :: Flash XML Photo Gallery Linking To URLs

Jan 17, 2006

I've gone through Kirupa's Photo Gallery tutorial and set it up to work on my site, it's here: [URL]

What I want is to be able to click on the big image after it's loaded, thus launching a new window leading you to that project's URL.

This gallery's [URL] images link to an external URL, that's what I want my big image to do. What do I need to add to my actionscript and XML file to do this?

View 9 Replies

ActionScript 2.0 :: Passing URLs From Flash To Google Maps

Aug 13, 2007

Just a quick one for any popup mapping from flash. I am wanting to do a pop up that displays the directions from "A" to "B". This string would work
Code: [URL]
The only thing is I don't want to work out the in between points but rather just pass the two lat,lon values and have the google engine complete the rest.

View 1 Replies

IDE :: Flash - Buttons To URLs No Longer Working In Php File?

Nov 23, 2009

Very strange thing has happened. I've had this site running fine for over a year, and recently I have discovered that the buttons that go to external URLs do not work.All of the buttons should be going to another .php file, and they have been until discovered yesterday that they do not.If you go to the .swf file directly, you will see that the navigation buttons take you to the correct .php files, but it becomes unclickable when it's in index.php.VERY strange... but then when you go back to index.php, and click the php active hyperlink "Gum Drops" at the bottom of the page, you'll get taken to the php page... and then all of a sudden the navigation, and all flash links to URLs work!

View 2 Replies

Professional :: Can Flash Player Files Contain Links To Internet URLs

May 20, 2011

Can Flash Player files contain links to internet URLs

View 3 Replies

ActionScript 3.0 :: Creating Virtual HTML URLs For A Flash Site?

Jan 31, 2011

I've heard there is a package of software that allows you to create virtual URL's for a flash website.for example: mysite.com/contact -> maps to code in AS3 that chooses the contact page in the site.I think it also works 2-ways so that when the contact info is shown in the flash site, the URL in the browser's address bar also changes.

View 2 Replies

ActionScript 2.0 :: Flash Photo Gallery (XML) - Pulls Image Urls From An External XML File?

Feb 20, 2008

I've built a flash photo gallery that pulls image urls from an external XML file. The gallery has different image catagories that load their own set of images.The user decided which catatgory they'd like to view by clicking an HTML button in the flash movies parent page...using javascript, this button click sends a variable to the root level of the flash movies with the new XML location...

Trouble is, onces the initial XML file is loaded, the movie has no need to refresh (and read the newly sent variable) ...*Unfortunately the catagory buttons MUST be outside the movie on the page...

View 4 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

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

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 :: 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

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







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