I am trying to figure out how to parse a Flickr RSS feed to feed it into a swf to make a pretty flash interface for my photoblog. I am thinking it would be ideal if the image url was in its own element, and the description for the image was in a sibling element. However this is not the case. The problem I am running into is that the image for each post is in the same element as the description (in the content element). The image is simply wrapped by a normal html img tag. Does anyone know how I would pull the image url out of the description during parsing so that I could feed them into flash elements on the stage (one mc for image, another mc with a dynamic text box for the image description)?[code]
I've been putting together a script to parse twitter feeds via xml, add the html code to link any hyperlinks in the post and throw each resulting post into one of two textareas (box0 & box1). Unfortunatly it is printing all 3 (the amount so far posted) posts into each text box. How to fix this code to a) put 1 post per box and b) limit the amount of posts it pulls from the xml
Code: function checkWord(word:String):String { if(word.indexOf("http:") == 0) { // This word starts with "http:" at index 0 (the beginning of the word) // Wrap it in html href (anchor) tags: return "<a href='" + word + "'>" + word + "</a>"; [Code] .....
I'm using URLLoader to parse XML feeds in my flex project, problem is matching/detect loaded feed in Evevent.COMPLETE,I don't know how to pass id or variable or object tag through URLloader.When loading images this is solved by using name property in Loader, but Loader didn't work for XML[code]...
i've been putting together a script to parse twitter feeds via xml, add the html code to link any hyperlinks in the post and throw each resulting post into one of two textareas (box0 & box1). unfortunatly it is printing all 3 (the amount so far posted) posts into each text box. any tips on how to fix this code to a) put 1 post per box and b) limit the amount of posts it pulls from the xml
I'm trying to get a photogallery to get information directly from [URL] I've found a flash API wrapper that looks like it should work but my understanding of class constructs is too weak to get it going. [URL]
how to use the flickr api? all the documentation i've read on it assumes you know so much, but i need to start at square one! my goal is simply to load images from a flickr username at runtime. the swf into which the images will be loaded is itself loaded into another swf. i need to make photo galleries that load my clients' flickr images, so that the clients can update their galleries without anyone having to right new code. swf--> swf--> dynamically loaded images from flickr
I'm trying to get a simple photo list from flickr as XML. This works fine, but when I try to use the retrieved data as a local XML-Object it is telling me that the XML cannot be converted to XML. I am sure I am doing something really wrong here, but I don't know what it is. Do I have to convert the ldr.data somehow?[code]
Ive been trying to get the xml/flash gallery tutorial to work using the rss from a Flickr image account instead of the format of xml file included in the tutorial download.Try as I might I cant understand how to call information from the specific nodes that contain the picture information.The Flickr XML source It has a lot of information at the beginning of the file to do with the Flickr account details, which i want to ignore. The <item> tag is the one im interested in.
Code: xmlNode = this.firstChild;
I've tried using xml.nodeName, and looked right through all the xml part of the actionscript dictionary, but no luck.
Ive been trying to get the xml/flash gallery tutorial to work using the rss from a Flickr image account instead of the format of xml file included in the tutorial download.
Try as I might I cant understand how to call information from the specific nodes that contain the picture information.
The Flickr XML source
It has a lot of information at the beginning of the file to do with the Flickr account details, which i want to ignore. The <item> tag is the one im interested in.
My guess was that it had to do with changing
Code: xmlNode = this.firstChild;
I've tried using xml.nodeName, and looked right through all the xml part of the actionscript dictionary, but no luck.
I am trying to take a Flickr collection (from the website) and integrate it into flash. I suspect something to do with the rss feed. My goal is to take the flash and put it into Screentime so that when the screensaver is running it will basically be an up-to-date slideshow of my flickr images.
I've been able to figure out how to call the Flickr API with the Adobe Lib and get a response...I can get the description, id, etc. But now I'm trying to figure out how to load in the actual photo and add it to the stage.
function loadStartingPhoto():void { service.addEventListener(FlickrResultEvent.PHOTOS_GET_INFO, handlePhotoGetInfo);[code]....
I'm starting to think that in order to pull in the actual photo, I need to get it by way of a URLRequest. But that's not how any of the other tutorials are doing it... or maybe they are...
I am fairly new to AS3 but I have been able to build a somewhat dinky app for iPhone and Andoid with Flash CS5.5, and I am wanting to add my Flickr feed to it. I tried going through Flickr's API but that didn't fully work.
Is it possible to load a Flickr slideshow into a Flash website?
I know you can load it into an HTML page, but I want to load it into my 100% Flash website. However, I can't get this to work. I picked apart the HTML embed code and pieced it back together as a URL that gets me exactly what I want, but Flash will not do anything with it.
Here is the code I am using:
Code: Select allvar loader:Loader = new Loader(); btn_mc.addEventListener(MouseEvent.CLICK, btnClick); function btnClick(e:MouseEvent):void{ loader.load(new URLRequest(root.loaderInfo.parameters.flickrURL +
I'm currently using the Flickr Image Search API to load the first result of a string query as a background image for my site.Here's how it's looking so far: http:[url].....The thing with Flickr though is that if you want pictures at their original or large sizes every now and then you get an error message or image saying "Image Unavailable" due to Flickr permissions and user privacy restrictions. On the other hand medium sized or detail sized images tend to get very pixelated on large monitors. I'm pretty new at this Flickr API thing so I don't know if there's a way to filter the results to show only the first one that has actual original/large size available.
Question 1) Is there a way to filter/sort through Flickr API to load only the AVAILABLE/PERMITTED images at their original/largest size?Here's the code I have so far:
Code: package { import flash.display.*;[code]...
2) Alternatively I was thinking that Google and Bing don't have permission/restriction issues(I think) so I was wondering if anyone knew how to set up a Google or Bing image search in Flash using AS3. The farthest I've got on this was finding this link: http:[url].... But I can't seem to get my head around how to actually build the whole search, query and load result.
I built this nifty little weather/clock app as a way of learning to work with API's and incorporates both the yahoo weather api and the flickr api. Now that it is in functioning order, I decided I would port it over to a playbook app via a Flash Builder 4.4 ActionScript Mobile project. I was able to get it installed on the playbook simulator just fine however when the app launched it showed a blank stage. After several hours of research I determined it was a runtime error.After several more hours of research I found it was a security error when making a call out to the flickr api. The debugger reports the following error:
SecurityError: Error #3207: Application-sandbox content cannot access this feature. at flash.system::Security$/allowDomain() at global$init()[C:UserspoorpaddyAdobe Flash Builder 4.5ScriptsflickrGrabber.as:43]
I'm working with different flash movies for a client. she has several flash movies playing back to back as advertisement for different retailers. Now she wants me to add Rss Feeds for local weather on the flash movies. Now i never done this before and I'm not really that familiar with AS. I've also googled for the past hours and kept finding how to add Rss feeds to flash WEBSITES not MOVIES (.swf).
For my class' final project, I created a little eBay search tool platform. It
1) performs a search (and the link generates affiliate coding so commissions would result if an eBay affiliate used this application on their website),
2) it shows a few eBay-related news feeds, and
3) it shows some beginner's videos showing how to buy on eBay.
Playing the swf as a movie on the desktop, within Flash, works fine.However, since I've published the swf into a webpage, the search function and one of the RSS feeds do not work. My application is at: [URL]I've read about crossdomain policy issues, but I'm stumped about that. Using FireBug, I see an error message:"NetworkError: 404 Not Found - [URL]This is the domain where I'm calling the RSS feed. Because this domain does NOT have a crossdomain.xml policy in place, does that mean that no matter what I do, I'll never be able to draw from it? I've set up a crossdomain.xml file in my website's root and it consists solely of:
This works when I cut and paste a sample URL into the browser, say, when I substitute a search term minAmt and maxAmt into that gobbledegook. The search never returns anything when this app lives on a published html page...
I am trying to make a very simple rss reader to display news feeds. All I really want to do is have a text box display the first item of the feed, wait for a moment, then display the next one. I've been searching around and can't find any decent tutorials on the subject.
I'm parsing an RSS feed successfully using the RSS Viewer Example. The output text/links is good, but the images don't seem to get parsed. I've tried several other RSS scrpts with similar results: text/titles/links but but no images, as well as other feeds sites like CNN and Google, and NASA.
I have an RSS feed that is being read into dynamic text fields. The content of the RSS feed needs to be updated like every minute or every half minute, as there are constantly new items in the feed. Is there a way in ActionScript to reload the feed in interval times, or maybe reload the whole script?
I am new at Flash and I put together this code (below) it's for an RSS Feed which seems to be working fine, however, I would like to have it display in a scroll box and I can't seem to find the way to do it. I need to create several widgets and once I learn how to create the first one I will be able to design them the way I need them.
Code: Select allvar holder:Sprite = new Sprite(); addChild(holder); init(); function init():void{ var urlLoader : URLLoader = new URLLoader (); urlLoader.addEventListener( Event.COMPLETE, OnRSSLoaded, false, 0, true ); [Code] .....
i am using flash 8 with as2.can flash read and parse rss feeds? if it can can someone show me an example. Also can flash load an html page into an movie clip?
I have some difficulties with a project that i am doing. The project fetch text from twitter due to a keyword i have set up(for example KW= i feel like a teenage boy). Can i apply CSS style to this text due to is live feed?
Here is the actual code: box=button---------------replace_txt=dynamic text where twitt feeds appear var lyricsLength:Number = 250;//Trim lyrics to a max number of characters