flash

How can I use Groovy-Grails with Adobe Flash?

It is possible to use Adobe Flash as view in Grails project? I want that all logic: model and controller was written on Grails, and use Adobe Flash. It's will be perfect to have some link on examples. ...

AMFPHP: Serializing Flash Objects over HTTP without the gateway

Flash + AMFPHP is a great combination. But there are cases, when Flash Remoting with NetConnection isn't the right tool, for various reasons. Rob had a great post on this some time ago: http://www.roboncode.com/articles/144 He also has a nice example on how to deliver AMF to a http request, without the POST and AMF-request package to ca...

move a displayobject based on another objects rotation

Ive probably ran into some code like this before. just cant remember where. I have 2 display objects on my stage. One is rotating and the other is positioned 90 degrees from the rotating object. As the object rotates, the other object adjusts its x and y positioning from the rotating object.. If this doesnt make sense, then let me expla...

HTML : Make <object> a link.

I have HTML code I got from a designer of the form: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20"> <param name="movie" value="PRODUCTS.swf" /> <param name="quality" value="high" /> ...

Getting domain in AS3

I know how to get the URL of the page, but how can I extract simply the domain and the domain alone? It must return the same value with or without www, and it must also return the same value regardless of file, with or without trailing slash, etc. So www.domain.com would return domain.com, and domain.com/index.php would return the same...

Is there any Video Gesture actionscript library/api

So I need an open-source Video Gesture actionscript library/api. So we have a web cam... we move a hand and it causes some events... So i need motion detection for navigation API/Lib Where to get it? BTW: i found one but its documentation is... poor - http://www.elctech.com/demos/using-haar-cascades-and-opencv-in-as3 ...

testing flash movies performance agaisnt range or computers and browsers

I am half way done with making my first flash web game. I put alot of work into it and dont really know how great the performance will be on browsers and range of different types of computers. This is my first time working with flash in general. I was wondering if there is any tools to test my game out against browsers and hardware. The ...

loadmovie into a fla-cs3 (as2)

Hi, I've been trying to load a simple .swf (home.swf) and have it play automatically on my existing fla project (as2). These are the steps I have taken.. 1) create MC, named "holder" 2) within first frame of MC, entered in.. loadMovie("home.swf","holder"); Nothing is showing, I'm not sure what I'm doing wrong. If you can help, I can ...

How to get the swf object from within a web page?

Suppose the swf file is embeded into the page with the following code: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="myFlash" width="600" height="500"> <param name="movie" value="myMovie.swf"> <embed type="application/x-shockwave-flash" src="myMovie.swf" name="myFlash" width="600" height="500" > </embed> </ob...

Architecture for a farmville/yoville/cafe world type game?

I'm thinking of building a game along the lines of Farmville - items, events, time management system etc. Options I am thinking of: 1) Flash UI frontend that uses AMFPHP to get all data for the view from a PHP powered backend. 2) Actionscript to power the whole game Any input is appreciated. My concern with Actionscript is scaling, my ...

Flash as3 process XML Doctype Entities

Hi there, i've got a XML similar to the following example: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE descriptor-layout [ <!ENTITY prefix "http://www.myurl.com" > ]> <xml> .... </xml> the prefix Entity is used in several tags like this: <child src="&prefix;/mypath/mydata.xml" /> So my question is, wether there is any...

Is it possible in Flash to launch a JavaScript function (which uses AJAX) in a page that contains the Flash object itself?

Here's our goal: in a website, show a nice menu "à la" iPhone in Flash and when we click on a menu, show a part of the site "under" the Flash menu. Two options: create a page with the Flash menu that has an iFrame and with Flash, open the menu in that iFrame; create one page with a div on its bottom, with Flash, launch a JavaScript (...

FlashDevelop - training materials, tutorials, books (Flex/Flash development without FlexBuilder)

Hi, I want to start Flash/Flex/ActionScript development and got lost with the technologies, documentation and tools available. Searches pointed me to Adobe FlexBuilder and Adobe Flash (Designer, CS3, CS4). Then, I found FlashDevelop, learned that Flex SDK and compilers are free. Also, you can make a complete Flash application in FlashD...

How to make those fancy flash banners that expand beyond their box

Hi All, I am building a flash banner, which needs at one stage to expand beyond its 728x90 box. Something similar to the Corei7 ad currently on wired.com but not as drastic. I know ads like that are annoying, but getting evicted in winter is not an option. Viewing source on pages are difficult since they are almost always wrapped up in ...

how big is too big for a swf file

I am making a flash game. And I want to know how big is too big for a swf file. Also, Ive been looking at my swf file and right now its at 38.2k. Is the swf file that gets created during debugging, is this the correct size for the file that will eventually be placed on the web. thanks ...

Flex AS3 Project Convert to CS4

Hi, Has anyone got experience in converting AS3 projects (no mxml) in Flex, to Flash CS4? Are there any resources out there as to what works in Flex Builder that doesn't work in Flash, and how to get the project running? I read somewhere that (for instance) certain Metadata tags don't work. If I've got all my code in the src folder,...

Flex: computeSpectrum with streaming media?

I have a Flex3 app I wrote and I'm streaming audio over RTMP from a Red5 server. I'd love to be able to use SoundMixer.computeSpectrum(), but the spectrum data is all zeros. In one location, Adobe writes that SoundMixer.computeSpectrum() does not work with RTMP data: "For media loaded from RTMP sources, you cannot use the BitmapData.dra...

Facebook, Flash and Google App Engine

Is it possible to use a Facebook session in a Flash to authenticate on Google App Engine? I'm trying to create a Flash game and I want to use GAE as the back-end. ...

keep image inside a frame

Hi can anyone help me with a problem please. I am not looking for anybody to write code for me but just give me a few pointers. I want to to put a frame or border around an image in actionscript3. I want to use an image that is considerably bigger than the border. the effect would be that the image would move around but only show what i...

How to check web application status written in Flash/Flex?

I have a typical web application that communicates in the following way: SWF file makes service calls to Java services (Remote object, over BlazeDS on Tomcat), which in turn communicates to database. How do I implement a status check service (hosted on another domain) that will check if the ENTIRE app is up and running? Ideally, I'd m...