[Flashcoders] FileReference and actionscript 2.0

2006-06-24 Thread human ghaderyan
Hi list
I try to use FileReference class in a actionscript 2.0 project. the browse 
and upload methods work fine but it seems that this class designed for AS 1.0 
(???). I can't find any AS 2.0 sample and don't know what to do for catching 
events . I think this class has bad architecture. for example I need to put the 
uploaded file in database and return its ID to client. FileReference do the 
transfer by a POST but it seems that there is no way to catch a response from 
server for this POST Action. any body has some experience to do the uplad with 
flash remoting?  
 
___
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] getTextExtent weirdness

2006-06-24 Thread Ville Walveranta

Responding again to my own posting... :-) 

I tried what I was thinking of below, and it works perfectly! Pixel-accurate
width is correctly returned every time. The same method can be used for
multiple entry fields, even with different typefaces or type styles as long
as those style parameters are passed to the auto-sized, off-stage
measurement field. 

Ville


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ville
Walveranta
Sent: Thursday, June 22, 2006 13:23
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] getTextExtent weirdness


I was recently working on a project where .getTextExtent() would have come
handy, but like for others, it did not work for me. I dropped the issue at
that time, but have been thinking of trying to create an auto-size field off
the stage with the same text style parameters as the textInput component,
then copy characters (from the input component as they're typed) to the
auto-sized field, then measure the width of the auto-sized field. If the
width exceeds the maximum allowed pixel-width, then disallow further typing
into the component. I think it should work... has anyone tried this?

Ville


___
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] Fjax... does this seem ridiculous to anyone else?

2006-06-24 Thread Michael Nisi

'Fjax just uses Flash to handle XML. Why? Because it's so darn good at
it.' LOL, yeah right!

It's ridiculous. Browser issues are nullified by libraries like dojo,
prototype, et al. An interesting use of flash and js combined is the
storage mechanism in the dojo toolkit:
http://codinginparadise.org/projects/dojo_storage/release/dojo/tests/storage/test_storage.html#

Regards,
Michael

On 6/23/06, Ville Walveranta [EMAIL PROTECTED] wrote:


Yes.. why not use remoting instead? Much cleaner from both the Flash and
server perspective. Of course, perhaps with aid of AJAX Flash front-end can
be fitted to more back-ends.

Ville

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton
Sent: Friday, June 23, 2006 12:47
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Fjax... does this seem ridiculous to anyone else?

Seems like a hack to me, from both the AJAX programming and Flash
programming perspective.

Mike
___
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] Flash for forums

2006-06-24 Thread Weldon MacDonald

I've never liked forums, mostly because the I find navigating around in most
forums is pretty clunky,  give me an email list every time, but, as so often
happens, the universe has decided to get a little revenge. I have a client
who wants a forum. I've just spent the morning researching forum software
and there are many good products out there, but none that give the
navigational convenience I would like. I can see a forum with a flash front
end that would be a dream to use, let'
s say, a tree of threads with subjects; hover over one and see a preview;
click and see a list of responses; click on a response and get a preview,
all in one window without a page change. Posts are written in a new window
and don't require 3 or 4 pages generations per response.
That's a little simplistic, but I hope you get the idea. What ever I use it
has to be customized to the look and feel of the site.  Has anyone seen such
a forum?  Or, a forum with documentation that would allow the relatively
easy implementation of a flash front end.

Weldon MacDonald
___
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 for forums

2006-06-24 Thread Josh Santangelo
vBulletin's current version has many AJAXy features which enable  
interactions similar to what you describe. It's not free, but it's  
not expensive either.


http://vbulletin.com/

-josh

On Jun 24, 2006, at 8:28 AM, Weldon MacDonald wrote:

I've never liked forums, mostly because the I find navigating  
around in most
forums is pretty clunky,  give me an email list every time, but, as  
so often
happens, the universe has decided to get a little revenge. I have a  
client
who wants a forum. I've just spent the morning researching forum  
software

and there are many good products out there, but none that give the
navigational convenience I would like. I can see a forum with a  
flash front

end that would be a dream to use, let'
s say, a tree of threads with subjects; hover over one and see a  
preview;
click and see a list of responses; click on a response and get a  
preview,
all in one window without a page change. Posts are written in a new  
window

and don't require 3 or 4 pages generations per response.
That's a little simplistic, but I hope you get the idea. What ever  
I use it
has to be customized to the look and feel of the site.  Has anyone  
seen such
a forum?  Or, a forum with documentation that would allow the  
relatively

easy implementation of a flash front end.

Weldon MacDonald
___
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 for forums

2006-06-24 Thread Count Schemula

I'm on a few vBulletin powered forums and they work very well.

Bulletin boards are far superior to e-mail lists in almost everyway.
I've been on e-mail lists since before there was a web, and, really,
there is no comparison to how much more useful 100,000 threaded
conversations are in a bulletin board compared to an e-mail list.

On 6/24/06, Josh Santangelo [EMAIL PROTECTED] wrote:

vBulletin's current version has many AJAXy features which enable
interactions similar to what you describe. It's not free, but it's
not expensive either.

http://vbulletin.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] onEnterFrame / SetInterval in a Class (with Delegate)

2006-06-24 Thread Andreas Rønning

[EMAIL PROTECTED] wrote:

Hello All ---

I am trying to run an onEnterFrame or setInterval in a Class (which extends mx.core.UIComponent) and not having much luck. 
If I use onEnterFrame it runs once and then dies. I have even tried using Delegate with the onEnterFrame and still no luck. 
Likewise, I have tried using setInterval with Delegate and while it gets called it only seems to keep the scope passed from the 
Delegate the first time thru. The remaining calls, the scope is undefined.


Any ideas as to what I am doing wrong.

Thanks for any and all replies.


___
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
  

class myClass{
   var myInterval:Number;
   function myCallBack(){
  trace(whee);
   }
   function myClass(){
  myInterval = setInterval(this,myCallBack,1000);
   }
}

Works every time.

- Andreas
___
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] Chipmunk-sounding MP3s?

2006-06-24 Thread Josh Santangelo
I've got a presentation engine built which loads up audio/video/text  
from external files as defined in a presentation XML file. Works  
fine, of course until the client tries to start changing content.


The MP3s they're using are voice-overs encoded at 16kbps mono which  
play fine in QuickTime Player, but when loaded into Flash (via the  
Sound object) play back at super-speed and pitched up.


I was told at some point that Flash can only handle certain encodings  
and bitrates of MP3s, but 16k/mono is one of the options for  
exporting, so I would expect that it would be able to handle loading  
them as well. Is there a list of what bitrates are supported  
somewhere? Google isn't giving me any love.


thanks,
-josh
___
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] Chipmunk-sounding MP3s?

2006-06-24 Thread Josh Santangelo
Nevermind, found it myself. As it turns out, the bitrate doesn't  
matter so much as the sample rate. Flash only supports 11, 22, and  
44khz, and seems to freak out otherwise.


http://www.sonify.org/home/feature/remixology/004_prepareloops/ 
page2.html


-josh

On Jun 24, 2006, at 7:26p, Josh Santangelo wrote:

I've got a presentation engine built which loads up audio/video/ 
text from external files as defined in a presentation XML file.  
Works fine, of course until the client tries to start changing  
content.


The MP3s they're using are voice-overs encoded at 16kbps mono which  
play fine in QuickTime Player, but when loaded into Flash (via the  
Sound object) play back at super-speed and pitched up.


I was told at some point that Flash can only handle certain  
encodings and bitrates of MP3s, but 16k/mono is one of the options  
for exporting, so I would expect that it would be able to handle  
loading them as well. Is there a list of what bitrates are  
supported somewhere? Google isn't giving me any love.


thanks,
-josh
___
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] [Ann] The world's largest Flex Application

2006-06-24 Thread David Rorex

Heh, I like this text from their demo page:

Experience AFR Access - The serious investor's toolkit with this short
video, which takes you through its many features and uses. *Please amend
copy as necessary*.

-David R

On 6/22/06, Arul Prasad M L [EMAIL PROTECTED] wrote:


thanks Chris.

~Arul Prasad

On 6/22/06, Chris Velevitch [EMAIL PROTECTED] wrote:

 FlexDaddy (

http://www.flexdaddy.info/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/
 )
 ttalks about it. Unfortunately, no recording will be made.

 On 6/21/06, Arul Prasad M L [EMAIL PROTECTED] wrote:
  sorry, if am being ignorant, but what is this world's largest Flex (
1.5
 )
  application that you are talking about?
  Is there some place I can see this?
 
  Am not in sydney, so if you dont reply, I'll probably never know about
 it at
  all!!
 
  Thanks!
  Arul Prasad.
 
 
  On 6/21/06, Chris Velevitch [EMAIL PROTECTED] wrote:
  
   Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk
about
   the lessons learnt from the world's largest Flex (1.5) application.
  
   Mon 3rd July at the Sydney Flash Platform Developers Group
   (www.flashdev.org.au) at 6:30 pm for 7pm start at the NSW Sports
Club
   (www.flashdev.org.au/venue).
  
   Please RSVP (www/flashdev.org.au/rsvp) for catering purposes.
  
  
   Chris
   --
   Chris Velevitch
   Manager - Sydney Flash Platform Developers Group
   www.flashdev.org.au
   ___
   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
 


 --
 Chris Velevitch
 Manager - Sydney Flash Platform Developers Group
 www.flashdev.org.au
 ___
 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] Chipmunk-sounding MP3s?

2006-06-24 Thread Ramon Miguel M. Tayag

I don't think it's the bitrates, but the hertz.

On 6/25/06, Josh Santangelo [EMAIL PROTECTED] wrote:

I've got a presentation engine built which loads up audio/video/text
from external files as defined in a presentation XML file. Works
fine, of course until the client tries to start changing content.

The MP3s they're using are voice-overs encoded at 16kbps mono which
play fine in QuickTime Player, but when loaded into Flash (via the
Sound object) play back at super-speed and pitched up.

I was told at some point that Flash can only handle certain encodings
and bitrates of MP3s, but 16k/mono is one of the options for
exporting, so I would expect that it would be able to handle loading
them as well. Is there a list of what bitrates are supported
somewhere? Google isn't giving me any love.

thanks,
-josh


--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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] Chipmunk-sounding MP3s?

2006-06-24 Thread Matt Mc
Hello,
   
  I had the same problem this helped clear things up.
   
  http://www.jeroenwijering.com/?thread=High_Speed_Play
   
  you have to use a sample rate of 44100Hz, I've used 22050Hz with no problems, 
along with a constant bit rate (CBR) and that will take care of the chipmunks 
problem.
   
  Perhaps you are using a variable bitrate on compression.
   
  Hope this helps.
  Matt Mc
   
  
Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:
  I don't think it's the bitrates, but the hertz.

On 6/25/06, Josh Santangelo wrote:
 I've got a presentation engine built which loads up audio/video/text
 from external files as defined in a presentation XML file. Works
 fine, of course until the client tries to start changing content.

 The MP3s they're using are voice-overs encoded at 16kbps mono which
 play fine in QuickTime Player, but when loaded into Flash (via the
 Sound object) play back at super-speed and pitched up.

 I was told at some point that Flash can only handle certain encodings
 and bitrates of MP3s, but 16k/mono is one of the options for
 exporting, so I would expect that it would be able to handle loading
 them as well. Is there a list of what bitrates are supported
 somewhere? Google isn't giving me any love.

 thanks,
 -josh

-- 
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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



-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.
___
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