Re: [Flashcoders] Video on mobile devices

2005-12-16 Thread Karthik
The Flash Lite 2.0 player will support video.

Links of interest:
http://www.macromedia.com/devnet/devices/
http://www.macromedia.com/mobile/supported_devices/
http://www.macromedia.com/software/flashlite/

hth
-K

On 16/12/05, 8ball Developer [EMAIL PROTECTED] wrote:
 Hi All,

 I'm very new to developing for mobile devices. I'm wondering which devices
 support flash and flash streaming if any. I'm trying to build something like
 http://www.mobitv.com/ to deliver video to cellphones. Is this even possible
 with Flash? Any feedback is much appreciated.

 Thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Crossdomain data exchange

2005-12-16 Thread Roman Blöth

Chris Hill schrieb:
I'd say your best bet is to use Charles to debug the interaction to make 
sure that the domains that you're calling are doing what you expect:


Charles:
http://www.xk72.com/charles/index.php

Tutorial (shameless self-plug)
http://ubergeek.tv/article.php?pid=92

Record the session, and you can usually tell where things go 
pear-shaped. Also, I'm not sure that you can (or should) use * in a 
crossdomain.xml. And there is no issue with using non-www domains.


Thanks for the hints. As so often the user is the cause: The 
crossdomain.xml was stored in the wrong directory - had been in the 
wrong directory, and we didn't recognize it...


And yes, you can use * in this file - simply opening data access to 
all SWFs out there...


Best regards,
Roman.
--

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
---
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-16 Thread Cedric Muller

some bad media for the masses ;)


Thanks, Macromedia!


What is a Macromedia?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







NOTICE:
This message is for the designated recipient only and may contain 
privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. 
Any other use of this e-mail by you is prohibited.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Generate a list with xml

2005-12-16 Thread Stan Sainte-Rose
Hi,

I need to generate a list from an xml file.
I put an example of my need  at http://www.netsunset.com/alist.png
(this example has 2 rows).
Each rows has 2 parts (the first part has a Data and Pic part and the second
has only text)
I ve tried to use the datagrid component but It doesn't work like I want.
I do not have problem with the xml part, but just want to know how can I
generate this kind of list.

I thank you in advance for your help.

Stan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] OT: After Effects and Flash

2005-12-16 Thread John Nack
Hey Jason,

AE also exports SWF.  I did some tutorials for Ultrashock ages ago, but they
may still be of interest; see
http://www.ultrashock.com/tutorials/aftereffects.php.  Realistically, SWF
export is far from an ideal way to exchange data between AE and Flash.
Hopefully this is an area we can improve as we move forward.

Also FWIW, I'm keeping an AE category on my blog:
http://blogs.adobe.com/jnack/after_effects/

J.


 My question is, I would like to know what kinds of things I could
 utilize After Effects for (BESIDES nifty effects in digital video clips,
 obviously), for my Flash work - just some ideas from those of you who
 know it and use it for effects in their Flash projects.


=-=-=-=-=
John Nack
Sr. Product Manager
Adobe Photoshop  Bridge
[EMAIL PROTECTED]




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Generate a list with xml

2005-12-16 Thread Nick Weekes
Ah ok.  In that case you could either create your own MovieClip object that
creates TextArea + Image clips for two rows, or you could use TextArea in
the DataGrid cellRenderer.  
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stan
Sainte-Rose
Sent: 16 December 2005 10:45
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Generate a list with xml

Hi Nick,
I thank you for the link.. but it's not really what I want..
It looks like that.

Each record has to be displayed in two parts
The first part with a background color has a Text data and a Picture on the
right
The second part (that comes after the first part) with another background
color displays text (this text can have different numbers of lines).

The list is the sum of each record.

I m not sure It can be done with the datagrid component or if it can, I dont
know who to do it...

In fact, I suppose (not sure) I have to use a MovieClip that will be
duplicate for each record.

Stan






2005/12/16, Nick Weekes [EMAIL PROTECTED]:

 Dude, whats wrong with the DataGrid?  Seems to be exactly what you want.

 Check out this link for a DataGrid with Images sample:



http://www.actionscript.com/index.php/fw/1/displaying-images-in-a-datagrid-u
 tilizing-a-cell-renderer

 If that isn't what you want, feel free to say why and we'll help further.

 Cheers,

 Nick



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Stan
 Sainte-Rose
 Sent: 16 December 2005 10:20
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Generate a list with xml

 Hi,

 I need to generate a list from an xml file.
 I put an example of my need  at http://www.netsunset.com/alist.png
 (this example has 2 rows).
 Each rows has 2 parts (the first part has a Data and Pic part and the
 second
 has only text)
 I ve tried to use the datagrid component but It doesn't work like I want.
 I do not have problem with the xml part, but just want to know how can I
 generate this kind of list.

 I thank you in advance for your help.

 Stan
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Generate a list with xml

2005-12-16 Thread Stan Sainte-Rose
Ok, but a stupid question do u know how to distribute each MovieClip object
to get a list appearance ?
Stan


2005/12/16, Nick Weekes [EMAIL PROTECTED]:

 Ah ok.  In that case you could either create your own MovieClip object
 that
 creates TextArea + Image clips for two rows, or you could use TextArea in
 the DataGrid cellRenderer.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Stan
 Sainte-Rose
 Sent: 16 December 2005 10:45
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Generate a list with xml

 Hi Nick,
 I thank you for the link.. but it's not really what I want..
 It looks like that.

 Each record has to be displayed in two parts
 The first part with a background color has a Text data and a Picture on
 the
 right
 The second part (that comes after the first part) with another background
 color displays text (this text can have different numbers of lines).

 The list is the sum of each record.

 I m not sure It can be done with the datagrid component or if it can, I
 dont
 know who to do it...

 In fact, I suppose (not sure) I have to use a MovieClip that will be
 duplicate for each record.

 Stan






 2005/12/16, Nick Weekes [EMAIL PROTECTED]:
 
  Dude, whats wrong with the DataGrid?  Seems to be exactly what you want.
 
  Check out this link for a DataGrid with Images sample:
 
 
 

 http://www.actionscript.com/index.php/fw/1/displaying-images-in-a-datagrid-u
  tilizing-a-cell-renderer
 
  If that isn't what you want, feel free to say why and we'll help
 further.
 
  Cheers,
 
  Nick
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Stan
  Sainte-Rose
  Sent: 16 December 2005 10:20
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] Generate a list with xml
 
  Hi,
 
  I need to generate a list from an xml file.
  I put an example of my need  at http://www.netsunset.com/alist.png
  (this example has 2 rows).
  Each rows has 2 parts (the first part has a Data and Pic part and the
  second
  has only text)
  I ve tried to use the datagrid component but It doesn't work like I
 want.
  I do not have problem with the xml part, but just want to know how can I
  generate this kind of list.
 
  I thank you in advance for your help.
 
  Stan
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Eclipse FlashOut Setup Question

2005-12-16 Thread AIP4
I hope this could be usefull : 
http://osflash.org/doku.php?id=getting_started_with_fames


Vincent Aurat
[EMAIL PROTECTED]
phone : +33 (0) 1 64 62 3961
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Robert
Sandie
Envoyé : jeudi 15 décembre 2005 04:09
À : Flashcoders mailing list
Objet : Re: [Flashcoders] Eclipse  FlashOut Setup Question

Sometimes its the simple things. Just had to -clean the directory.

Also found a fairly useful tool for generating actionscript with UML:
http://www.darronschall.com/weblog/archives/000174.cfm


Robert Sandie wrote:

 Making the switch from SEPY to Eclipse and am having an issue with 
 Eclipse V3.1.1 and FlashOut. Everything is setup including MTASC and 
 ASDT but FlashOut is not showing up in the preferences bar. I 
 downloaded the FlashOut Package and unzipped the 
 com.patapenko.flashout_0.1.6 package in eclipse\plugins directory. Am 
 I missing a step here? Anyone else getting this?

 Also another question: With Eclipse does anyone generate Actionscript 
 classes based off the UML plugins inside of the Eclipse environment?

 Thanks!!



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Dieses E-Mail ist vertraulich. Wenn Sie nicht der rechtmaessige Empfaenger
sind, duerfen Sie den Inhalt weder kopieren, verbreiten oder benutzen.
Sollten Sie dieses E-Mail versehentlich erhalten haben, senden Sie es bitte
an uns zurueck und loeschen es anschliessend. 
This E-Mail is confidential. If you are not the intended recipient, you must
not copy, disclose or use its contents. If you have received it in error,
please inform us immediately by return E-Mail and delete the document. 
Esta mensagem, e qualquer de seus anexos, eh confidencial e privilegiada.
Caso voce nao seja o destinatario, nao esta autorizado a reproduzir ou
divulgar a terceiros o conteudo desta mensagem e de qualquer anexo da mesma
e deve apagar com os seus respectivos anexos. 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Play an FLV in recerse using FLVPlayback components

2005-12-16 Thread Matt Muller
Anyone figured out how?

cheers

MaTT
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Freelance Developer Job: London, Covent Garden

2005-12-16 Thread Lucy Thomson
HI all,

Please excuse the job post, but my company is urgently looking for a
freelance developer to start early January. See the details below,

cheers,
Lucy


--

Digital Outlook are an award winning new media agency based in Covent Garden
and are looking for a freelance developer to start a one month contract in
early January. The project will be developing a templated, dynamic,
multilingual entertainment portal for a high profile company.

Skills required: Flash Actionscripting, XML. Working with our in-house
design team, you must also have a good eye for detail, be able to manage
your time effectively and be a good communicator.

Please send CVs, links to relevant examples and rates to
[EMAIL PROTECTED]
www.digital-outlook.com

--
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] WinXP SP2 Remote debugging

2005-12-16 Thread Pranav Negandhi (Fractal Ink)
Has anyone faced issues with the remote debugger not working after 
installing WinXP SP2? I read up a few technotes, which indicate that 
putting Flash MX in the exceptions list will enable remote debugging 
again. But it doesn't seem to work here. Clues...clues...clues?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] advanced array functions in as2

2005-12-16 Thread GregoryN
Hello Flashcoders,

  Sometimes I'd like to use advanced array functions like those in,
  say, PHP: in_array (check array for having a value),
  array_unique (delete duplicates) etc.

  For now, I use my own ones. Example:
  
function my_in_array(needle:String, haystack:Array):Boolean{
if(haystack.toString().indexOf(needle) == -1){
return true;
}else{
return false;
}   
}

  Frankly, I'm not sure if this is the best/fastest way for such
  tasks: needle needs to be a string type.

  Does anyone have info or ideas on this?


-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Mendelsohn, Michael
Hi list...

I have a button and a clickable movie clip where their code only works
if you move the mouse slightly before a second click.  In other words,
if you click them more than once while keeping the mouse stationary, the
code only fires the first time, but if you move the mouse slightly after
each click, the code fires each time.  What is causing this?

Thanks,
- Michael M.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] advanced array functions in as2

2005-12-16 Thread eric dolecki
Guy Watson:

Array.prototype.in_array=function(value){
for(var z=0;zthis.length;++z){
if(this[z] == value){
return true
}   
}
return false
}


Also found this @ layer51.com/proto:

  msg3 { *k-zimir* [+] http://www.layer51.com/proto/up.aspx?u=k-zimir,
posted: 10.22.02 9a•-, top [^]
http://www.layer51.com/proto/d.aspx?f=6# } except using a while
loop, this returns the position if found and -1 if
not.. might be little handsomer sometimes.

Array.prototype.in_array=function(value){
var l;
l = this.length;
while(l--)
{
if(this[l] == value){
return l;
}
}
return -1;
}

Of course you could rewrite the above to make them AS2. There are tons of
Array prototypes to be found there. (www.layer51.com/proto)

edolecki

On 12/16/05, GregoryN [EMAIL PROTECTED] wrote:

 Hello Flashcoders,

   Sometimes I'd like to use advanced array functions like those in,
   say, PHP: in_array (check array for having a value),
   array_unique (delete duplicates) etc.

   For now, I use my own ones. Example:

 function my_in_array(needle:String, haystack:Array):Boolean{
 if(haystack.toString().indexOf(needle) == -1){
 return true;
 }else{
 return false;
 }
 }

   Frankly, I'm not sure if this is the best/fastest way for such
   tasks: needle needs to be a string type.

   Does anyone have info or ideas on this?


 --
 Best regards,
 GregoryN
 
 http://GOusable.com
 Flash components development.
 Usability services.


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] advanced array functions in as2

2005-12-16 Thread eric dolecki
On 12/16/05, eric dolecki [EMAIL PROTECTED] wrote:

 Guy Watson:

 Array.prototype.in_array=function(value){
   for(var z=0;zthis.length;++z){
   if(this[z] == value){
   return true
   }   
   }
   return false
 }


 Also found this @ layer51.com/proto:

   msg3 { *k-zimir* [+] http://www.layer51.com/proto/up.aspx?u=k-zimir,
 posted: 10.22.02 9a•-, top [^] http://www.layer51.com/proto/d.aspx?f=6#} 
 except using a while loop, this returns the position if found and -1 if
 not.. might be little handsomer sometimes.

 Array.prototype.in_array=function(value){
 var l;
 l = this.length;
 while(l--)
 {
 if(this[l] == value){
 return l;
 }
 }
 return -1;
 }

 Of course you could rewrite the above to make them AS2. There are tons of
 Array prototypes to be found there. (www.layer51.com/proto)

 edolecki

 On 12/16/05, GregoryN [EMAIL PROTECTED] wrote:
 
  Hello Flashcoders,
 
Sometimes I'd like to use advanced array functions like those in,
say, PHP: in_array (check array for having a value),
array_unique (delete duplicates) etc.
 
For now, I use my own ones. Example:
 
  function my_in_array(needle:String, haystack:Array):Boolean{
  if(haystack.toString().indexOf(needle) == -1){
  return true;
  }else{
  return false;
  }
  }
 
Frankly, I'm not sure if this is the best/fastest way for such
tasks: needle needs to be a string type.
 
Does anyone have info or ideas on this?
 
 
  --
  Best regards,
  GregoryN
  
  http://GOusable.com
  Flash components development.
  Usability services.
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Robert Chyko
I have run into something similar in the past.

Try using something like:
Selection.setFocus(myButton);
At the end of your code that handles the click.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mendelsohn, Michael
Sent: Friday, December 16, 2005 9:17 AM
To: Flashcoders mailing list
Subject: [Flashcoders] No consecutive onRelease() events?


Hi list...

I have a button and a clickable movie clip where their code only works
if you move the mouse slightly before a second click.  In other words,
if you click them more than once while keeping the mouse stationary, the
code only fires the first time, but if you move the mouse slightly after
each click, the code fires each time.  What is causing this?

Thanks,
- Michael M.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Problems with XML

2005-12-16 Thread Jose Maria Barros
Im having some problems loading an XML file into flash. The client
inserts in the databse some elements and then an ASP page creates the
xml file and flash reads it.

The problem is that sometimes the flash tells me undefined

i go to the database and the data is there..but in xml file it isnt.

There are some other sections of the website that uses the same
method, and its working good...

here have too URLs(one empty and other with info)

http://www.celeiro-dieta.pt/ementa2.xml
http://www.celeiro-dieta.pt/ementa.xml

Here is the code that i use in flash:

//XML


ementa_xml = new XML();
_root.myEmenta = new Array();
ementa_xml.load(ementa2.xml);
ementa_xml.onLoad = startEmenta;
ementa_xml.ignoreWhite = true;
_root.main11.ementa_txt = ;


function startEmenta(success_ementa) {

if (success_ementa == true) {
rootNode_ementa = ementa_xml.firstChild;
totalEmenta = rootNode_ementa.childNodes.length;
firstEmenta = rootNode_ementa.firstChild;
currentEmenta = firstEmenta;
tituloEmenta = currentEmenta.attributes.titulo_ementa;
currentIndex_ementa = 1;
dia_ementa = parseInt(currentEmenta.attributes.Dia,10);
dia_txt.text = dias[dia_ementa];
_root.main11.ementa_txt = _root.main11.ementa_txt+font
color='#328828' size='12'b+tituloEmenta+/b/fontbr;

for (a=1; a=totalEmenta; a++) {
if (tituloEmenta != undefined) {
if ((tituloEmenta) == 
(currentEmenta.attributes.titulo_ementa)) {
_root.main11.ementa_txt =
_root.main11.ementa_txt+currentEmenta.attributes.texto_ementa+br;
} else {
tituloEmenta = 
currentEmenta.attributes.titulo_ementa;
_root.main11.ementa_txt = 
_root.main11.ementa_txt+font
color='#328828'
size='12'b+currentEmenta.attributes.titulo_ementa+/b/fontbr+currentEmenta.attributes.texto_ementa+br;
}
}
currentEmenta = currentEmenta.nextSibling;
_root.main11.caixa._height += 100;
}
}
}
///XML END
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problems with XML

2005-12-16 Thread Roman Blöth

Jose Maria Barros schrieb:

Im having some problems loading an XML file into flash. The client
inserts in the databse some elements and then an ASP page creates the
xml file and flash reads it.

[..]

Here is the code that i use in flash:

//XML


ementa_xml = new XML();
_root.myEmenta = new Array();
ementa_xml.load(ementa2.xml);
ementa_xml.onLoad = startEmenta;
ementa_xml.ignoreWhite = true;
_root.main11.ementa_txt = ;
Here is a problem: You define the XML.onLoad-action AFTER loading the 
XML. In any way you must define


ementa_xml.onLoad = startEmenta;

before you call

ementa_xml.load(ementa2.xml);



Regards,
Roman.
--

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
---
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Generate a list with xml

2005-12-16 Thread Merrill, Jason
Ok, but a stupid question do u know how to distribute each MovieClip
object
to get a list appearance ?

Been frustrated with DataGrid in a past project, been leary of it ever
since - I'm probably a wuss, but instead I made my own data grid using
Movie Clips and a scroll pane and it's been working great.  This is a
working draft - not finished - and you'll need to click through some
javascript dialog boxes first, but see the grid in the planner tab:

http://cmt.icfconsulting.com/CDRH/DiscoveryPortal%20Source%20Code/Flash/
version4/DiscoveryPortal.html

Here's part of the script that creates and positions the rows  - based
on XML data (XPath): 

function createPlannerGrid(target_mc:MovieClip, title:String, x:Number,
y:Number, width:Number, height:Number):Array {
var Rows:Array = new Array();
target_mc.attachMovie(rowTitles_mc, rowTitles_mc, 1);
target_mc.rowTitles_mc._x =
parseInt(XPath.selectNodes(session.data.xmlFiles[config_xml],
config/planner/[EMAIL PROTECTED]));
target_mc.rowTitles_mc._y =
parseInt(XPath.selectNodes(session.data.xmlFiles[config_xml],
config/planner/[EMAIL PROTECTED]));
target_mc.createClassObject(mx.containers.ScrollPane,
items_sp, 10);
target_mc.items_sp.contentPath = blank_mc;
var numRows:Number =
XPath.selectNodes(session.data.xmlFiles[tasks_xml],
tasks/task).length;
for (var i:Number = 0; inumRows; i++) {
var thisRow:MovieClip =
target_mc.items_sp.content.attachMovie(plannerRow_mc, row+i+_mc,
i+11);
Rows.push(thisRow);
if (i0) {
thisRow._y = Rows[i-1]._y+20; //position the
rows
}
if (i%2 == 0) {
thisRow.gotoAndStop(2); //alternate the row
colors
}
}
target_mc.items_sp.move(x, y);
target_mc.items_sp.setSize(width, height);
return Rows;
}

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] advanced array functions in as2

2005-12-16 Thread Alessandro Crugnola
the problem with those functions based on the array length is that they 
couldn't work with an associative array such as:


var test:Array = new Array()
test['foo'] = 1;

eric dolecki wrote:

On 12/16/05, eric dolecki [EMAIL PROTECTED] wrote:

Guy Watson:

Array.prototype.in_array=function(value){
for(var z=0;zthis.length;++z){
if(this[z] == value){
return true
}   
}
return false
}


Also found this @ layer51.com/proto:

  msg3 { *k-zimir* [+] http://www.layer51.com/proto/up.aspx?u=k-zimir,
posted: 10.22.02 9a•-, top [^] http://www.layer51.com/proto/d.aspx?f=6#} 
except using a while loop, this returns the position if found and -1 if
not.. might be little handsomer sometimes.

Array.prototype.in_array=function(value){
var l;
l = this.length;
while(l--)
{
if(this[l] == value){
return l;
}
}
return -1;
}

Of course you could rewrite the above to make them AS2. There are tons of
Array prototypes to be found there. (www.layer51.com/proto)

edolecki

On 12/16/05, GregoryN [EMAIL PROTECTED] wrote:

Hello Flashcoders,

  Sometimes I'd like to use advanced array functions like those in,
  say, PHP: in_array (check array for having a value),
  array_unique (delete duplicates) etc.

  For now, I use my own ones. Example:

function my_in_array(needle:String, haystack:Array):Boolean{
if(haystack.toString().indexOf(needle) == -1){
return true;
}else{
return false;
}
}

  Frankly, I'm not sure if this is the best/fastest way for such
  tasks: needle needs to be a string type.

  Does anyone have info or ideas on this?


--
Best regards,
GregoryN

http://GOusable.com
Flash components development.
Usability services.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Alessandro Crugnola
Flash | PHP | Python Developer

http://www.blumerstudio.com
http://www.sephiroth.it

+39 3939402645
+39 0236522445
--

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Generate a list with xml

2005-12-16 Thread Stan Sainte-Rose
Jason,

I think it's the idea... I will think about it.
A stupid question, do you think using this concept, I ll be able to have row
with different heights ?

Thanks..
Stan


2005/12/16, Merrill, Jason [EMAIL PROTECTED]:

 Ok, but a stupid question do u know how to distribute each MovieClip
 object
 to get a list appearance ?

 Been frustrated with DataGrid in a past project, been leary of it ever
 since - I'm probably a wuss, but instead I made my own data grid using
 Movie Clips and a scroll pane and it's been working great.  This is a
 working draft - not finished - and you'll need to click through some
 javascript dialog boxes first, but see the grid in the planner tab:

 http://cmt.icfconsulting.com/CDRH/DiscoveryPortal%20Source%20Code/Flash/
 version4/DiscoveryPortal.html

 Here's part of the script that creates and positions the rows  - based
 on XML data (XPath):

 function createPlannerGrid(target_mc:MovieClip, title:String, x:Number,
 y:Number, width:Number, height:Number):Array {
var Rows:Array = new Array();
target_mc.attachMovie(rowTitles_mc, rowTitles_mc, 1);
target_mc.rowTitles_mc._x =
 parseInt(XPath.selectNodes(session.data.xmlFiles[config_xml],
 config/planner/[EMAIL PROTECTED]));
target_mc.rowTitles_mc._y =
 parseInt(XPath.selectNodes(session.data.xmlFiles[config_xml],
 config/planner/[EMAIL PROTECTED]));
target_mc.createClassObject(mx.containers.ScrollPane,
 items_sp, 10);
target_mc.items_sp.contentPath = blank_mc;
var numRows:Number =
 XPath.selectNodes(session.data.xmlFiles[tasks_xml],
 tasks/task).length;
for (var i:Number = 0; inumRows; i++) {
var thisRow:MovieClip =
 target_mc.items_sp.content.attachMovie(plannerRow_mc, row+i+_mc,
 i+11);
Rows.push(thisRow);
if (i0) {
thisRow._y = Rows[i-1]._y+20; //position the
 rows
}
if (i%2 == 0) {
thisRow.gotoAndStop(2); //alternate the row
 colors
}
}
target_mc.items_sp.move(x, y);
target_mc.items_sp.setSize(width, height);
return Rows;
 }

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







 NOTICE:
 This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received it in error,
 please notify the sender immediately and delete the original. Any other use
 of this e-mail by you is prohibited.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Video on mobile devices

2005-12-16 Thread Joe Cutting



The Flash Lite 2.0 player will support video.

Links of interest:
http://www.macromedia.com/devnet/devices/
http://www.macromedia.com/mobile/supported_devices/
http://www.macromedia.com/software/flashlite/

hth
-K


Now I looked at this and as far as I can see
- FlashLite 1.1 is only supported by phones in Japan plus a single 
phone in EMEA where ever that is.
- FlashLite 2.0 which looks much more useful isn't supported by any 
phones at all.


I even looked at the Nokia site and found the specs for the phones 
they're planning on releasing in 2006 (in the UK)- no mention of Flash.


So it seems that Flash Lite 2.0 is all very nice but unless you live 
in Japan isn't actually installed on any phones.


Or have I got the wrong end of the stick? If anyone else knows 
differently I'd love to hear about.


Joe





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Mendelsohn, Michael
Thanks for the link, Lanny.  However, unlike the article, in my
situation, it's not a textField component keeping focus, but a comboBox.
Adding Selection.setFocus(this) to the on(release) function of my button
still isn't clearing out focus from the comboBox.  Am I missing
something?

I'm trying the following code on the button, where a comboBox component
is on the stage at the same time:

on (release) {
trace(hello  + Math.random());
Selection.setFocus(this);
}

on (press, releaseOutside, rollOver, rollOut) {
// just for fun, I'm adding this function, but it's not working
either.
Selection.setFocus(this);
}

Thanks,
- MM

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Reopen: vertical aligned dynamic text

2005-12-16 Thread Apostolos Manolitzas
Hi all,

I found the following solution

vAlign = (myTextField._height-myTextField.textHeight)/2;
myTextField._y+=vAlign;

But my tween is created by the Flash MX IDE, so when I apply this to myTextField
the tween isn't executed.

Does anyone have a trick to vertical align the text in the Textfield,
and have the tween
executed as it is now?

thx in advance,
Apo
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problems with XML

2005-12-16 Thread Jose Maria Barros
Well...ive changed that to test..but i put like you said again...and
the problem still persists.

On 12/16/05, Roman Blöth [EMAIL PROTECTED] wrote:
 Jose Maria Barros schrieb:
  Im having some problems loading an XML file into flash. The client
  inserts in the databse some elements and then an ASP page creates the
  xml file and flash reads it.
 [..]
  Here is the code that i use in flash:
 
  //XML
 
 
  ementa_xml = new XML();
  _root.myEmenta = new Array();
  ementa_xml.load(ementa2.xml);
  ementa_xml.onLoad = startEmenta;
  ementa_xml.ignoreWhite = true;
  _root.main11.ementa_txt = ;
 Here is a problem: You define the XML.onLoad-action AFTER loading the
 XML. In any way you must define

 ementa_xml.onLoad = startEmenta;

 before you call

 ementa_xml.load(ementa2.xml);



 Regards,
 Roman.
 --

 ---
   gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
   t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
 ---
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Generate a list with xml

2005-12-16 Thread Merrill, Jason
Sure - that's what I like about doing it that way - each row is a movie
clip, so you can size each row however you like - the next row's
position is based on the previous row's _y + _height - so they are
positioned correctly.

May not be the best solution as far as processor requirements, but it
does the job and offers more flexibility in my opinion.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Stan Sainte-Rose
Sent: Friday, December 16, 2005 11:51 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Generate a list with xml

Jason,

I think it's the idea... I will think about it.
A stupid question, do you think using this concept, I ll be able to
have row
with different heights ?

Thanks..
Stan


2005/12/16, Merrill, Jason [EMAIL PROTECTED]:

 Ok, but a stupid question do u know how to distribute each
MovieClip
 object
 to get a list appearance ?

 Been frustrated with DataGrid in a past project, been leary of it
ever
 since - I'm probably a wuss, but instead I made my own data grid
using
 Movie Clips and a scroll pane and it's been working great.  This is
a
 working draft - not finished - and you'll need to click through some
 javascript dialog boxes first, but see the grid in the planner
tab:


http://cmt.icfconsulting.com/CDRH/DiscoveryPortal%20Source%20Code/Flash/
 version4/DiscoveryPortal.html

 Here's part of the script that creates and positions the rows  -
based
 on XML data (XPath):

 function createPlannerGrid(target_mc:MovieClip, title:String,
x:Number,
 y:Number, width:Number, height:Number):Array {
var Rows:Array = new Array();
target_mc.attachMovie(rowTitles_mc, rowTitles_mc, 1);
target_mc.rowTitles_mc._x =
 parseInt(XPath.selectNodes(session.data.xmlFiles[config_xml],
 config/planner/[EMAIL PROTECTED]));
target_mc.rowTitles_mc._y =
 parseInt(XPath.selectNodes(session.data.xmlFiles[config_xml],
 config/planner/[EMAIL PROTECTED]));
target_mc.createClassObject(mx.containers.ScrollPane,
 items_sp, 10);
target_mc.items_sp.contentPath = blank_mc;
var numRows:Number =
 XPath.selectNodes(session.data.xmlFiles[tasks_xml],
 tasks/task).length;
for (var i:Number = 0; inumRows; i++) {
var thisRow:MovieClip =
 target_mc.items_sp.content.attachMovie(plannerRow_mc,
row+i+_mc,
 i+11);
Rows.push(thisRow);
if (i0) {
thisRow._y = Rows[i-1]._y+20; //position the
 rows
}
if (i%2 == 0) {
thisRow.gotoAndStop(2); //alternate the row
 colors
}
}
target_mc.items_sp.move(x, y);
target_mc.items_sp.setSize(width, height);
return Rows;
 }

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







 NOTICE:
 This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received it in
error,
 please notify the sender immediately and delete the original. Any
other use
 of this e-mail by you is prohibited.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Robert Chyko
Are you using the Button component, or a button symbol?

And that code is just being attached right to the button it seems.. Is
that correct?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mendelsohn, Michael
Sent: Friday, December 16, 2005 11:59 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] No consecutive onRelease() events?


Thanks for the link, Lanny.  However, unlike the article, in my
situation, it's not a textField component keeping focus, but a comboBox.
Adding Selection.setFocus(this) to the on(release) function of my button
still isn't clearing out focus from the comboBox.  Am I missing
something?

I'm trying the following code on the button, where a comboBox component
is on the stage at the same time:

on (release) {
trace(hello  + Math.random());
Selection.setFocus(this);
}

on (press, releaseOutside, rollOver, rollOut) {
// just for fun, I'm adding this function, but it's not working
either.
Selection.setFocus(this);
}

Thanks,
- MM

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Video on mobile devices

2005-12-16 Thread Weyert de Boer
 Now I looked at this and as far as I can see
 - FlashLite 1.1 is only supported by phones in Japan plus a single
 phone in EMEA where ever that is.

EMEA stands for Europe, Middle East and Africa :-)


 I even looked at the Nokia site and found the specs for the phones
 they're planning on releasing in 2006 (in the UK)- no mention of Flash.
 So it seems that Flash Lite 2.0 is all very nice but unless you live
 in Japan isn't actually installed on any phones.

You might be correct that Nokia doesn't mention that some of their phones
will support Flash Lite. For example, most Symbian based mobile phones
should be able to run the Flash Lite 1.x, logically these phones will also
be able to run Flash Lite 2.0 too. If you look at Nokia popular phones
such as the 6680, 6681 and the new N-serie all are Symbian based and run
Flash Lite 1.1 nicely.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Video on mobile devices

2005-12-16 Thread 8ball Developer
Thanks Karthik,

So as Joe mentions no devices really support Flash lite 2 in the US which is
my target. Is that the case? Does this mean I have to look at J2ME?

Thanks


On 12/16/05, Karthik [EMAIL PROTECTED] wrote:


 http://www.macromedia.com/devnet/devices/articles/flashlite_v2_preview.html

 is a little more comprehensive..

 -K

 On 16/12/05, Karthik [EMAIL PROTECTED] wrote:
  The Flash Lite 2.0 player will support video.
 
  Links of interest:
  http://www.macromedia.com/devnet/devices/
  http://www.macromedia.com/mobile/supported_devices/
  http://www.macromedia.com/software/flashlite/
 
  hth
  -K
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problems with XML

2005-12-16 Thread Apostolos Manolitzas
  [..]
   Here is the code that i use in flash:
  
   //XML
  
  
   ementa_xml = new XML();
   _root.myEmenta = new Array();
   ementa_xml.load(ementa2.xml);
   ementa_xml.onLoad = startEmenta;
   ementa_xml.ignoreWhite = true;
   _root.main11.ementa_txt = ;
  Here is a problem: You define the XML.onLoad-action AFTER loading the
  XML. In any way you must define
 
  ementa_xml.onLoad = startEmenta;
 
  before you call
 
  ementa_xml.load(ementa2.xml);
 
 

Hi,

try using an example like this:

// taken from: http://www.kirupa.com/web/xml/XMLspecificIssues3.htm
import mx.utils.Delegate;
class foo {
  var xmlData:XML;
function loadXML(_xmlurl:String) {
xmlData = new XML();
var classRef:Object = this;
xmlData.ignoreWhite = true;
xmlData.onLoad = Delegate.create(this, parseXML);
xmlData.load(_xmlurl);
}
function parseXML() {
trace(xmlData.toString());
}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Reopen: vertical aligned dynamic text

2005-12-16 Thread Apostolos Manolitzas
The tween is a simple motion. (move from one position to another (x1,y1) --
(x2, y1) of course with the help of flash ide).
And I do the alignment after the assignment since I need the
myTextField.textHeight.
But still, it seems that the TextField loses the animation properties.


-Apost


On 12/16/05, Marc Hoffman [EMAIL PROTECTED] wrote:

 What tween are you talking about?

 If you just want the text positioned, make sure you align it after
 assigning the text to the field.

 - Marc

 At 09:01 AM 12/16/2005, you wrote:

 Hi all,
 
 I found the following solution
 
 vAlign = (myTextField._height-myTextField.textHeight)/2;
 myTextField._y+=vAlign;
 
 But my tween is created by the Flash MX IDE, so when I apply this to
 myTextField
 the tween isn't executed.
 
 Does anyone have a trick to vertical align the text in the Textfield,
 and have the tween
 executed as it is now?
 
 thx in advance,
 Apo


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Mendelsohn, Michael
Yes, it's just a plain old button.  The code is attached right to the
button.






 Are you using the Button component, or a button symbol?

And that code is just being attached right to the button it seems.. Is
that correct?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] advanced array functions in as2

2005-12-16 Thread GregoryN
Eric,
Thank a lot for link to this great site :-).

As for in_array, aren't string-based functions like mine faster than
these loops?
 I especially like this:

=  author: lochie [+], Submitted: 10.17.02 1a =
Array.prototype.find = function(n, lookwithin) {
if (lookwithin) {
var ex = ;
} else {
var ex = ^;
}
return (^+this.join(^)+^).split(ex+n+ex).length1;
};
=

-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.

On 12/16/05, eric dolecki [EMAIL PROTECTED] wrote:

 Guy Watson:

 Array.prototype.in_array=function(value){
   for(var z=0;zthis.length;++z){
   if(this[z] == value){
   return true
   }   
   }
   return false
 }


 Also found this @ layer51.com/proto:

   msg3 { *k-zimir* [+] http://www.layer51.com/proto/up.aspx?u=k-zimir,
 posted: 10.22.02 9a∙-, top [^] http://www.layer51.com/proto/d.aspx?f=6#} 
 except using a while loop,
 this returns the position if found and -1 if
 not.. might be little handsomer sometimes.

 Array.prototype.in_array=function(value){
 var l;
 l = this.length;
 while(l--)
 {
 if(this[l] == value){
 return l;
 }
 }
 return -1;
 }

 Of course you could rewrite the above to make them AS2. There are tons of
 Array prototypes to be found there. (www.layer51.com/proto)

 edolecki


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problems with XML

2005-12-16 Thread Jose Maria Barros
Thanks for the help Apostolos.

But the problem is somewhere in the asp page...



On 12/16/05, Apostolos Manolitzas [EMAIL PROTECTED] wrote:
   [..]
Here is the code that i use in flash:
   
//XML
   
   
ementa_xml = new XML();
_root.myEmenta = new Array();
ementa_xml.load(ementa2.xml);
ementa_xml.onLoad = startEmenta;
ementa_xml.ignoreWhite = true;
_root.main11.ementa_txt = ;
   Here is a problem: You define the XML.onLoad-action AFTER loading the
   XML. In any way you must define
  
   ementa_xml.onLoad = startEmenta;
  
   before you call
  
   ementa_xml.load(ementa2.xml);
  
  

 Hi,

 try using an example like this:

 // taken from: http://www.kirupa.com/web/xml/XMLspecificIssues3.htm
 import mx.utils.Delegate;
 class foo {
   var xmlData:XML;
 function loadXML(_xmlurl:String) {
 xmlData = new XML();
 var classRef:Object = this;
 xmlData.ignoreWhite = true;
 xmlData.onLoad = Delegate.create(this, parseXML);
 xmlData.load(_xmlurl);
 }
 function parseXML() {
 trace(xmlData.toString());
 }
 }
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] BitmapData.draw and FLV's

2005-12-16 Thread John Grden
Well, I *thought* had it working, but I hadn't realized that it was only
working in the IDE player ;(

Basically, I'm having the same issue Lori mentioned.  I'm running it localy
and in the IDE, it works.  But in the player, it no worky.

All relative file locations - nothing unsecure about it.

I found this on MM's site (Sorry, Adobe's ;):

Snapshots

One of the great features of the BitmapData class is the ability to take a
snapshot of the visual state of anything that has an instance name as a
bitmap, such as movie clips, video objects, and text fields. This also makes
it possible to create a freeze-frame of streaming video, webcams, or a movie
clip.

I'm doing a progressive download of an FLV and I can't get it to draw.  I
was using the FLVPlayer component, and then I tried a generic video
container with basic NetStream code.  Just a white box is the result.

The weird thing is, I did this same idea way back using copyPixels.  It's
playing FLVs loaded from the server and there's no issue.

http://johngrden.blitzds.com/Puzzaz/8ball/Puzzaz.html
If anyone cares to try it out with the test I'm running, here you go:
http://www.acmewebworks.com/Downloads/BitmapData_FLVPlayer_Issue.zip

Can anyone at Adobe alleviate my suffering and just tell me if this is or
isn't possible?

--
John Grden - Blitz
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Reopen: vertical aligned dynamic text

2005-12-16 Thread Marc Hoffman

Make sure the characters are embedded.

At 09:44 AM 12/16/2005, you wrote:

The tween is a simple motion. (move from one position to another (x1,y1) --
(x2, y1) of course with the help of flash ide).
And I do the alignment after the assignment since I need the
myTextField.textHeight.
But still, it seems that the TextField loses the animation properties.


-Apost



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] BitmapData.draw and FLV's

2005-12-16 Thread Jordan L. Chilcott
I just tried it on my players as well as in Safari (Mac) as well as  
Firefox (PC) and it works fine (8.0.22). I'm wondering if there's an  
issue with your player, as I encountered the same situation with a  
wonky player with another person.


I don't see anything overly peculiar with your code, although I  
usually attach the BitmapData object to a different level in the MC.


jord

On Dec 16, 2005, at 3:17 PM, John Grden wrote:

I'm doing a progressive download of an FLV and I can't get it to  
draw.  I

was using the FLVPlayer component, and then I tried a generic video
container with basic NetStream code.  Just a white box is the result.

The weird thing is, I did this same idea way back using  
copyPixels.  It's

playing FLVs loaded from the server and there's no issue.

http://johngrden.blitzds.com/Puzzaz/8ball/Puzzaz.html
If anyone cares to try it out with the test I'm running, here you go:
http://www.acmewebworks.com/Downloads/BitmapData_FLVPlayer_Issue.zip

Can anyone at Adobe alleviate my suffering and just tell me if this  
is or

isn't possible?


--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: Building Web Sites with Macromedia Studio MX
Author: Building Dynamic Web Sites with Macromedia Studio MX
Author: Flash Professional 8: Training From the Source


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] BitmapData.draw and FLV's

2005-12-16 Thread Lori Hutchek
I'm having the same problem as Jordon. But It's with Flash 7 video using
netstream. I have version 8.0.22.0 of the plugin and it shows up as a
white box when I try and do a draw command on something that has FCS
video.

Lori-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jordan
L. Chilcott
Sent: Friday, December 16, 2005 4:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] BitmapData.draw and FLV's

I just tried it on my players as well as in Safari (Mac) as well as  
Firefox (PC) and it works fine (8.0.22). I'm wondering if there's an  
issue with your player, as I encountered the same situation with a  
wonky player with another person.

I don't see anything overly peculiar with your code, although I  
usually attach the BitmapData object to a different level in the MC.

jord

On Dec 16, 2005, at 3:17 PM, John Grden wrote:

 I'm doing a progressive download of an FLV and I can't get it to  
 draw.  I
 was using the FLVPlayer component, and then I tried a generic video
 container with basic NetStream code.  Just a white box is the result.

 The weird thing is, I did this same idea way back using  
 copyPixels.  It's
 playing FLVs loaded from the server and there's no issue.

 http://johngrden.blitzds.com/Puzzaz/8ball/Puzzaz.html
 If anyone cares to try it out with the test I'm running, here you go:
 http://www.acmewebworks.com/Downloads/BitmapData_FLVPlayer_Issue.zip

 Can anyone at Adobe alleviate my suffering and just tell me if this  
 is or
 isn't possible?

-- 
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: Building Web Sites with Macromedia Studio MX
Author: Building Dynamic Web Sites with Macromedia Studio MX
Author: Flash Professional 8: Training From the Source


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Desktop Projector and Obfuscator

2005-12-16 Thread MyName
Hi flash coders,

My project will be published as stand-alone desktop projector (exe) file. I 
believe a swf projector file can still be decompiled by many swf decompilers 
out there. Does anyone know a AS obfuscator that can handle projector file 
directly? Or should I take another approach to protect my code? Any 
suggestions? Many thanks in advance.

Doug

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Non-corporate Designers/Developers needed

2005-12-16 Thread Beth Cooper

Hi all -

Looking for multiple Flash interface designers/developers that have a 
non-corporate creative style.  Think gaming style and high creative 
production values.   Must have design/interface talent with a full 
command of actionscript.  Multiple sites targeted at 15-18 year-old 
males.


Must be able to work at a fast pace and be 
reliable/responsible/respectful of production schedules and 
deadlines.  Projects will begin in February 2006.


Interested folks should email links to portfolio/samples, resume and 
contact info to mailto:[EMAIL PROTECTED][EMAIL PROTECTED]


Thanks,
Beth
--
Beth Cooper
Principal
Digital Positions, Inc.
Email: [EMAIL PROTECTED]
Direct 404.351.9255
Main: 404.351.2366
Fax: 404.351.4055
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] TESTPOST

2005-12-16 Thread clark slater
Probs posting to the list, just testing.

Clark
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] (CAKE or FuseBox) + AMF ??

2005-12-16 Thread Wade Arnold
After standardizing our flash practices for developing RIA we are 
looking to a platform for server side integration. To date we have 
just used AMF services and created classes that then could be consumed 
via remoting. We are now running into issues:


+ Maintaining server side application code for legacy applications. PHP 
V3 - PHP 4.* - PHP 5*
+ Documentation that is specific to a project when  code functionality 
is not specific to the application.

+ Large learning curve for new staff members.
+ Lack of any list or forum for support, such as this list for Flash.

 The idea is that by moving to CAKE or Fuzebox we can leverage the 
existing work and of course aid to the projects.  Anyone on the list 
worked with these technologies and their integration with flash via 
AMF? I saw that Patrick Mineault (AMFPHP fame) posted to his blog about 
some of these technologies today and the future integration with 
AMFPHP.


Thanks for any insight, rants, experiences, etc that you may have had.

Wade Arnold
T8DESIGN

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] double byte character sets

2005-12-16 Thread nik crosina
triple byte?
looks likle I have my research and development to develop the tech
architecture for this project.

And if I understand correctly, you are saying that someone in China could
then use NotePad (for e.g of a simple text editor) and save a file in
unicode using chinese characters, and when Flash loads this into a dynamic
text field it will display the chinese characters without a problem?

Halleluja! Why did Director not do this years ago

Thanks

Nik C


On 12/15/05, Morten Barklund Shockwaved [EMAIL PROTECTED]
wrote:

 nik crosina wrote:
  Has anybody worked with Flash and double byte (e.g. chinese) characters
  sets?
  Or is that a non issue in Flash. We are having to convert a Director
  application into a fully unicoded Flash version (the missing unicdoe
  implementation of Director being the main reason for this).

 Chinese isn't double-byte in UTF8 - it's triple-byte (as far as I know).
 Danish special characters (and most other special characters of roman
 languages, just as cyrillic, greek and other characters) are
 double-byte, and it works just fine.

 Flash understands unicode (using UTF8-encoding) perfectly internally and
 when loading and sending strings.

 --
 Morten Barklund - Information Architect - Shockwaved
 Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
 Phone: +45 7027 2227 - Fax: +45 3369 1174
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
Nik C
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] (CAKE or FuseBox) + AMF ??

2005-12-16 Thread Miles Thompson


Wade,

Do you know about the PHP Mailing list?

PHP General php-general@lists.php.net, as well as others which are more 
specific, e.g. php-db for PHP and database issues.


You sign on through http://www.php.net/mailing-lists.php

Searchable archive at http://marc.theaimsgroup.com/?l=php-generalr=1w=2

Miles Thompson

At 09:09 PM 12/16/2005, you wrote:
After standardizing our flash practices for developing RIA we are looking 
to a platform for server side integration. To date we have just used AMF 
services and created classes that then could be consumed via remoting. We 
are now running into issues:


+ Maintaining server side application code for legacy applications. PHP V3 
- PHP 4.* - PHP 5*
+ Documentation that is specific to a project when  code functionality is 
not specific to the application.

+ Large learning curve for new staff members.
+ Lack of any list or forum for support, such as this list for Flash.

 The idea is that by moving to CAKE or Fuzebox we can leverage the 
existing work and of course aid to the projects.  Anyone on the list 
worked with these technologies and their integration with flash via AMF? 
I saw that Patrick Mineault (AMFPHP fame) posted to his blog about some 
of these technologies today and the future integration with AMFPHP.


Thanks for any insight, rants, experiences, etc that you may have had.

Wade Arnold
T8DESIGN

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Programmatically Move Center of Movie Clip

2005-12-16 Thread Rajat Paharia
Mark - you can use this class created by Darron Schall:

http://www.darronschall.com/weblog/archives/54.cfm

best, - rajat

On 12/16/05, Mark Ribau [EMAIL PROTECTED] wrote:

 I want to programmatically move the little cross hairs that define the
 center of the movie.  How would I do that?

 Do I move all the content of the movie by the negative of the amount I
 to move the cross hair ?  And how do I do that ?
 --
 Mark Ribau
 Lead Windows Developer | My Tech Blog
 http://www.redbugtech.com/blogs/mark.php
 Redbug Technologies, Inc. http://www.redbugtech.com - www.redbugtech.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders