Re: [Flashcoders] Actionscript lives on.

2012-09-17 Thread Ben Sand
Agreed. By converting from vectored to rastered art for some of our complex components we tripled the frame rate in Flash. At the same time, we converted our character from 6MB to 42KB by converting it from a sprite sheet into animated components in Flash, but it took the artist quite a while! (s

Re: [Flashcoders] Converting a flash game to facebook app

2012-05-31 Thread Ben Sand
The way an app should work (and bear in mind this could be different for hosted games): Tracking of an individual user should all be handled as per normal with your server, using cookies. You should be able to find a user account plugin for whatever framework you're working with to manage this fo

Re: [Flashcoders] Converting a flash game to facebook app

2012-05-31 Thread Ben Sand
It's fairly straight forward to add facebook functionality to a website/app, there's lots of apis floating around, or you can just talk to fb directly. Be aware their API does change over time. I'm not sure how good they are at maintaining backwards compatibility. My experience is in external flas

Re: [Flashcoders] MVC style Correction

2012-02-25 Thread Ben Sand
Different frameworks have different tweaks to the conventions. It's usually best to have a specific framework in mind when working on this. Eg. We do things differently in RubyonRails to RobotLegs. I've worked with Django in the past as well. It has hard blockers to keep logic getting into the vie

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-22 Thread Ben Sand
We are building a full screen game with a novel interface and we need the power of Flash. My primary concern is not seeing any mention of Alchemy's successor on the Roadmap as we are hanging out for it's features. On 23 February 2012 05:50, James Merrill wrote: > http://www.adobe.com/devnet/fla

Re: [Flashcoders] MVC style Correction

2012-02-17 Thread Ben Sand
all, I wonder how all the parts gets to know each other. > > John > > > > On 17/02/2012 09:11, Ben Sand wrote: > >> maybe this will help: >> http://www.robotlegs.org/**diagram/ <http://www.robotlegs.org/diagram/> >> >> the solid lines are met

Re: [Flashcoders] MVC style Correction

2012-02-17 Thread Ben Sand
maybe this will help: http://www.robotlegs.org/diagram/ the solid lines are method calls, the dashed lines are events On 17 February 2012 18:58, Cor wrote: > Jord, > > This is exactly what I don't understand to do in actionscript! > And that's why I think some example will visualize it to me. >

Re: [Flashcoders] MVC style

2012-02-16 Thread Ben Sand
We work with two MVC frameworks: RobotLegs in Flash and RubyonRails on the server. RubyonRails mandates a "thin controller fat model" paradigm and we try to user that in Flash as well. Under this paradigm, wherever possible, things should be in the model. One good reason for doing this is code re

Re: [Flashcoders] Large Images with Alpha Channel

2012-02-14 Thread Ben Sand
On 14 February 2012 21:17, Paul Andrews wrote: > On 11/02/2012 05:43, Ben Sand wrote: > >> I'm working on a game with some large images (up to 4k x 4k) >> > I might look at paging images that size - I guess they're backgrounds of > some sort? > Yes, backg

Re: [Flashcoders] Large Images with Alpha Channel

2012-02-12 Thread Ben Sand
Designer | Developer | CEH-LPIG > > www.actionscripthero.org | @ASHero_org | @birikini > > > Am 11.02.2012 06:43, schrieb Ben Sand: > >> I'm working on a game with some large images (up to 4k x 4k) >> >> The pngs with alpha channels come out at 5-10MB each an

[Flashcoders] Large Images with Alpha Channel

2012-02-10 Thread Ben Sand
I'm working on a game with some large images (up to 4k x 4k) The pngs with alpha channels come out at 5-10MB each and we need to put a few large ones and many smaller ones in the game. jpeg-xr would do the job, but we are targetting Flash 10 This blog shows how to combine a jpeg with a png alpha

[Flashcoders] Re: Flash + jQuery

2011-11-04 Thread Ben Sand
Our server is rails. Getting flash to talk to it direct results in a lot of pain as the responses sometimes come back with non 200 status codes, so most browsers will refuse to pass content through to flash. I think the simplest solution is to make JavaScript an intermediary. We looked into inte

Re: [Flashcoders] Flash + jQuery

2011-11-04 Thread Ben Sand
That'll do the trick, I was wondering whether there was a framework or paradigm for dealing with this as it things scale. The app we're building is quite large and we need to keep it maintainable. We work on RobotLegs, so I suppose some of this would fit into the services section, but other parts

Re: [Flashcoders] Nice looking bit map scaling in flash

2011-11-03 Thread Ben Sand
lly a port of > silver light deepzoom > > Ross P. Sclafani > Design | Technology | Creative > 347.204.5714 > http://ross.sclafani.net > http://www.twitter.com/rosssclafani > > On Oct 20, 2011, at 8:04 PM, Ben Sand wrote: > >> Need to zoom a background imag

[Flashcoders] Flash + jQuery

2011-11-03 Thread Ben Sand
What's the best way to get Flash and jQuery communicating? * I'll need flash to access a rails server via jQuery * Also be doing a lot of javascript work on the client and need updates to flow through to flash. I'd prefer a solution that was flexible and robust, rather than quick and easy. There

[Flashcoders] Nice looking bit map scaling in flash

2011-10-20 Thread Ben Sand
Need to zoom a background image. We'd rather do it as a bitmap than a vector. Image will be up to 5120x2880, with the centre portion displaying by default. We'd like to zoom up to double in and half out. ie. assuming a 2560x1440 screen. * Zooming in all the way would give: 1280x720 with each pi

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Ben Sand
This will probable be inconsistent across browsers and operating systems, however you can always try! Also, if you can get it to work, you may lose all 2D (and in the future 3D) acceleration by the video card, as everything will have to be processed in software >From memory, window and direct mod

[Flashcoders] ASyncToken - How does it work / Alternatives

2011-06-30 Thread Ben Sand
We have a lot of client-server communication going on and want the right responses to match up. We Currently using URLLoader + URLRequest to send/receive XML from a Ruby on Rails (v3) server. We want to keep doing that, until JSON is nice in Flash (v11?), and we don't plan to us AMF, etc. We use R

Re: [Flashcoders] PureMVC vs Cairngorm // who's better?

2011-06-23 Thread Ben Sand
We use robotlegs On Thursday, 23 June 2011, Jordan L. Chilcott - Interactivity Unlimited wrote: > Huge vote for RobotLegs as well. > > jord > -- > Jordan L. Chilcott > > Sent from my iPhone... because I can > > On 2011-06-23, at 9:23 AM, "Merrill, Jason" > wrote: > >> Robotlegs +1 >> > > __

Re: [Flashcoders] AS3 load and unload swf from different movies

2011-06-14 Thread Ben Sand
w. > > > Matt Perkins > - > http://www.nudoru.com > http://udon.nudoru.com > > > On Mon, Jun 13, 2011 at 6:57 PM, Ben Sand wrote: > >> While the below shows it is technically unfeasible to completely >> unload a flex app, that doesn't mean you shouldn't

Re: [Flashcoders] AS3 load and unload swf from different movies

2011-06-13 Thread Ben Sand
rchive/index.php/t-360573.html On 14 June 2011 08:22, Bassam M wrote: > Hi Ben > pls give me the link let me go through  it may help, I also had problem with > memory when i try to load movie into another  because I still didn't get the > logic of AS3 for load and unload. >

Re: [Flashcoders] Strange Button Behavior

2011-06-13 Thread Ben Sand
Pretty sure you can only do network access from local apps with air. Adding trusted will just be ignored by the flash player, it'll (silently) refuse to attempt network connections with anything that didn't originate from the web. And vice versa with manipulating local files On Tuesday, 14 June 20

Re: [Flashcoders] AS3 load and unload swf from different movies

2011-06-13 Thread Ben Sand
Looked into this a while ago. Bottom line was you can never guarantee an unload, so repeated load/unload always have the potential for memory leaks. In the case of Flex apps it was never possible to completely clear them from memory. Our solution was to load other swfs in another window, though I

Re: [Flashcoders] Fullscreen Hardware Acceleration and Video Player Skins

2011-01-12 Thread Ben Sand
Using youtube, i find the controls are distorted, but they don't seem to have been blown up as big as the video. It appears' they've shrunk the controls before they're attached and then zoomed the whole thing up. If you can detect the size of the screen and don't mind the controls being a bit pix