[Flashcoders] XML RPC and cross-domain / Flash8

2006-08-15 Thread keitai guy

hi list -

did Flash8 change the policy for movies accessing data across domains?

i have a swf that i want to read XML from a friends website.

can i just ask him to place a cross-domain.xml file there,
or do i have to write a proxy server on my domain to go and suck the
data from his site?

tx!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Bitmap Data in flash + visual basic

2006-08-12 Thread keitai guy

I can give you some code to get started with. mail me off list...

/dc

On 12/08/06, rishi [EMAIL PROTECTED] wrote:

Do we have any relation to Bitmap data in flash and bitmap data in Visual Basic 
6.0. I want to generate a transparent PNG from Bitmap data in flash. Any ideas?


Regards
Rishi

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 8/11/2006

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] flash internal bitmap to PNG format ..

2006-08-11 Thread keitai guy

hi list -

I have extracted some pixels from a bitmapData object... can someone
tip me off how to convert this into a PNG file, or some other simple
high quality format? Ideally i dont want a complex JPG encoder in AS,
just a way to get data out that can be read by photoshop etc.

bitmap.getPixel( --x, y ).toString(16) + | ;

gives this in string format:

ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|
ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|

thanks!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] parsing XML RPC responses in AS...

2006-08-11 Thread keitai guy

hi -

I am trying to display results of a web service app that is returning
data in the XML-RPC format as per below.

This seems very hard to parse in any of the tools  I've found...

XPath seems useless against it since the only thing different is the
_contents_ (value?) of each name node. The node names themselves are
all the same...

Am I missing something? Can anyone suggest better ways to work with
this type of data?


methodResponse
params
param
valuestruct
member
 nameSCRIPT_NAME/name
 valuestring/index.php/string/value
/member
member
 namerequests/name
 value
   struct
  member
 namemsg/name
 valuestring//value

...

membernamec_member/name
valuestruct
membernamec_member_id/name
valuestring2/string/value
/member
membernamenickname/name
valuestringoga/string/value
/member
membernamebirth_year/name
valuestring1982/string/value
/member
membernamebirth_month/name

Thanks!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] grabbing bitmapdata from a vector movieClip...

2006-08-09 Thread keitai guy

Hi List -

using the BitmapData class, its possible to read pixels from the
screen, and save to a file.

However, this only seems to read the pixels that you have drawn into
the bitmap object.

Is there anyway to capture the actual vector data on the screen? eg
other movieclips etc.

What i want is a way to basically do a screen capture, outputting the
SWF /flash data to a file.

thanks,

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] grabbing screen caps in FL8

2006-08-04 Thread keitai guy

hi list -

I need to get bitmaps of some flash content (things the user makes client side).

i guess this is possible with the new bitmap api. does anyone have
tips /examples of this type of thing?

thanks!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] setInterval

2006-07-26 Thread keitai guy

hi list -

i have some weirdness with setInterval, wondering if someone could
suggest solutions?

code:

var intId:Number;
img = new ImageLoader( imgUrl, tgtMc );
intId = setInterval(img, checkLoading, 100 );   // doesnt 
work
intId = setInterval( checkLoadingFunc, 100, img);   // doesnt 
work
trace(setInt= + intId);


however, all i get in all cases is undefined for the intId .

the object is getting created fine...

i also tried setting it within the class itself, still with same problem.
the function is defined before this code in question, in case its a
compiler/precedence issue. but no effect.

have used intervals often before, so maybe there is some weird thing i
never ran afoul of before...

FL8/AS2

thanks!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] setInterval

2006-07-26 Thread keitai guy

hi -

thanks for the help ...


if checkLoading is on the root level, then you would say:
intId = setInterval(_root, checkLoading, 100 );


great, this works. now i'd like to try and get it working inside an object...


The second form is incorrect, no quotes there..

intId = setInterval( this, checkLoading, 100 ); // doesnt work

so - this is wrong?


Why not just use the built in onProgress event in ImageLoader?

good point, but i wanted to write my own stuff first to know whats going on...

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] positioning + anchor points

2006-07-19 Thread keitai guy

hi list-

I am trying to position some MCs on screen, and they seem to get
located based on the top left of the -visible- part of the content.
rather than the anchor point, or axis-point of the symbol itself.

is there a way to control this? ive tried varoius moving the anchor
point around (when i move the little dot in free transform mode).

maybe i'm missing something - what is the behavior meant to be?
or do i have to put a 1 pixel dot in the symbol to force its bounding
box to a certain point?

thanks for help!

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] parsing XML / xpath

2006-07-10 Thread keitai guy

hi list -

are there any popular AS libs out there for walking thru XML?
eg something like xpath - to find a named node...

tx!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loading a symbol (library item) into a new movieClip?

2006-07-09 Thread keitai guy

hiya -

i want to have a movieClip symbol in my library of items, and then
create an instance of this on the stage. is there a function to do
this?

I realize i could put an instance on, and then use duplicate with
the instance name, but i want to get rid of these dependencies on
stuff being onscreen, from the IDE.


while we're at it, why does createEmptyMovieClip need so many params?
if all i need is a handle to the clip, why do i have to make up a
unique name (and make sure its unique)
cant flash just create a dummy unique string id on te fly,
and assume next highest level when its created?
seems odd the programmer has to do this work... simply:

clip = mc.createEmptyMovieClip();

would seem to be adequate... ?

tx for any suggestions...

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] replacing the Library palette?

2006-07-02 Thread keitai guy

Is the FlashIDE library palette actually written in JSFL?

ie, would it be possible to replace this? its the kludgiest part of
the flash UI...

btw is there a way to search for a named symbol and goto it? (much
like eclipse allows you to filter to go to a named resource wtihout
navigating the directory tree..)

/dc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com