AS3

Dynamically Auto-Populating A Flash Menu Using AS3/PHP (No AMFPHP Required)

private
andrewnprice - Mon, 2009-03-23 16:25

This was a personal project that I had been working on recently. I wanted to do a more flash centric theme redesign, but I still wanted to use Drupal for controlling my menus and automatically updating content categories. This of course required that I come up with a reliable way of populating a flash menu based on changes to Drupal's SQL database. After a little bit of trial and error I think I finally came up with a solution that works well enough to be considered stable.


how to pass arguments to views.getview?

Hello,

I've successfuly got flash as3 and Drupal talking, but I need to pass arguments to views.getview so that I can cut down on the amount of data transfered.

I'm using the following to connect, modified from the AMFPHP "hello world" example:


package {
import flash.net.NetConnection;
import flash.net.Responder;

import flash.net.URLRequest;

import flash.events.EventDispatcher;
import flash.events.Event;

public class ConnectToDrupal extends EventDispatcher{

    private var gateway:String = "http:// mywebsitename /drupal/services/amfphp";
3 comments · Read more
behindthepage's picture

AS3 - AMFPHP connection problems

Hi all,

I have been playing around with AS3 and AMFPHP using FlashDevelop IDE and slowly learning. I have pieced the following code together and finally having overcome all the syntax errors and getting the types properly defined It doesn't throw any compiling error however it won't connect.

I get the following error

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed at drupal2()

If someone could point out my probably obvious mistake I would be very appreciative.


package {

import flash.display.Sprite;    
7 comments · Read more
travischristopher's picture

AS3, Flex coders looking to collaborate on Zen like flex theme?

Anyone interested in collaborating on Zen like flex theme, specifically someone who can code the AS3 DTO's? The idea being to model the project after the features and functionality currently available in the Zen theme, but built in flex.

Its my feeling that if we had one good starter theme for flex it would allow designers and themers to more easily get started creating more advanced flex themes.

I'm also wondering if there might be some overlap or lessons we can learn from the patterns.module. http://drupal.org/project/patterns

9 comments

Flex / Drupal integration ideas

I have spent the last few months learning as much as I can about AIR / Flex / AS3 and I would like a crack at developing something useful for drupal. Any ideas are definatly welcome, I was thinking mainly of some administration tools which could just speed up the workflow but I would love suggestions.

31 comments
Syndicate content