RE: [Flashcoders] Flash Lite - what's happening

2006-08-07 Thread Anthony Lee
 You literally can't buy a new handset in Japan that doesn't support Flash
 Lite.

1.1 and you have to register with the carrier to be a content provider.
___
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] Architechting a drag and drop component.

2006-08-07 Thread Haikal Saadh

Hi folks.

I've been thinking about developing a drag/drop label/drop zone 
component, that works in a similar way to the ones that come with 
Flash's quiz template.


The way the flash one is laid out is:

   * Drag and Drop Activity Component
 o 8 Different drop label/zone pairs.

These  pairs seem to be 8 separate components themselves, rather than 8 
instances of the same component.


The reason for this seems to be that then, the programatically 
challenged can then just break them apart and draw away to their hearts 
content.


Now, I'd like to develop a drag/drop pair that will also let 
aforementioned programatically challenged customise them, but without 
having the restriction of n predefined components that will do the same 
thing.


Has anyone done anything like this before? I was hoping to make a 
component, of which they can drop any amount on to the stage, and 
customised as  they wish. The idea I had was to use Linkages in the 
library, in a similar manner to specifying the skin for any other 
object. That way, they can have different movie clips for the initial 
and solved states, and another one that specifies the 'hit area'. Even 
better: Is it possible to write a custom properties panel that can 
browse the library?


Any hints?

--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

___
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] Flash Lite - what's happening

2006-08-07 Thread Robin Burrer
Well that might be case for Japan but I haven't seen a flash lite
enabled mobile here in Australia. I just went to Europe a couple of
weeks ago and Flash Lite dose not seem to be a big thing there either.
Furthermore, I really can't be bothered developing Flash lite v.1.1. 

 If Flash Lite were on every handset in the world and had full
projector
capability ( integration with hardware and OS ) - what would you do with
it?


Well - you could for example create widgets for mobile phones or games.
Or you could use it as marketing tool, similar to a CD-ROM. However you
would download the application via Bluetooth for a Flash lite terminal
...

I think what we need is something like the Frog in the Blender
application. I can remember that after this silly flash movie was sent
around as an email attachment people suddenly knew what Flash was.
Obviously we would need something more mature now. My point is Flash
became successful because people can easily create Flash content and it
can be played on almost any computer. But it's pointless to create
content for something, which only exists on the Adobe site or in Japan
(unless you happen to live in Japan)


   

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keldon
Rush
Sent: Monday, 7 August 2006 3:40 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash Lite - what's happening

http://www.google.com/search?hl=enq=vzw+flash+lite 

You literally can't buy a new handset in Japan that doesn't support
Flash
Lite.

You can buy an LG 8300 today in a Verizon Wireless store that supports
Flash
animated wallpapers, not the same thing as the BREW Flash Lite
extension,
but it is Flash on a phone in N. America.

My question is:

If Flash Lite were on every handset in the world and had full projector
capability ( integration with hardware and OS ) - what would you do with
it?

Keldon

___
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


Re: [Flashcoders] Flash Lite - what's happening

2006-08-07 Thread Martin Wood
Tony, your clock is set to the epoch (1970)
or its your mail transport agent.

come and join the future :)

Anthony Lee wrote:
 You literally can't buy a new handset in Japan that doesn't support Flash
 Lite.
 
 1.1 and you have to register with the carrier to be a content provider.
___
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] PDF2SWF -- Problems with gradients

2006-08-07 Thread Marcus Cheetham

I've been having trouble with the conversion of PDFs to SWFs.

If the PDFs are created in InDesign, gradients do not get converted properly 
using the PDF2SWF utility (http://www.swftools.org). In Quark however, the 
conversion works without problems.


I understand that the reason for this, is that InDesign creates 'true' 
gradients, whereas Quark effectively fakes them. It looks as though PDF2SWF 
currently cannot handle the 'true' gradients effectively. My company is 
moving to 100% use of InDesign and since we have a need to regenerate the 
pages as SWFs, this is going to be a big headache.


One work-around that I know will work, is to rasterize the gradients. I'd 
like to avoid this proceedure if I can, though, because its a lot of extra 
work.


Does anyone have any ideas about this? Is there another tool other than 
PDF2SWF that can handle such conversions, without altering the layout? Or 
are there techniques in InDesign that I could use?


Any ideas would be appreciated,

Thanks,

M.

_
Windows Live™ Messenger has arrived. Click here to download it for free! 
http://imagine-msn.com/messenger/launch80/?locale=en-gb


___
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] SWF decoding

2006-08-07 Thread John McCormack
Mark,
The sswf.sf.net and gnash sites look very promising.
The responses from you and JG are really appreciated.
Thank you.
John


- Original Message - 
From: Mark Winterhalder [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Sunday, August 06, 2006 5:26 PM
Subject: Re: [Flashcoders] SWF decoding


 John,

 maybe have a look at swfmill.org or
 http://www.gnu.org/software/gnash/. They're both GPL, so depending
 on what you want to do this might be an issue, but there are some
 others out there that maybe offer the code for licensing (the number
 of swfmill contributors is small, so it might be possible, too, if you
 ask).

 Oh, and there's sswf.sf.net, I don't know the license, but it should
 be worth checking out and has links to other projects.

 HTH,
 Mark



 On 8/6/06, John McCormack [EMAIL PROTECTED] wrote:
 
  John,
  Thanks for that suggestion. That was a fascinating journey. The closest
I got was p-code. The code below shows what I am after, it's from the first
release in 1998 (freely available from MM). After reading the bytes and
decoding them they may give you a run of pixels of a certain colour, or
something similar.
 
 
  U32 CInputScript::GetBits (S32 n)  // Get n bits from the stream.
  {
  U32 v = 0;
 
  for (;;)  {
  S32 s = n - m_bitPos;
  if (s  0)  {   // Consume the entire buffer
  v |= m_bitBuf  s;
  n -= m_bitPos;
 
  // Get the next buffer
  m_bitBuf = GetByte();
  m_bitPos = 8;
  }
  else  {  // Consume a portion of the buffer
  ...
 
  John
 
  - Original Message -
  From: John Grden [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Sunday, August 06, 2006 1:26 PM
  Subject: Re: [Flashcoders] SWF decoding
 
 
   www.buraks.com/asv
  
   maybe actionscript viewer might help?
  
   On 8/6/06, John McCormack [EMAIL PROTECTED] wrote:
   
I joined recently. It's been really interesting reading your posts.
Thank
you for that.
   
I would like to use C/C++ to decode SWF files into bitmaps. That way
I can
author in Flash and decode within my own programs. Adobe haven't
responded
at all to my request for the SDK.
   
When the first SDK came out Macromedia were happy to give me access
to it,
with files such as swfparse.cpp etc. Perhaps some of the tags can
still be
decoded the same way. Can anyone suggest a way forward?
   
John
   
McCormack
___
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
   
  
  
  
   --
   John Grden
   ___
   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@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


Re: [Flashcoders] Flash Lite - what's happening

2006-08-07 Thread Nick Gerig
carriers have total control in Japan which is what makes such a great
development environment for content - you have 2 carriers with
consistent platforms across devices - add to that DRM and you have a
very nice platform for development. The thing with FL over there is that
its used as a very basic content type, so animation and erm
animation rule. There is very little usage beyond that. What is
happening outside of Japan is that the content is completely different -
there will be some cross over where concepts that worked in Japan will
happen outside with FL but I think that will be a very small percentage
of FL content outside Japan.

In terms of FL2.0 timeframes - handsets have a long production
lifecycle, end of story. So the only way FL could be here quicker is if
FL2.0 was created sooner ;)


Cheers

Nick

Anthony Lee wrote:

i read somewhere that flash lite is far
more popular in Japan



Popular yes, but not due to a more conducive environment. Last time I
looked the only carrier to have Flash Lite 2 handsets deliberately
reengineered them to not work. Who knows why, probably some under the
table thing to protect their 1.1 content providers.

  

that the carries have far too much control over developers



I believe that's the case in Japan too.

Tony
___
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


: RE: [Flashcoders] Flash Lite - what's happening

2006-08-07 Thread Nick Gerig

1.1 and you have to register with the carrier to be a content provider.
___
  



thats not true - you have to register to be part of their official
portal - which is the same the world over. However you can distribute
content through unofficial portals or through content aggregators
without any operator contact. The key issue with any content provider is
that you need to be able to bill for it - which necessitates some
contact with an operator directly or indirectly.


Cheers

Nick



___
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] mpg to FLV

2006-08-07 Thread Laurent CUCHET
Hello all Flash coders :)


I need to find a way to convert mpg to FLV directly on the server,  like
www.vimeo.com

If you know a way or a tips, it would be nice

Laurent

Msn : [EMAIL PROTECTED]
___
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] mpg to FLV

2006-08-07 Thread John Grden

on2 Flix engine:
http://www.on2.com/developer/flix-engine-sdk/?sid=5DHA-2F6F-44d72df95bcaaref=

FFMpeg:
http://ffmpeg.mplayerhq.hu/

hth,

JPG

On 8/7/06, Laurent CUCHET [EMAIL PROTECTED] wrote:


Hello all Flash coders :)


I need to find a way to convert mpg to FLV directly on the server,  like
www.vimeo.com

If you know a way or a tips, it would be nice

Laurent

Msn : [EMAIL PROTECTED]
___
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





--
John Grden
___
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] Set Focus with JAWS running

2006-08-07 Thread vivek
Hi,

 

Is there any way in flash where we can get the focus to the desired location
on click of a button?

 

For Example:  Suppose, we have 3 text fields and 3 buttons on a stage. When
we run the application with JAWS running, on click of button_1, the focus
should go to text1_txt and jaws should start reading the text from that
text field. Same applies to rest of the buttons and text fields.

 

Can we do this using action script or java script is required?

 

 

Regards,
Vivek Gaikwad - Accessibility Developer

Net Systems Informatics (I) Pvt. Ltd.
Tel: 022-26860485/6 Extension: 24

 

___
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] Flex 2, organizing innumerous States

2006-08-07 Thread Michel Scoz
Hello there!

I'm creating a site administrator application, with too manys inputs, classes, 
views, so on...

The MXML code is too large and its getting very complicated to find/search 
through the code to edit/add States. Is there any way to stop using states to 
switch views, and/or create a new file for new States? Or maybe an easier way 
to organize them without having to write all states in one file?

Here's what I have now...

---
 mx:states
  mx:State name=home
   mx:AddChild position=lastChild
mx:Panel y=100 width=730 height=600 layout=absolute title=Área de 
Manutenção horizontalCenter=-5 id=painelHome
 mx:Panel y=10 width=165 height=225 layout=absolute title=Dicas 
da Vovó Lydia x=10
  mx:Image y=10 source=images/manut/lampada.png horizontalCenter=0/
  mx:LinkButton y=66 label=Adicionar width=100% horizontalCenter=0 
click=currentState = 'dicas_adicionar';/
  mx:LinkButton y=96 label=Editar width=100% horizontalCenter=0/
  mx:LinkButton y=126 label=Estatísticas width=100% 
horizontalCenter=0/
 /mx:Panel
 mx:Panel y=10 width=165 height=225 layout=absolute 
title=Concurso de Receitas x=185
  mx:Image y=10 source=images/manut/caixapapeis.png 
horizontalCenter=0/
  mx:LinkButton y=66 label=Aprovar width=100% horizontalCenter=0/
  mx:LinkButton y=96 label=Editar width=100% horizontalCenter=0/
  mx:LinkButton y=126 label=Estatísticas width=100% 
horizontalCenter=0/
 /mx:Panel
 mx:Panel y=250 width=165 height=225 layout=absolute title=Livro 
de Receitas x=185
  mx:Image y=10 source=images/manut/livroaberto.png 
horizontalCenter=0/
  mx:LinkButton y=66 label=Adicionar width=100% 
horizontalCenter=0/
  mx:LinkButton y=96 label=Editar width=100% horizontalCenter=0/
  mx:LinkButton y=156 label=LinkButton width=100% 
horizontalCenter=0/
  mx:LinkButton y=126 label=Estatísticas width=100% 
horizontalCenter=0/
 /mx:Panel
 mx:Panel y=10 width=165 height=225 layout=absolute title=Viva 
Melhor x=535
  mx:Image y=10 source=images/manut/pessoabrilho.png 
horizontalCenter=0/
  mx:LinkButton y=66 label=Adicionar width=100% 
horizontalCenter=0/
  mx:LinkButton y=96 label=Editar width=100% horizontalCenter=0/
  mx:LinkButton y=126 label=Estatísticas width=100% 
horizontalCenter=0/
 /mx:Panel
 mx:Panel y=250 width=165 height=225 layout=absolute 
title=Chamadas x=10
  mx:Image y=10 source=images/manut/speaker.png horizontalCenter=0/
  mx:LinkButton y=66 label=Página Inicial width=100% 
horizontalCenter=0/
  mx:LinkButton y=96 label=Viva Melhor width=100% 
horizontalCenter=0/
  mx:LinkButton y=126 label=Livro de Receitas width=100% 
horizontalCenter=0/
  mx:LinkButton y=156 label=Receitas do Concurso width=100% 
horizontalCenter=0/
 /mx:Panel
 mx:Panel y=10 width=165 height=225 layout=absolute title=ABC dos 
Alimentos x=360
  mx:Image y=10 source=images/manut/potelupa.png horizontalCenter=0/
  mx:LinkButton y=66 label=Adicionar width=100% 
horizontalCenter=0/
  mx:LinkButton y=96 label=Editar width=100% horizontalCenter=0/
  mx:LinkButton y=126 label=Estatísticas width=100% 
horizontalCenter=0/
 /mx:Panel
/mx:Panel
   /mx:AddChild
  /mx:State
---


You see? This is just for the States... then there is the scripts, styles, 
transitions and everything else. Its gonna get massive!!

I could create various mxml and switch between them with getURL, but this way 
dont sounds good as it will refresh the page loading another. There is any 
other way?

Thank you in advance,
Michel.
___
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] Flex 2, organizing innumerous States

2006-08-07 Thread Merrill, Jason
Subject: [Flashcoders] Flex 2, organizing innumerous States

The Flexcoders list is here:

http://groups.yahoo.com/group/flexcoders/


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
___
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] Shoutcast + Flash - Update?

2006-08-07 Thread Jörg Müller

Hi!

I've been googling all day to find out any new infos on using a swf als 
a shotcast-client.


Most information is old or incomplete, here's what I found out so far:

* with the right security settings playing a Shoutcast stream works in 
Firefox and some other browsers
* with a little hacking (e.g. using a server-side proxy to change the 
headers) it even works in IE
* there used to be a problem with the streaming content filling the 
clients memory over time (because it doesn't get deleted properly)

* Wimpy is a commercial skinnable solution

Did anyone create a stable flash shoutcast player lately? Did any of the 
older problems get solved by newer versions of the Flash Player?


I'd love to have some pieces of code to get started...

TIA + Cheers,

Joerg.

PS: Did anyone ever try to use the Flash Comm Server to access a 
Shoutcast stream and then channel it to Flash from the FCS?


--



Get Firefox! Safer, Faster, Better! http://www.getfirefox.com

_
joerg.mueller  TEL +49.89.36092940 | 00101100
guerickestr. 21 MOBILE +49.177.2763132 | 01011000
80805 muenchen  E-MAIL [EMAIL PROTECTED] | 11101101
germany| 00010100
¯ 
(1) mathematics is the language of nature. 

  (2) everything around us can be represented
  and understood through numbers. 
  (3) if you graph these numbers, patterns emerge. 
  therefore: there are patterns everywhere in nature.  


- Max Cohen in the motion picture PI.

6002735243859695900984383847384738493549540494854985854954343
8153849612424579962314521362548659362125145554785112332546927
9530206508381538496124245799623145213625485066002735243850098
8473849354954049485498585495854395499953020650838153849612312
6254850660027352438596959009843838473847384935495404948543323


___
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] ComboBox drop up

2006-08-07 Thread Robert Chyko
Any reasons why my ComboBox won't drop upwards even though I am running
out of room?  It is just getting cut off at the bottom of the movie.
Hoping this is something stupid that I'm overlooking, but I'm kinda
stuck so any ideas would be appreciated.
 
Thanks,
Bob Chyko
 
___
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] Set Focus with JAWS running

2006-08-07 Thread Andrew Kirkpatrick
Vivek,
I put together a post on this topic at:
http://blogs.adobe.com/accessibility/2006/08/moving_screen_reader_focus
_in.html 

Short answer: it depends.

AWK

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of vivek
 Sent: Monday, August 07, 2006 9:35 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Set Focus with JAWS running
 
 Hi,
 
  
 
 Is there any way in flash where we can get the focus to the 
 desired location on click of a button?
 
  
 
 For Example:  Suppose, we have 3 text fields and 3 buttons on 
 a stage. When we run the application with JAWS running, on 
 click of button_1, the focus should go to text1_txt and 
 jaws should start reading the text from that text field. Same 
 applies to rest of the buttons and text fields.
 
  
 
 Can we do this using action script or java script is required?
 
  
 
  
 
 Regards,
 Vivek Gaikwad - Accessibility Developer
 
 Net Systems Informatics (I) Pvt. Ltd.
 Tel: 022-26860485/6 Extension: 24
 
  
 
 ___
 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


Re: [Flashcoders] ComboBox drop up

2006-08-07 Thread SWF Coder
 Any reasons why my ComboBox won't drop upwards even
 though I am running
 out of room?  It is just getting cut off at the
 bottom of the movie.
 Hoping this is something stupid that I'm
 overlooking, but I'm kinda
 stuck so any ideas would be appreciated.
  
 Thanks,
 Bob Chyko

I don't think that's possible using the ComboBox in
the UI Components... may be you have to use another
component which allows you to do so (or does so
automatically). Or just make your own ComboBox!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] How to Create Flex Projector

2006-08-07 Thread Marcos Neves

Hi,
I need to create a Flex apllication that runs on an exe projector for a CD-ROM.
How can I do that?
___
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] How to Create Flex Projector

2006-08-07 Thread eka

Hello :)

you can use the last version of ZINC :
http://www.multidmedia.com/news/news.php?id=62

EKA+ :)


2006/8/7, Marcos Neves [EMAIL PROTECTED]:


Hi,
I need to create a Flex apllication that runs on an exe projector for a
CD-ROM.
How can I do that?
___
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


RE: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread André Goliath
Probably by Googling, otherwise ask the fine folk at Flexcoders

http://groups.yahoo.com/group/flexcoders/ 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcos Neves
Sent: Monday, August 07, 2006 7:11 PM
To: Flashcoders mailing list
Subject: [Flashcoders] How to Create Flex Projector

Hi,
I need to create a Flex apllication that runs on an exe projector for a
CD-ROM.
How can I do that?
___
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


RE: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread Merrill, Jason
If it's Flex 1, I don't think your licensing agreement with Adobe will
let  you do that.  If it's Flex 2, you create .swf files. Load those
.swf files into a .fla in Flash 8, and publish an .exe projector.  Put
the .exe and the .swfs on the CD.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Marcos Neves
Sent: Monday, August 07, 2006 1:11 PM
To: Flashcoders mailing list
Subject: [Flashcoders] How to Create Flex Projector

Hi,
I need to create a Flex apllication that runs on an exe projector for
a CD-ROM.
How can I do that?
___
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


Re: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread Marcos Neves

It´s Flex 2. But if I create a projector using flash 8, it will run
using AS2. So, when I load the Flex swf, wich is AS3, it will not
work. The plugin 9 will not be inside de exe.
Am I right?

On 8/7/06, Merrill, Jason [EMAIL PROTECTED] wrote:

If it's Flex 1, I don't think your licensing agreement with Adobe will
let  you do that.  If it's Flex 2, you create .swf files. Load those
.swf files into a .fla in Flash 8, and publish an .exe projector.  Put
the .exe and the .swfs on the CD.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Marcos Neves
Sent: Monday, August 07, 2006 1:11 PM
To: Flashcoders mailing list
Subject: [Flashcoders] How to Create Flex Projector

Hi,
I need to create a Flex apllication that runs on an exe projector for
a CD-ROM.
How can I do that?
___
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@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] How to Create Flex Projector

2006-08-07 Thread Merrill, Jason
Right.  There isn't an .exe compiler available for Flash 9 yet as far as I 
know.  You'll probably have to wait until there is one. But try the flexcoders 
list.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Marcos Neves
Sent: Monday, August 07, 2006 1:34 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How to Create Flex Projector

It´s Flex 2. But if I create a projector using flash 8, it will run
using AS2. So, when I load the Flex swf, wich is AS3, it will not
work. The plugin 9 will not be inside de exe.
Am I right?

On 8/7/06, Merrill, Jason [EMAIL PROTECTED] wrote:
 If it's Flex 1, I don't think your licensing agreement with Adobe will
 let  you do that.  If it's Flex 2, you create .swf files. Load those
 .swf files into a .fla in Flash 8, and publish an .exe projector.  Put
 the .exe and the .swfs on the CD.

 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Marcos Neves
 Sent: Monday, August 07, 2006 1:11 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] How to Create Flex Projector
 
 Hi,
 I need to create a Flex apllication that runs on an exe projector for
 a CD-ROM.
 How can I do that?
 ___
 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@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


RE: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread Sönke Rohde
Hi,
Or you build your own projector with visual studio / c#:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp
.htm?context=LiveDocs_Partsfile=1975.html

Cheers,
Sönke

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Merrill, Jason
 Sent: Monday, August 07, 2006 7:43 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] How to Create Flex Projector
 
 Right.  There isn't an .exe compiler available for Flash 9 
 yet as far as I know.  You'll probably have to wait until 
 there is one. But try the flexcoders list.
 
 Jason Merrill
 Bank of America 
 Learning  Organization Effectiveness - Technology Solutions 
  
  
  
  
  
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Marcos Neves
 Sent: Monday, August 07, 2006 1:34 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] How to Create Flex Projector
 
 It´s Flex 2. But if I create a projector using flash 8, it will run
 using AS2. So, when I load the Flex swf, wich is AS3, it will not
 work. The plugin 9 will not be inside de exe.
 Am I right?
 
 On 8/7/06, Merrill, Jason [EMAIL PROTECTED] wrote:
  If it's Flex 1, I don't think your licensing agreement 
 with Adobe will
  let  you do that.  If it's Flex 2, you create .swf files. 
 Load those
  .swf files into a .fla in Flash 8, and publish an .exe 
 projector.  Put
  the .exe and the .swfs on the CD.
 
  Jason Merrill
  Bank of America
  Learning  Organization Effectiveness - Technology Solutions
 
 
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
 [mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Marcos Neves
  Sent: Monday, August 07, 2006 1:11 PM
  To: Flashcoders mailing list
  Subject: [Flashcoders] How to Create Flex Projector
  
  Hi,
  I need to create a Flex apllication that runs on an exe 
 projector for
  a CD-ROM.
  How can I do that?
  ___
  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@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@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] Flash Lite - what's happening

2006-08-07 Thread John Dowdell

Robin Burrer wrote:

[various statements/questions about Flash mobile adoption]


North American is behind the curve, agreed... you'll hear similar 
statements over the last few years of exec interviews.


Why? Partly because the early build-out of landlines in North America 
slowed the momentum for mobile communication -- there weren't coverage 
gaps as in other areas of the world, and so less necessity for mobile 
development. Another reason is that North America was an early adopter 
of widespread computer use, and so didn't have the necessity for data 
development either. There's no failure like success, and no success 
like failure.


Why's it baked into the phones? Because mobiles differ more than 
computers, and consumer installation would not be practical.


Where are the operators? In North America Verizon has already announced 
planned deployment, and the BREW announcements are now in public beta.


For going back to old formats, that's true -- we've had to refactor 
downwards for the less capable devices. This discrepancy will diminish 
over time, although there's also pressure for desktop-only stuff like 
hardware-assisted rendering, but the goal is to reduce the differences 
among device types.



 Why can't they provide a flash projector provider for mobile phones?

More and more, people are realizing that they don't want to install 
native code from strangers onto their devices. The Adobe Flash Player 
provides a sandbox in which safe instructions can run. Trusting 
strangers often works out well, but




 Don't get me wrong I'm really impressed with the performance of Flash
 Lite 2.0 player and its capabilities. Maybe that's why frustrated...

I agree with you... it's hard waiting for the future to come. At least 
we've passed through the Grand Inquisition and the days before indoor 
plumbing by now, those were hard times, but there's still a long way to 
go ;-)


jd










--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
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: RE: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread Chris Allen

Go to this page: http://www.adobe.com/support/flashplayer/downloads.html

Download the Flash 9 player for you OS. Then play your Flex
application in the player, select Export as Projector, and then you
are done. John Grden just did this with the Flex2 Xray application and
it works great.

I hope that helps.

-Chris
___
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: Re: RE: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread Chris Allen

Where I wrote Flash 9 player, that should have read Stand Alone Flash
Player 9.

On 8/7/06, Chris Allen [EMAIL PROTECTED] wrote:

Go to this page: http://www.adobe.com/support/flashplayer/downloads.html

Download the Flash 9 player for you OS. Then play your Flex
application in the player, select Export as Projector, and then you
are done. John Grden just did this with the Flex2 Xray application and
it works great.

I hope that helps.

-Chris


___
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: Re: Re: RE: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread Chris Allen

So, when I went to do this for Macintosh there were some issues:
http://blog.ff9900.org/

Just so you guys know, Flash 9 projectors on the Mac appear to be
pretty buggy. Windows versions seem to be working as expected

-Chris

On 8/7/06, Chris Allen [EMAIL PROTECTED] wrote:

Where I wrote Flash 9 player, that should have read Stand Alone Flash
Player 9.

On 8/7/06, Chris Allen [EMAIL PROTECTED] wrote:
 Go to this page: http://www.adobe.com/support/flashplayer/downloads.html

 Download the Flash 9 player for you OS. Then play your Flex
 application in the player, select Export as Projector, and then you
 are done. John Grden just did this with the Flex2 Xray application and
 it works great.

 I hope that helps.

 -Chris



___
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] WSIWYG HTML text editor in Flash - follow on question

2006-08-07 Thread Merrill, Jason
Getting back to this question I had back on Aug 1, thanks for the ideas.
I've built a basic HTML text editor in Flash using the TextFormat class.
Since I need to save the resulting HTML string back to a database, it
works great.

However, now I need to insert images into the HTML - which isn't
supported by the TextFormat class.  So I was thinking I could just
insert an img tag string into the textField using
TextField.replaceSel(), like this:

test_txt.replaceSel(img src=\mountains.jpg\ width=\350\
height=\120\ /);

So that part works fine, but when I re-render the textField, the image
does not show (doesn't render as HTML), it shows the literal img
scr=...etc. characters in the textField (even though it is an HTML
textfield).  I thought maybe I needed to re-render the textfield, so I
left the frame and then jumped back to it, and it still shows the
literal HTML.  So in testing the value of the html TextField, I found
the  and \ characters I inserted have been changed to encoded
entities in the HTML string:

lt;img src=quot;mountains.jpgquot; width=quot;350quot;
height=quot;120quot; /gt;

Why is that and how can I fix this?   It would be pretty messy to use
the XML object to decode those entities - why are they getting rendered
that way in the first place? 

Thanks,


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of James Booth
Sent: Tuesday, August 01, 2006 10:43 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash?

I just did exactly this, a couple of days ago.  I created a class that
can
apply any kind of supported HTML formatting.  The idea seemed daunting
at
first, but the class is relatively small.  You can assign/remove
textfields
that it should watch. I don't have it here with me right now, but
here's
the basics:

It doesn't use replaceText at all.

I have a switch statement for the various textformat options (some are
Boolean (bold, italic, etc) and some have arguments (leading, size,
etc).

When the textfield has focus use an interval to get the beginIndex and
endIndex.  You can clear the interval onkillFocus.

Then in your setFormat function

Public function setFormat (type, arg):Void
{
  var temp_fmt:TextFormat = currentField.getTextFormat(beginIndex,
endIndex);

  switch (type)
  {
  case bold:
  case italic:
  case underline:
  //etc...
  {
  temp_fmt[type] = temp_fmt[type] == false ? true
:
false;
  break;
  }
  case leading:
  case align:
  case size:
  //etc...
  {
  temp_fmt[type] = arg;
  break;
  }
  }
  currentField.setTextFormat(beginIndex, endIndex, temp_fmt);
}

This should give you a head start.

- James


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Merrill,
Jason
Sent: Tuesday, August 01, 2006 10:11 AM
To: Flashcoders mailing list
Subject: [Flashcoders] WSIWYG HTML text editor in Flash?

Two related questions.  In a nutshell, trying to make a WSIWYG HTML
text
editor for Flash 7.

Question 1:

Has anyone created an HTML text editor component or class of some kind
in Flash?  Basically, having a textfield containing a paragraph of
text
the user can apply bold, size, font, etc. to - I assume it would use
something like:

textfield.replaceText(Selection.getBeginIndex(),Selection.getEndIndex(
),
theNewString)

or something to that effect.

So to my second question, I was able to get the above working, but the
html Textfield would not apply the new HTML tags, it would show them
literally when replaceText was used.  Initially, I set the text with
textField.htmlText = myText and renders fine with the bolding, but
textField.replaceText() seems to not allow the textfield to show the
bold tags applied - it shows the literal tag.   Any ideas?

Basically, would like to create a WSIWYG HTML text editor (flash 7),
but
from what I read in the archives, it's a lot harder than it sounds and
maybe not even possible in Flash right now, but I don't want to give
up
too early.  It seems that all the basic methods are available, there
are
just some quirks to work out with the Textfield class.

Thanks,

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions

___
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] WSIWYG HTML text editor in Flash - follow on question

2006-08-07 Thread Merrill, Jason
Oh, and to follow up with some further information:

It seems to only encode those HTML entities when I use
TextField.replaceSel().  If I just add the img tag string on to the
htmltext field value, it works:

//works:
test_txt.htmlText += img src=\mountains.jpg\ width=\350\
height=\120\ /;

//fails - shows literal text, and encodes entities:
test_txt.replaceSel(img src=\mountains.jpg\ width=\350\
height=\120\ /);

Am I left with splitting the string in two, inserting the img tag, and
re-assembling the string?  Or is there a way to get replaceSel() to work
with HTML tags?

Thanks,

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Monday, August 07, 2006 5:55 PM
To: Flashcoders mailing list
Subject: [Flashcoders] WSIWYG HTML text editor in Flash - follow on
question

Getting back to this question I had back on Aug 1, thanks for the
ideas.
I've built a basic HTML text editor in Flash using the TextFormat
class.
Since I need to save the resulting HTML string back to a database, it
works great.

However, now I need to insert images into the HTML - which isn't
supported by the TextFormat class.  So I was thinking I could just
insert an img tag string into the textField using
TextField.replaceSel(), like this:

test_txt.replaceSel(img src=\mountains.jpg\ width=\350\
height=\120\ /);

So that part works fine, but when I re-render the textField, the image
does not show (doesn't render as HTML), it shows the literal img
scr=...etc. characters in the textField (even though it is an HTML
textfield).  I thought maybe I needed to re-render the textfield, so I
left the frame and then jumped back to it, and it still shows the
literal HTML.  So in testing the value of the html TextField, I found
the  and \ characters I inserted have been changed to encoded
entities in the HTML string:

lt;img src=quot;mountains.jpgquot; width=quot;350quot;
height=quot;120quot; /gt;

Why is that and how can I fix this?   It would be pretty messy to use
the XML object to decode those entities - why are they getting
rendered
that way in the first place?

Thanks,


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of James Booth
Sent: Tuesday, August 01, 2006 10:43 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash?

I just did exactly this, a couple of days ago.  I created a class
that
can
apply any kind of supported HTML formatting.  The idea seemed
daunting
at
first, but the class is relatively small.  You can assign/remove
textfields
that it should watch. I don't have it here with me right now, but
here's
the basics:

It doesn't use replaceText at all.

I have a switch statement for the various textformat options (some
are
Boolean (bold, italic, etc) and some have arguments (leading, size,
etc).

When the textfield has focus use an interval to get the beginIndex
and
endIndex.  You can clear the interval onkillFocus.

Then in your setFormat function

Public function setFormat (type, arg):Void
{
var temp_fmt:TextFormat = currentField.getTextFormat(beginIndex,
endIndex);

switch (type)
{
case bold:
case italic:
case underline:
//etc...
{
temp_fmt[type] = temp_fmt[type] == false ? true
:
false;
break;
}
case leading:
case align:
case size:
//etc...
{
temp_fmt[type] = arg;
break;
}
}
currentField.setTextFormat(beginIndex, endIndex, temp_fmt);
}

This should give you a head start.

- James


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Merrill,
Jason
Sent: Tuesday, August 01, 2006 10:11 AM
To: Flashcoders mailing list
Subject: [Flashcoders] WSIWYG HTML text editor in Flash?

Two related questions.  In a nutshell, trying to make a WSIWYG HTML
text
editor for Flash 7.

Question 1:

Has anyone created an HTML text editor component or class of some
kind
in Flash?  Basically, having a textfield containing a paragraph of
text
the user can apply bold, size, font, etc. to - I assume it would use
something like:

textfield.replaceText(Selection.getBeginIndex(),Selection.getEndInde
x(
),
theNewString)

or something to that effect.

So to my second question, I was able to get the above working, but
the
html Textfield would not apply the new HTML tags, it would show them
literally when replaceText was used.  Initially, I set the text with
textField.htmlText = myText and renders fine with the bolding, but
textField.replaceText() seems to not allow the textfield to show the
bold tags applied - it shows the literal 

Re: [Flashcoders] PDF2SWF -- Problems with gradients

2006-08-07 Thread David Rorex

There's FlashPaper, but I'm not sure how well that will integrate with your
current workflow (you didn't say if you have occasional PDFs to convert, or
if it needs to be an automated, fairly often process)

-David R

On 8/7/06, Marcus Cheetham [EMAIL PROTECTED] wrote:


I've been having trouble with the conversion of PDFs to SWFs.

If the PDFs are created in InDesign, gradients do not get converted
properly
using the PDF2SWF utility (http://www.swftools.org). In Quark however, the
conversion works without problems.

I understand that the reason for this, is that InDesign creates 'true'
gradients, whereas Quark effectively fakes them. It looks as though
PDF2SWF
currently cannot handle the 'true' gradients effectively. My company is
moving to 100% use of InDesign and since we have a need to regenerate the
pages as SWFs, this is going to be a big headache.

One work-around that I know will work, is to rasterize the gradients. I'd
like to avoid this proceedure if I can, though, because its a lot of extra
work.

Does anyone have any ideas about this? Is there another tool other than
PDF2SWF that can handle such conversions, without altering the layout? Or
are there techniques in InDesign that I could use?

Any ideas would be appreciated,

Thanks,

M.

_
Windows Live™ Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb

___
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


Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow on question

2006-08-07 Thread John VanHorn

have you tried using the unescape function?.something like this:

test_txt.replaceSel(unescape(img src=\mountains.jpg\ width=\350\
height=\120\ /));

On 8/7/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Oh, and to follow up with some further information:

It seems to only encode those HTML entities when I use
TextField.replaceSel().  If I just add the img tag string on to the
htmltext field value, it works:

//works:
test_txt.htmlText += img src=\mountains.jpg\ width=\350\
height=\120\ /;

//fails - shows literal text, and encodes entities:
test_txt.replaceSel(img src=\mountains.jpg\ width=\350\
height=\120\ /);

Am I left with splitting the string in two, inserting the img tag, and
re-assembling the string?  Or is there a way to get replaceSel() to work
with HTML tags?

Thanks,

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions




___
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: : RE: [Flashcoders] Flash Lite - what's happening

2006-08-07 Thread Anthony Lee
1.1 and you have to register with the carrier to be a content provider.

 thats not true - you have to register to be part of their official
 portal

Happy to be corrected! I only know what I read on Japanese developer's
blogs, and from that I'd formed the opinion that it wasn't worth looking
further.

I am still a little perplexed that the exact model of Nokia phone that's
running FL2 in the States is known to not run it here. All I could gather
was that it was a 'business decision'.

Tony
___
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] Weird getURL behavior

2006-08-07 Thread Darren Bowers
Yeah we had this issue for a while now - not just FP8 does it. It doesn't
work on my machine but will on a random machine I use. We use it a lot for
CDROM learning materials we create.

We used to do some JavaScript in the getURL before FP8 came out but it
throws a security  exception now so we are looking for another solution as
well.

I think it stopped woking after a Windows update, but cant nail it down.

Pre-FP8 fix: getURL(javascript:window.open('docname.doc'); void(0));

Darren

-Original Message-
From: Merrill, Jason [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 1 August 2006 11:27 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Weird getURL behavior

I'm going crazy with this. Hopefully, I'm just missing something stupid.


Weird getURL behavior in my Flash 8 player.  Is there any reason why a Flash
file here:

http://loerepository/evaluationGallery/myFlashFile.swf

Would not be able to link to this:

http://loerepository/evaluationGallery/EARS_L3_Interview.doc

 

Same domain, same folder!  Ah, this is so freaking aggravating.  It was
working fine just a week ago.  We did recently move the flash file and the
linked-to doc to a new server... is there something about a URL that doesn't
have www.mypage.com in it?  I didn't think so... so anyway I am just using:

getURL(EARS_L3_Interview.doc, _blank);

or, I also tried the absolute path:

getURL(http://loerepository/evaluationGallery/EARS_L3_Interview.doc;,
_blank);

(note, don't try that paths above, it's on an intranet site and will fail
for you)

it does pop up a new window, but the window says, 

Action canceled
Internet Explorer was unable to link to the Web page you requested. The page
might be temporarily unavailable.

HOWEVER, the file IS there and available:  if I put the path to the browser
address bar directly, it works fine!!!  What's up with that?
Why would getURL only fail in Flash?  My worst fear is there is some
security thing on the server the admins changed which is blocking my access
from Flash.  Ideas?


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

___
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

CAUTION  DISCLAIMER: The information contained in this e-mail message
and/or any accompanying data or documents contain information that is 
confidential and subject to legal privilege. The information is intended
only for the recipient named in this message. The sender is excluded from
any liability arising from any further use, dissemination, distribution,
transmission or copying of this information and /or accompanying data by
the recipient. If you are not the intended recipient, you must immediately
erase the information along with all copies of this message and accompanying
data and notify the sender. Views expressed in this message are those of the
original sender, and are not necessarily the views of WestOne Services.


___
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] Weird getURL behavior

2006-08-07 Thread Haikal Saadh
While I've not run into these problems, I have had good experience with 
the Flash/Javascript integration kit.


See http://weblogs.macromedia.com/flashjavascript/

Takes only a few lines of code to get it running, and the best part is 
you don't have to worry about  quote matching in those getURL() calls.


Darren Bowers wrote:

Yeah we had this issue for a while now - not just FP8 does it. It doesn't
work on my machine but will on a random machine I use. We use it a lot for
CDROM learning materials we create.

We used to do some JavaScript in the getURL before FP8 came out but it
throws a security  exception now so we are looking for another solution as
well.

I think it stopped woking after a Windows update, but cant nail it down.

Pre-FP8 fix: getURL(javascript:window.open('docname.doc'); void(0));

Darren

-Original Message-
From: Merrill, Jason [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 1 August 2006 11:27 PM

To: Flashcoders mailing list
Subject: [Flashcoders] Weird getURL behavior

I'm going crazy with this. Hopefully, I'm just missing something stupid.


Weird getURL behavior in my Flash 8 player.  Is there any reason why a Flash
file here:

http://loerepository/evaluationGallery/myFlashFile.swf

Would not be able to link to this:

http://loerepository/evaluationGallery/EARS_L3_Interview.doc

 


Same domain, same folder!  Ah, this is so freaking aggravating.  It was
working fine just a week ago.  We did recently move the flash file and the
linked-to doc to a new server... is there something about a URL that doesn't
have www.mypage.com in it?  I didn't think so... so anyway I am just using:

getURL(EARS_L3_Interview.doc, _blank);

or, I also tried the absolute path:

getURL(http://loerepository/evaluationGallery/EARS_L3_Interview.doc;,
_blank);

(note, don't try that paths above, it's on an intranet site and will fail
for you)

it does pop up a new window, but the window says, 


Action canceled
Internet Explorer was unable to link to the Web page you requested. The page
might be temporarily unavailable.

HOWEVER, the file IS there and available:  if I put the path to the browser
address bar directly, it works fine!!!  What's up with that?
Why would getURL only fail in Flash?  My worst fear is there is some
security thing on the server the admins changed which is blocking my access
from Flash.  Ideas?


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 


___
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
  




CAUTION  DISCLAIMER: The information contained in this e-mail message
and/or any accompanying data or documents contain information that is 
confidential and subject to legal privilege. The information is intended

only for the recipient named in this message. The sender is excluded from
any liability arising from any further use, dissemination, distribution,
transmission or copying of this information and /or accompanying data by
the recipient. If you are not the intended recipient, you must immediately
erase the information along with all copies of this message and accompanying
data and notify the sender. Views expressed in this message are those of the
original sender, and are not necessarily the views of WestOne Services.


  



___
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



--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

___
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] Cairngorm 2.0 tutorials

2006-08-07 Thread Matti Bar-Zeev
Hi All,

Can someone please direct me to a tutorial on Cairngorm 2.0 with Flex
2.0 Builder? I looked and googled but came with nothing.

I'm talking about a step to step kinda thing. 

 

 

 

 

 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
___
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