As an addition - AIR lets you use FULL_SCREEN_INTERACTIVE mode,
because the assumption is that the users _knows_ that they have
started the AIR app (like starting a normal .exe/.app).
Ian
On Mon, Mar 30, 2009 at 1:27 AM, Carl Welch carlwelchdes...@gmail.com wrote:
sheesh. Instead of removing
Hi there,
I need to find the best way to cope with different encodings of XML documents
that are loaded at runtime.
The documents are user-selected newsfeeds that happen to be encoded in both ISO
and UTF-8, so I have to switch System.useCodepage to true or false depending on
the encoding of
Hi List,
I'm using Zend AMF, and i'd like to know what is the best way and
fastest to transfer data.
For instance; do i create an array from database data in PHP and send
it to flash? Or do i formatted array data from a database to xml and
send that to flash?
Which is the fastest? And
I have a byte question.
I have to store a walkable area so a character 'knows' where it can walk
or not. Currently I am using a multi-dim array based on the x and y pos
of the tiles .
so [[1],[0],[1]..etc]
where pos(0,0) = array[0][0] = 1 (walkable)
I was wondering if I could store this
Good point, i can use getPixel to retrieve the color value and based on
that 'know' if it is walkable.
Cheers.
Jiri
Hans Wichman wrote:
Hi,
why not use an image? Eg use an image that represents your area, lookup the
pixel values, AND them and decide what you can or cannot do in that area.
On stage there is a draw shape. I copy it to BitmapData and use the
transparancy for testing walkable or not.
So i dont use compressed image format, just raw bitmap data. Or am i
missing something?
Jiri
Hans Wichman wrote:
yup exactly, only thing is that I'm not sure how detailed this info
can you pease take me off of this list
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
ah no then you'll be fine !
Although if it's just a simple shape, hittest will work as well of course,
depending on the performance you need.
On Mon, Mar 30, 2009 at 1:52 PM, Jiri jiriheitla...@googlemail.com wrote:
On stage there is a draw shape. I copy it to BitmapData and use the
yup exactly, only thing is that I'm not sure how detailed this info can be
when using compressed image formats...
On Mon, Mar 30, 2009 at 1:13 PM, Jiri jiriheitla...@googlemail.com wrote:
Good point, i can use getPixel to retrieve the color value and based on
that 'know' if it is walkable.
Hittest is to expensive, i try to avoid it at all times.
J
Hans Wichman wrote:
ah no then you'll be fine !
Although if it's just a simple shape, hittest will work as well of course,
depending on the performance you need.
On Mon, Mar 30, 2009 at 1:52 PM, Jiri jiriheitla...@googlemail.com
Hi,
why not use an image? Eg use an image that represents your area, lookup the
pixel values, AND them and decide what you can or cannot do in that area.
greetz JC
On Mon, Mar 30, 2009 at 12:41 PM, Jiri jiriheitla...@googlemail.com wrote:
I have a byte question.
I have to store a walkable
AMFPHP did this really well with result sets too - straight out of the
box like CF.
Muzak wrote:
For database type data, Array of Objects.
Forget about XML.
With Coldfusion (and remoting) you can grab a database query result
and just send that straight to Flash/Flex and it will be
For database type data, Array of Objects.
Forget about XML.
With Coldfusion (and remoting) you can grab a database query result and just send that straight to Flash/Flex and it will be
transformed into an Array of Objects automatically.
In CF it's as simple as:
cfset var rsResult= /
cfquery
Nice one guys, thanks for the response.
Since i'm not at all into Flex, in the video he talks about binding
(and mapping them to ValueObjects).
My question is can i do this with pure AS3?
Cheers,
Sid
On Mar 30, 2009, at 4:23 PM, Glen Pike wrote:
AMFPHP did this really well with result sets
Since i'm not at all into Flex, in the video he talks about binding
(and mapping them to ValueObjects).
My question is can i do this with pure AS3?
You can certainly do Value Objects (which are simply just simple classes
with properties you set and get - anyone can write one), but databinding
Is anyone using shareThis successfully from within Flash/AS3?
If so, could you comment on any problems installing it and/or share any
example websites?
Thanks.
*artur :.*
- *www.artur.com*
- *ar...@artur.com*
- *ph:646.797.3320*
___
Flashcoders
You can set the dataprovider of a DataGrid with a result set from MySQL
or similar.
I have an experiment with AS2 + AMFPHP + datagrid at home, so guessing
that AS3 is similar - will try and find it later if you are interested.
Although you can't do data-binding in the {Flex} way without the
Hi Jason,
Yes i know :) maybe my question was a bit unclear; is there a way I
can accomplish the same thing in pure AS3 without using the data
binding?
Sid
On Mar 30, 2009, at 5:14 PM, Merrill, Jason wrote:
Since i'm not at all into Flex, in the video he talks about binding
(and
AMFPHP did this really well with result sets too - straight out of the
box like CF.
Yeah, that's what I expect Zend AMF to do as well, but I haven't tried it yet.
Maybe I'll take it for a spin this evening if I find the time..
The only *gotcha* with sending query results straight from CF to
If Zend AMF supports mapping, then it should be possible with pure AS3.
Think you'll need to use flash.net.registerClassAlias() to map the AS class to
a PHP class.
http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#registerClassAlias()
That will do the same thing as the Flex
Ok that was my other question. Bouncing back from PHP to AS3 is making me
insane. Thanks for the info. Arrays are def the way to go.
Thanks again, T
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Muzak
photoStrip_mc[thumbnail + I]_mc._width
and
photoStrip_mc.thumbnail[I]_mc._width
won't work.
[] basically serve the purpose of periods they represent
heirarchy, they don't perform an eval() (there is no AS3 equivalent of
AS2's eval() btw).
You were on the right path with:
all the lynda videos pertaining to as3 are free through safaribooks
online's public library access deals.
not to mention tons of free math and comp sci books.
Thank goodness my gf has a library card.
___
Flashcoders mailing list
Ok here is a new one. Is there a way to control the way your swf plays
according to the bandwidth it's getting?
For eg: control how fast FPS your movie plays according to the stream
of info it's getting from the server? If the stream is low play fast
and if the stream is good then play
First you say swf, and yes, controlling the frame rate for an swf is
doable; yet, then you say movie... do you mean movie clip, or stream?
Karl DeSaulniers wrote:
Ok here is a new one. Is there a way to control the way your swf plays
according to the bandwidth it's getting?
For eg: control
Hi,
I'm having a difficult time pulling data out of some JSON I'm
currently working with. The following script is something that I found
online using Adobe's corelib to parse the JSON, but the sample JSON
the guy used was really basic. The one I'm working with has a few
levels. For
26 matches
Mail list logo