Actionscript 3 :: Write A Desktop App To Publish Posts To A Wordpress Blog?
Mar 22, 2012
So I'm trying to write a desktop app to publish posts to a Wordpress blog, and I found Reuben Stanton's Wordpress XML-RPC library (for some reason, his site isn't responding, so here's the code on Google Code)Now everything works well, but when I get to publishing posts, something weird happens.Here's my code:
private function publish():void {
var sel:CuratorBlog=blogSelect.selectedItem;
publisher=new WPService(sel.url, sel.login, sel.password);[code].......
I am able to see the tags and title in the browser when I open the blog, but it has no content.
Does anybody know the right way to use flash.desktop.NativeApplication and not run into 1172: Definition flash.desktop:NativeApplication could not be found. or 1120: Access of undefined property NativeApplication.
It works fine when the publish settings are set to iOS, but when I switch to publish a "normal" swf I get the error.
I am trying to make a blog roll program that will put the titles of a client's blog on their homepage. i ran through a tutorial that got most of it working, but when i went to move from the tutorial to the client's program, i started running into some errors. since i have no idea what they mean, i can't even begin to figure out what is causing them.
Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?
there is an issue i am curious about very much. when i develop a flash application or web site, http posts and requests, links etc.. everything can be seen with add ons. what do you suggest for this issue? i cannot find any good solution, what solutions to be used generally?
How to embed a custom SWF based audio player into facebook wall posts? I want to start posting mp3 links on my and other walls and at one point I saw someone do this and a mp3 player was embeded in facebook to play the audio. When I post a link all I get is the link people can click. How do I: 1. make a flash playable on the FB wall via the clickable play thumbnail. 2. Make a mp3 playanle on the FB wall via the mp3 player fb uses.
While publishing my movies in CS4, I noticed that the javascript required to embed the movie in a web page was published as inline javascript in the published page. This means that code would be downloaded for each page my movie is on. Is it possible to configure Flash CS4 to publish that javascript to a separate .js file, instead of having to manually copy-paste that each time??
If no, I believe that js is independent of the Flash movie (please correct me, if I am wrong). So, can I copy-paste that javascript to an external file just once, and use the js file for all my movies being published??
I have a swf that I have created that make a few HTML posts. When I run and compile the swf locally, it successfully makes posts to my php code hosted on my domain. However when I then upload my swf to my domain, and then alter the embed tag to have a fully qualified path to my hosted swf, the swf will load correctly but it will make any HTML posts to my PHP scripts. The reason that I have an an embed tag with the fully qualified url in it, is that my goal here is to be able to place the html embed code on a number of different sites.
I have it working on a single remote site, and it has a wild card crossdomain.xml file in it. However when I try to apply a crossdomain.xml to any of the hosted sites, or to my computer locally nothing runs when the I use the embed with the fully qualified URL, if I just the locally hosted swf on my computer the HTML post work just fine. I feel this is related to the crossdomain.xml file, however I guess I'm not understanding some aspect of the security model.
i've designed a strip of thumbnails in flash to go in a Wordpress site i'm working on, which when clicked need to open up images and videos using Lightbox 2. (Lightbox is already setup and working.)The problem is that i'm importing the links for each of the thumbnail buttons from a .txt file which works like this:
Code: getURL(_root.link1, "_blank");
Text file:
[URL]
This at present just opens the image in a new window, how can i make this work with Lightbox?[URL]
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 encoded the Flash movies with the "ClearOverPlaySeekMute" skin and uploaded the swf to the same directory as the main video swf. The skin does not display. (in any of them)
I thought that the skin had to be in the same directory as the swf, althought I have read that some say it should be where the html file is. Since WP is PHP is is less clear where it should go. I have uploaded the file to the WP folder, to the theme folder, and to the include folder but it still does not display.[code]...
Just started using wordpress for my site after years of standard HTML and hit a problemwith an old Flash file I've usedfor 10 years.So I have a flash 6 swf file living in my media directory at URL...and the swf file wants to call a JavaScript function on my HTML page living at URL...Now on my old non-wordpress web site I just put the html and swf file in the same directory and this call always worked javascript:top.fSendForm()But now the swf file is in another location I don't know how to reference my JavaScript function.
We all know what Wordpress can do with a little bit of css goodness. I was wondering whether the idea could be extended even further and make a completely separate Flash/Flex frontend for a website, that uses Wordpress in the back. That would certainly be possible. I was just wondering whether its practical.
Is possible to have the posts loaded into an swf using the wordpress framework? i mean, i want to write a post using the wordpress wp-admin interface and then see the result in a swf... I know that if i access using a php pipe the mysql server i can retrive the posts, but as i said i want to use the facebook framework.
I'm trying to embed a .swf into a wordpress page. This sounds simple, but it isn't working and I cannot fathom out why. I've uploaded all the relevant files onto the server, and I'm fairly sure all the filepaths are correct. The folder containing the .fla and .swf files also contained an index.html file, which I have put into a template. I've tried putting the supplied code into the HTML on the page, I've tried simply using said template, and the best I'm getting is a blank area which doesn't load the flash content.
Does anyone have any experience using actionscript to tap into a wordpress database (movable-type)? I'm just wondering how difficult this would be or if anyone has been successful with this.
I used this code as a preloader on a site a made a few months ago.I'm trying to use it again in a wordpress template using PHP and it's not working.The movies loads, but doesn't load the main .swf??why this would work on one site and not another? Is it a PHP conflict?
var l:Loader = new Loader();l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);l.load(new URLRequest("ns_headermovie.swf"));
I have a flash website that's been running fine, but since I installed Wordpress on that server, the SWFs won't load from Internet Explorer. It still works fine in Firefox on both the Mac and Windows platforms. The Flash website is not associated with the WP blog at all, but it exists along side. I tried moving the blog folder up a level, farther away from the Flash site, but it didn't help. IE will see the index page, and the html elements, but no longer will load the flash. It's was working fine before. I should mention that there is also a b2 evolution blog installed in another directory on the server, if that makes any difference.
I am trying to get this flash carousel to show up in a Wordpress post. I can right click on the blank space where it should be and bring up the flash options menu, but no movie is showing. It links to an xml document that pulls in the images and text. Is it an xml issue? Below is what I placed in my wordpress template header to allow the flash movie to run[code]...
I would like to have a link on my wordpress site to view a flash version of the same site. Could it be done by creating a subdomain for the flash site and using robots.txt to hide the flash site from search engines to avoid duplicate content.