I've got an RSS feed coming into my flash site. When I test this locally its all good, everything works fine, I can see the RSS feed and everything. But now when I test online, I can't see any RSS, nothing. Its just blank. Any idea why this might happen?
I am trying to load a news feed in xml. It works fine when I run it in flash by clicking ctrl + enter but when I load the .swf in the browser or try to load the .html in the browser I get a Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:
I have never looked into RSS feeds before, I now have someone that wants Yahoo rss newsfeed embedded in his main.fla. I have an AS 2.0 rss newsreader he sent to me, knowing nothing about RSS I started to look around and eventually got to a point where I went to a Yahoo RSS feed and copied the source page and dropped it in the xml file that came with the feedreader. When saved, published and uploaded to the server the file displays the feed from yahoo fine, but it never update the stories. I would think this has to do with the xml as it is embedded in the page so it can't change so my question is how do I get an rss feed converted to xml to update???
I have an rss feed where I can grab the image I am trying to get and it works. I can't load it into the loader from there.
[as] var xmlLoader:URLLoader = new URLLoader(); var xmlData:XML = new XML(); xmlLoader.addEventListener(Event.COMPLETE, LoadXML); xmlLoader.load(new URLRequest("[URL]")); [Code] .....
I am trying to parse a RSS feed and load the data into separate labels.
For example i want to pick up all the title values within each item of the RSS feed and place that in a designated label.
I am parsing the feed correctly but i am having trouble trying to load the data into the label's, i've tried using the below but the same Title value is entered for 9 out of the 10 labels[code]...
I recently began working on a large game. The main swf that all the levels load from also acts as a runtime library. When the MovieClipLoader loads the next level, if that level imports any mc's from the main swf then it won't load. It works fine straight from the HDD though.
I could really use a hand. I've used up most of my brain power figuring out the source of the problem (there's a lot of stuff to sift through).
I mis-spoke before. The MCL will load level.swf, I see the progress bar and OnLoadInit executes which should mean that the first frame of the level was initialized, but nothing appears.
Im trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. Can you explain what im doing wrong?[code]
I would like to load an external image to a flashwebsite.I do this using a Loader.[code]When I test the swf offline, it works. But when I put everything online and I browse to the HTML file, it doesn't load the images anymore.What do I have to do to load external images online?
Has anyone been successful in using StageWebViewBridge to load and communicate with an online web page? [URL]. The documentation and examples offered are all configured around working with local files (which work successfully) and although the instruction to 'include the StageWebViewBridge.js' file within the loaded html page sounds very straight forward, sadly it doesn't seem to work.
For anyone wanting to replicate my test I have uploaded the files here: [URL]. I'm basically loading the 'ExampleCallBackFuncions.html' file from a web server. I've included the StageWebViewBridge.js file like so... <script type="text/javascript" src="StageWebViewBridge.js"></script>
When I test the movie I get the correct setup output messages _serializeObject =>___onDomReady _serializeObject =>___getFilePaths _serializeObject =>___onDeviceReady _serializeObject =>fnCalledFromJS
And the html page appears in the viewport. But on pressing the button which should send a message to Actionscript I get the following error messages: TypeError: Error #1009: Cannot access a property or method of a null object reference. at es.xperiments.media::StageWebViewBridgeExternal/parseCallBack() [/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridgeExternal.as:88] at es.xperiments.media::StageWebViewBridge/onLocationChange() [/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridge.as:236] My goal is to send a message back to ActionScript from the html page.
im loading some RSS from twitter.. it works fine when i'm testing local, but when customer uploads it on 3rd part server, it doesent work. It's most likely a flash security issue. Is it possible to make a serverscript file that outputs the RSS to flash? Our server does have both ASP and PHP directories.. so any will do.
Setup: I have an html page with an embedded flash object. The object is an "index.swf" with an empty movie clip on it. External swf's load onto the index swf via the empty movie clip when buttons are pushed.
Problem: On my test server in dreamweaver, the swf's load fine. When I put them on my server and test it online only the index swf loads. not the initial swf or any of the other swf's.
Site: [URL] Files: [URL] (index page and home page for your reference)
I am making a flash site where one of my pages loads an external swf. In this external swf I have sub pages with links. My problem is when I visit a page from this external swf, and then go to a page from my main website (clicking my main time line buttons) and then go back to the page with the external swf i was previously on, the page would go to the last page i was on, instead of refreshing it back to the main frame of the external swf.
I made a small, simple example of what I am experiencing on the site I'm working on.
Firstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. So i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
But when trying my php file through firefox its says (php file ."Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip,
I'm using LoadVars to load variable data into flash from a .txt file.Pretty simple - when uploaded onto a server, I can see the data loaded but no one else can, not even other accounts on my computer!Could this be a CHMOD permission problem? Could this a problem with my AS? A problem with directories? A problem with URLs?Anybody have a good method that simply loads vars from a .txt file and can also do it online?
Firstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. o i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
But when trying my php file through firefox its says (php file
"Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
So if anyone could give me any advice on how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip.
I've created a flash with an RSS feed inside it, I've seen it work on other websites but it won't work when I upload it to my server. I've tested it and had to authorize it on my local computer and it's all there, but flash seems to have blocked it when it's online, Here's my AS code, I'm using flash 8
I'm rather new to Flash and AS3. I need to call a REST web service, passing it a location code and two arguments, and parse 3 nodes from the resulting XML.[code]...
pull some simple text from an external website's RSS feed into a basic text box in a Flash movie. It would need to be in AS2 to fit with the website. The RSS feed is on a PHP page: [URL]
I understand I need to pull the content via an xml / php page under my own domain in order to get around the Flash security, but I still can't scrape together the right code for it to work.
I have a few projects that are coming up at work where I will have to take a feed given to us and grab and display titles for example and pictures. I was able to do this in AS2 but I now need to do it in AS3 now and I don't have the time to dig in and figure it out. I would be willing to pay someone to display one of the images and one of the headlines in the example feed below. I think I can learn the rest, but there is a good chance I might need some more help and I would be willing to pay for that also. So basically I need a small script and a file that displays the info. Can you guys throw some offers my way here or at my email:
Note: If you use Firefox the feed will display and you can see where you would need to traverse this feed to get a headline and a pic
I made this BlogFeed.swf file. Everything works just fine in Flash IDE. It loads the XML, renders it, displays fine and that's it: the world is filled with love and data.
The problem occurs when I try to use my swf online.
Here's the scenario:
SERVER A (Altervista) hosts the swf file, trying to read the RSS Feed from... SERVER B (my client's server) serves the RSS Feed of his blog
[ things I already tryed ]
1) I wrote a crossdomain.xml file (allowing SERVER B domain to access the swf), place it at the same level of the swf file on SERVER A;
2) Set System.security.allowInsecureDomain("*") in the flash file
3) checked on both servers the server-to-server permissions (Altervista lets you do this via its own control panel; the client's server needed me to email the support: did it and they allowed me to connect)
4) moved the swf on ANOTHER server, on which I am completely sure that server-to-server communications are allowed, since I already did something like that.
Nothing changes: always getting the damn HTTPStatus = 0 and no items are shown.
What I really don't understand is why it does work from Flash IDE connecting to SERVER B and it fails (with NO IOError and HTTPStatus = 0, so no debug hints at all...) when I use it in server-to-server mode.