How to Get started with Press2Flash in 8 Steps
Upcoming SlideShare
Loading in...5
×
 

How to Get started with Press2Flash in 8 Steps

on

  • 5,385 views

Press2Flash is a framework developed to connect your Full-Flash website with Wordpress, the famous open source CMS....

Press2Flash is a framework developed to connect your Full-Flash website with Wordpress, the famous open source CMS.
This way, you can use Wordpress to manage the content displayed in Flash, upload files, moderate comments and so much more!


In these slides, I will show you how to create your first Press2Flash project.

Statistics

Views

Total Views
5,385
Slideshare-icon Views on SlideShare
2,957
Embed Views
2,428

Actions

Likes
1
Downloads
26
Comments
0

4 Embeds 2,428

http://www.press2flash.com 2396
http://translate.googleusercontent.com 29
http://www.linkedin.com 2
http://webcache.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How to Get started with Press2Flash in 8 Steps How to Get started with Press2Flash in 8 Steps Presentation Transcript

    • How to get started with Press2Flash in 8 Steps Date: 08/04/2010 Current Press2Flash version: RC1 Author: Erwan Jegouzo
    • What is Press2Flash? Add the Flash experience to your Wordpress-powered Website! Press2Flash is an AS3 based framework created to add Rich Media capabilities to your WordPress-powered website. Press2Flash also provides a Wordpress plugin to enable the communication between the CMS and Flash. Check out the website : http://www.press2flash.com
    • How does it work?
    • Create your first project in 8 steps In the next slides, I will show you how to create your first Press2Flash project. In this example, I will use FlashDevelop, easyPHP and Firebug to create and debug the application.
    • Create your first project in 8 steps 1/ Create a new directory named "myPress2flashProject" to host your project. 2/ Create a new Actionscript project in FlashDevelop and save it in myPress2flashProject.
    • Create your first project in 8 steps 3/ Start EasyPHP, Download wordpress and install it in myPress2flashProject/bin The project url should then be http://127.0.0.1/myPress2flashProject/ If you need help to install Wordpress, check out out this tutorial: http://codex.wordpress.org/Installing_WordPress
    • Create your first project in 8 steps 4/ Checkout the last version of Press2Flash on the repository, using your favorite SVN client. You have also access to the source code here: http://www.press2flash.com/download
    • Create your first project in 8 steps 5/ Copy the necessary files to your workingspace: - The theme: myPress2flashProject/wp-content/themes/press2flash - The plugin: myPress2flashProject/wp-content/plugins/press2flash - The Actionscript 3 Framework: copy from wp-content/themes/press2flash/flash/src to myPress2flashProject/src - The tutorial files: copy the Classes and the fonts.swf to your workspace (make sure Main.as is your document class)
    • Create your first project in 8 steps 6/ Login to Wordpress to activate the plugin and the theme
    • Create your first project in 8 steps 7/ In FlashDevelop, change the project's settings to: - Outputfile: {press2flashProject}/bin/wp- content/themes/press2flash/flash/press2flash.swf - Test movie: Choose "open document" and type in http://127.0.0.1/myPress2flashProject
    • Create your first project in 8 steps 8/ Compile and admire! If all the steps have been correctly done, you should see the default Worpdress post in your Flash application.
    • How to debug your app They are many ways to keep track on the exchanges between Flash and Wordpress: - Flash Builder Network Monitor - De MonsterDebugger - Firebug
    • Debugging with Fireburg Make sure the query is right!
    • Debugging with Fireburg Good! Press2Flash sent back a valid XML document
    • Debugging with Fireburg Error! Press2Flash sent back a PHP error Errors like this could occur if you modified the PHP code or the post content is not XML valid!