Re: [Flashcoders] Pointers

2005-11-15 Thread David Rorex
On 11/15/05, Jorrit de Vries <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In C I can store pointers to variables. How can I do this in
> ActionScript?

All variables are always referenced by type, except for the basic
types: Number, String, and the special ones like undefined, null.

There is nothing equivelent to C's pointers in ActionScript (or any of
the ECMAScripts, afaik)

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


Re: [Flashcoders] droptarget discrepancy (SOLVED)

2005-11-15 Thread Marc Hoffman
Thanks to Dave Myron for getting me on the right track to fix this. 
Turns out no target was being found at all because of a stage-sized 
movieclip in a higher level. I'd not realized that dropTarget is 
obscured by higher-level objects, and since I was constructing the 
target as a string it looked as if the first part of the target was 
being found when really no target was identified at all.  - Marc


At 05:40 PM 11/15/2005, you wrote:
This is baffling me. I have a .swf that lets the user color select a 
uniform, choose a color, and drop the color on a part of the 
uniform. It works fine in _level0 but won't work in another level. 
It's NOT a simple path issue, because what seems to be happening is 
that Flash drops the LAST part of the target path when not in _Level0.


Here's the relevant code:

//
// get the piece of the uniform to be colored:
lastSlash=this._droptarget.lastIndexOf("/");  // correctly 
returns  "a" "b" or "c"

//
// now, construct the full path to that piece:
var myTarget="_root.uniforms.u."+this._droptarget.substring(lastSlash+1);
//
// color the uniform dropTarget using the color that was chosen (_global.rgb):
targetColor=new Color(myTarget);
targetColor.setRGB("0x"+_global.rgb);
//

Now here's what I find strange:
When testing this playing in _level0, I can get this correct trace:
trace(myTarget); // returns "_root.uniforms.u.a"

But if I test from another movie that loads this swf into another 
level, I get this trace:

trace(myTarget); // returns "_root.uniforms.u"

Notice it drops the last element of the target, so the parent gets 
colored by mistake.


I can't figure out why the target would parse differently inside 
different levels, but for the purposes of this application I do need 
to run the swf in a level other than _level0.


TIA,
Marc


___
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] Actionscript 3 and flash remoting

2005-11-15 Thread Jonathan Xie
Yeah, I have to agree with you there, Hank - it's possible to hack the
netConnetion class given the fact of flash player 8.5 does support
remoteObject but just not be made into the Framework so far (hope it will)
 let's see what happen in the beta version!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FileReference.upload -> "Filedata"

2005-11-15 Thread M Daggett
Do you know if you can append extra parameters into the FileData?

For example, I would like to allow users to describe their picture (name,
title) but I don't have anyway to put that into the upload. I guess if worse
came to worse I could add it to the URL but that is far from elegant.

Additionally, it appears that you have to do the same thing with the session
id if you would like to maintain state with the appserver.

Thanks,
Mark


On 11/3/05, bryan.rice <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 3, 2005, at 9:19 PM, David Rorex wrote:
>
> > Is there a reason you need to change it?
>
>
> No - just curious. Thanx.
>
> blue skies,
> bryan
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--

I am Mark Daggett and I approve this message.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] droptarget discrepancy between levels

2005-11-15 Thread Marc Hoffman
This is baffling me. I have a .swf that lets the user color select a 
uniform, choose a color, and drop the color on a part of the uniform. 
It works fine in _level0 but won't work in another level. It's NOT a 
simple path issue, because what seems to be happening is that Flash 
drops the LAST part of the target path when not in _Level0.


Here's the relevant code:

//
// get the piece of the uniform to be colored:
lastSlash=this._droptarget.lastIndexOf("/");  // correctly 
returns  "a" "b" or "c"

//
// now, construct the full path to that piece:
var myTarget="_root.uniforms.u."+this._droptarget.substring(lastSlash+1);
//
// color the uniform dropTarget using the color that was chosen (_global.rgb):
targetColor=new Color(myTarget);
targetColor.setRGB("0x"+_global.rgb);
//

Now here's what I find strange:
When testing this playing in _level0, I can get this correct trace:
trace(myTarget); // returns "_root.uniforms.u.a"

But if I test from another movie that loads this swf into another 
level, I get this trace:

trace(myTarget); // returns "_root.uniforms.u"

Notice it drops the last element of the target, so the parent gets 
colored by mistake.


I can't figure out why the target would parse differently inside 
different levels, but for the purposes of this application I do need 
to run the swf in a level other than _level0.


TIA,
Marc


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


Re: [Flashcoders] LoadVars + sendAndLoad + PERL + FireFox = Problem

2005-11-15 Thread Éric Thibault

Look into CR/LF !?!

Roman Blöth wrote:


Philip Isaacs schrieb:

I've seen this posted on a number of websites, but not many useful 
solutions.


I built this nifty application in Flash that reads data from an 
Oracle database via
a Perl cgi script and loads this info back into Flash. The only 
problem is that I use a Mac
and everything works fine, but I was ask to test it on Windows and it 
doesn't work

with FireFox.

Has anyone ever encountered a problem with LoadVars using FireFox or 
Mozilla? 


Dear Philip,


we use this (LoadVars/SendAndLoad) quite often in our Flash-apps - and 
we all use FF, and it works fine. I didn't know there are problems - 
seems to me more like an encoding problem?!



Regards,
Roman.
___
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] Actionscript 3 and flash remoting

2005-11-15 Thread hank williams
There are no practices, best or otherwise. It is currently not supported.

It appears it may be possible to hack remoting support using a bare
metal approach based around the netConnection class, but this is non
trivial, and so far no one has demonstrated any working code.

It is unclear whether MM intends to support remoting without flex
enterprise services. Ultimately, the open source community will figure
it out, though that may be a ways off.

Regards
Hank

On 11/15/05, Jonathan Xie <[EMAIL PROTECTED]> wrote:
> Hi guys,
>  I have been scanned through the documentation of the new AS3 and I couldn't
> find
> any trace of info about how to connect to flash remoting. I notice that you
> can use
> coldFusion adapter to hook up the remoting but I guess that a lot of peoples
> here
> (including myself) have some existing projects which are using AMFPHP...
>  Now I have heard that MM try to move all these data connection stuffs to
> Flex server
> and meaning you have to buy a copy of it. I hope it's just the rumor itself.
>  Lastly we know that you can use BinaryArray to connect your own protocol
> and I did
> see there is a example in the Lab said it used the new socket class to
> connect to
> amfphp: http://labs.macromedia.com/wiki/index.php/Showcase
>  anyone have more information about the best practice to implement flash
> remoting
> in the new AS3?
>Jono
> ___
> 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] Actionscript 3 and flash remoting

2005-11-15 Thread Jonathan Xie
Hi guys,
 I have been scanned through the documentation of the new AS3 and I couldn't
find
any trace of info about how to connect to flash remoting. I notice that you
can use
coldFusion adapter to hook up the remoting but I guess that a lot of peoples
here
(including myself) have some existing projects which are using AMFPHP...
 Now I have heard that MM try to move all these data connection stuffs to
Flex server
and meaning you have to buy a copy of it. I hope it's just the rumor itself.
 Lastly we know that you can use BinaryArray to connect your own protocol
and I did
see there is a example in the Lab said it used the new socket class to
connect to
amfphp: http://labs.macromedia.com/wiki/index.php/Showcase
 anyone have more information about the best practice to implement flash
remoting
in the new AS3?
   Jono
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] LoadVars + sendAndLoad + PERL + FireFox = Problem

2005-11-15 Thread Roman Blöth

Philip Isaacs schrieb:
I've seen this posted on a number of websites, but not many useful 
solutions.


I built this nifty application in Flash that reads data from an Oracle 
database via
a Perl cgi script and loads this info back into Flash. The only 
problem is that I use a Mac
and everything works fine, but I was ask to test it on Windows and it 
doesn't work

with FireFox.

Has anyone ever encountered a problem with LoadVars using FireFox or 
Mozilla? 

Dear Philip,


we use this (LoadVars/SendAndLoad) quite often in our Flash-apps - and 
we all use FF, and it works fine. I didn't know there are problems - 
seems to me more like an encoding problem?!



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


Re: [Flashcoders] TWIPS

2005-11-15 Thread Michael Stuhr

Ryan Matsikas schrieb:


its actually 15 twips per pixel.. but the 1440/inch is correct
http://en.wikipedia.org/wiki/Twip

function twipsToPixel(p_twips:Number):Number {
return (p_twips / 15);
}
function pixelsToTwips(p_pixels:Number):Number {
return p_pixels * 15;
}

Although this isnt always accurate..

 


http://de.wikipedia.org/wiki/Twip

hth

mihca

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


Re: [Flashcoders] How to Read/Write Comments with Flash

2005-11-15 Thread Ryan - Grindstone Media

Spiros Gerokostas wrote:


any good idea flash+php or .asp

___

Flashcoders mailing list

Flashcoders@chattyfig.figleaf.com

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


use Matt's xml rpc client.. I assume you talking about writing a 
comments flashlet for your blog? check it out.


http://osflash.org/xmlrpcflash


To find out more about xml-rpc and how most popular blogs, including 
wordpress, movabletype and blogger support it search their site for 
either "blogger api" or "xml-rpc". One thing to note about the blogger 
api, it is definately capable of updateing your blog remotely, but I 
have not yet had the chance to look at how to integrate a flash app that 
allows users to read posts or add comments, so a little research is in 
order... If you do manage to find anything please share! I would be 
really keen to figure this out... Perhaps we could also use it to write 
an entire flash blog and still get to use the wordpress application on 
our server?


here's some more info:

http://www.sixapart.com/movabletype/docs/mtmanual_programmatic.html
http://code.blogger.com/archives/atom-docs.html
http://wordpress.org/tags/xml-rpc
http://codex.wordpress.org/XML-RPC_Support
http://www.dentedreality.com.au/bloggerapi/functions/
http://www.xmlrpc.com/
http://xmlrpc.scripting.com/directory/1568/bloggingApis


just another note... u are going to have to be very carefull about 
authentication here don't store any passwords inside your .swf, and 
do as much research as possible on the subject...




ciao
Ryan

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


Re: [Flashcoders] MXML2UI

2005-11-15 Thread Michael Klishin

Igor Ageyev wrote:

Hello flashcoders.

The first release of MXML2UI has left;)

This is Action Script 2.0 class library for generating user
interfaces of flash application (on client side). As language for describing UI 
it uses MXML.
This class package simplifies and accelerates development of flash UI.

More detailed information: http://ageyev.ru/mxml2ui 
Summary on sourceforge: https://sourceforge.net/projects/mxml2ui/


Realized features:

ContainersBox, VBox, HBox.
Controls  All UI components (possible to use not only components from 
MM).
Data modeling Data model (while without treelike hierarchy).
  Simple data validation
  (Validator, StringValidator, NumberValidator).
Event model   Almost all.
Managers  ToolTipManager.



That's pretty cool man. For sure :)

--
Michael "Antares" Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Flash MX Pro 2004 Not Picking Up Code Changes

2005-11-15 Thread Justin Schell
Yes, I'm writing an AS2 class for this component.

The Mike Chambers ASO clear command didn't help, still getting the same
behavior.

Justin


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric
dolecki
Sent: Tuesday, November 15, 2005 1:58 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash MX Pro 2004 Not Picking Up Code Changes

Assuming by AS2 you mean you are using class(es) for your component. You
need to delete your ASO files... check the archives about it - or use
Google. ASO are snapshots of your classes to help speed up subsequent
compiles.

Mike Chambers whipped up a command or something I think to help clear
those
out.

edolecki

On 11/15/05, Justin Schell <[EMAIL PROTECTED]> wrote:
>
> I am working on an FLA in Flash MX Pro 2004 in Windows XP that is
using
> mostly AS1 components, but the component that I am working on is AS2.
> After I have generated the SWF using ctrl-enter once or twice, when I
> make further changes to the source code, the changes are not picked up
> when I generate the SWF again, the previous code seems to be used. I
> can restart Flash and get it to generate correctly a couple of times,
> but then changes are no longer picked up. Usually the first time that
> changes are failed to be picked up, I can test the SWF correctly in
> debug mode once or twice, but again changes stop being picked up. It
> kind of slows down the workflow when I have to restart flash every 10
> minutes...
>
> Has anyone had this problem before or, more importantly, have a
> solution?
>
>
> Justin Schell
> Software Engineer, Crystal Xcelsius
> ___
> 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] Flash MX Pro 2004 Not Picking Up Code Changes

2005-11-15 Thread eric dolecki
Assuming by AS2 you mean you are using class(es) for your component. You
need to delete your ASO files... check the archives about it - or use
Google. ASO are snapshots of your classes to help speed up subsequent
compiles.

Mike Chambers whipped up a command or something I think to help clear those
out.

edolecki

On 11/15/05, Justin Schell <[EMAIL PROTECTED]> wrote:
>
> I am working on an FLA in Flash MX Pro 2004 in Windows XP that is using
> mostly AS1 components, but the component that I am working on is AS2.
> After I have generated the SWF using ctrl-enter once or twice, when I
> make further changes to the source code, the changes are not picked up
> when I generate the SWF again, the previous code seems to be used. I
> can restart Flash and get it to generate correctly a couple of times,
> but then changes are no longer picked up. Usually the first time that
> changes are failed to be picked up, I can test the SWF correctly in
> debug mode once or twice, but again changes stop being picked up. It
> kind of slows down the workflow when I have to restart flash every 10
> minutes...
>
> Has anyone had this problem before or, more importantly, have a
> solution?
>
>
> Justin Schell
> Software Engineer, Crystal Xcelsius
> ___
> 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] Flash MX Pro 2004 Not Picking Up Code Changes

2005-11-15 Thread Robert Chyko
Possible ASO cache problem?

Mike Chambers has a command that you run to clear the cache.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin
Schell
Sent: Tuesday, November 15, 2005 4:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash MX Pro 2004 Not Picking Up Code Changes


I am working on an FLA in Flash MX Pro 2004 in Windows XP that is using
mostly AS1 components, but the component that I am working on is AS2.
After I have generated the SWF using ctrl-enter once or twice, when I
make further changes to the source code, the changes are not picked up
when I generate the SWF again, the previous code seems to be used.  I
can restart Flash and get it to generate correctly a couple of times,
but then changes are no longer picked up.  Usually the first time that
changes are failed to be picked up, I can test the SWF correctly in
debug mode once or twice, but again changes stop being picked up.  It
kind of slows down the workflow when I have to restart flash every 10
minutes...

Has anyone had this problem before or, more importantly, have a
solution?
 

Justin Schell
Software Engineer, Crystal Xcelsius
___
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] Flash MX Pro 2004 Not Picking Up Code Changes

2005-11-15 Thread Justin Schell
I am working on an FLA in Flash MX Pro 2004 in Windows XP that is using
mostly AS1 components, but the component that I am working on is AS2.
After I have generated the SWF using ctrl-enter once or twice, when I
make further changes to the source code, the changes are not picked up
when I generate the SWF again, the previous code seems to be used.  I
can restart Flash and get it to generate correctly a couple of times,
but then changes are no longer picked up.  Usually the first time that
changes are failed to be picked up, I can test the SWF correctly in
debug mode once or twice, but again changes stop being picked up.  It
kind of slows down the workflow when I have to restart flash every 10
minutes...

Has anyone had this problem before or, more importantly, have a
solution?
 

Justin Schell
Software Engineer, Crystal Xcelsius
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How to Read/Write Comments with Flash

2005-11-15 Thread Spiros Gerokostas

any good idea flash+php or .asp
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sorensen squeeze shaving off 1 pixel

2005-11-15 Thread Matt Ganz
i just read an interesting thread about squeeze having difficulties
exporting to odd width/heights. i'm finding it hard to believe but
here's the link:

http://72.14.207.104/search?q=cache:iUOz9CfXDbgJ:p094.ezboard.com/fsorensonsqueezefrm2.showMessage%3FtopicID%3D635.topic+flv+squeeze+odd+number+of+pixels&hl=en&client=safari

On 11/15/05, Kris Hadlock <[EMAIL PROTECTED]> wrote:
> I've never had the issue, but what if you try publishing it as 166 x 370?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Matt Ganz
> Sent: Tuesday, November 15, 2005 2:07 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] sorensen squeeze shaving off 1 pixel
>
>
> hi.
>
> has anyone had any problems with sorensen squeeze shaving off 1 pixel
> from their exported flv?
>
> i set the dimensions to 166 x 369 and it keeps exporting to 166 x
> 368...i'm even testing by checking and unchecking 'maintain aspect
> ratio'.
>
> thanks. -- matt.
>
> ___
> 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] sorensen squeeze shaving off 1 pixel

2005-11-15 Thread Kris Hadlock
I've never had the issue, but what if you try publishing it as 166 x 370?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt Ganz
Sent: Tuesday, November 15, 2005 2:07 PM
To: Flashcoders mailing list
Subject: [Flashcoders] sorensen squeeze shaving off 1 pixel


hi.

has anyone had any problems with sorensen squeeze shaving off 1 pixel
from their exported flv?

i set the dimensions to 166 x 369 and it keeps exporting to 166 x
368...i'm even testing by checking and unchecking 'maintain aspect
ratio'.

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


Re: [Flashcoders] weird scaling issue in internet explorer and 1900 x 1200 resolution

2005-11-15 Thread Daniel Cascais
I tested it at a resolution of 1440x900 on both IE and FF. The output
I got was 1000x600.

On 15 Nov 2005 20:31:50 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm getting to the end of a project and have been testing inside eclipse and 
> in firefox, I come to test in internet exploder (windows) and its scaling my 
> move no matter what I set it to in the object tag.
>
> I've done a test swf that is 1000 x 600 px and if I view in in firefox it 
> looks great if in explorer its not scaled but the stage is bigger than its 
> supposed to be, I added a button to get the stage height and width and the 
> scale mode and in firefox it displays:
>
> width= 1000height 600 scale noScale
>
> in IE it displays
>
> width= 1250height 750 scale noScale
>
>
> http://www.bluetube.com/temp/flash-embed-test/EMC.html
>
> I've tried this on other machines and it appears to work how it should and 
> the only thing I can put it down to is I run a dell 9300 with a 17" display 
> that runs 1900 x 1200 pixels, could this be an issue the flash player in 
> internet explorer is not addressing ?
>
>
> Grant
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] sorensen squeeze shaving off 1 pixel

2005-11-15 Thread Matt Ganz
hi.

has anyone had any problems with sorensen squeeze shaving off 1 pixel
from their exported flv?

i set the dimensions to 166 x 369 and it keeps exporting to 166 x
368...i'm even testing by checking and unchecking 'maintain aspect
ratio'.

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


[Flashcoders] New Website

2005-11-15 Thread Leonardo Barbosa


http://www.academia.nu

Hope you enjoy.




About the site
--
Watch TV, Browse the Web.
The intention here is to introduce the concept behind the services 
offered by the Grupo Academia through its new media division.


Interactivity
Flash 8

Shooting
Sony 1080 HDV

Post Production
Final Cut, Smoke and After Effects



Cheers,

Leonardo Barbosa

--
Leonardo Barbosa
Interactive Developer :: New Media Division
Grupo Academia
[EMAIL PROTECTED]


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


Re: [Flashcoders] Flash 8 FLV, audio sync?

2005-11-15 Thread Matthew Gaiser

Thats great to hear- thanks!
I'll see if I can get the raw video source and try from there, thanks  
again.


Best Regards, Matt

On Nov 15, 2005, at 3:37 PM, Mike West wrote:

That's definitely a possibility—I've never had sync issues using  
external FLVs encoded from 30 fps Quicktime or AVIs


On Nov 15, 2005, at 1:25 PM, Matthew Gaiser wrote:



On Nov 15, 2005, at 3:08 PM, Mike West wrote:

Are these loaded from external FLVs or are you placing them on  
the timeline?
I've seen that issue with video on the timeline before, but not  
using external FLV files and AS




They are external flv, loaded into flash.

//
On Nov 15, 2005, at 3:07 PM, Radley Marx wrote:



I've done 60 min FLVs with no sync issues (using cleaner, squeeze).
Obvious question: are you compressing your audio & video to 30fps  
(or other integer-based rate) instead of 29.97? Is your  
compressed flv frame rate the same as your Flash movie's frame rate?
I can't really offer much more that this. The only time I had  
problems was the first time when I accidently compressed at 29.97.

-radley




Yes when I make the flv I am compressing it to flv as 30 fps (same  
as flash movie)


Possibly the issue is because they are compressed first before I  
am getting them? I am getting them as mpg at 29.97, then making  
them into flv with flash.



___
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] Flash 8 FLV, audio sync?

2005-11-15 Thread Mike West
That's definitely a possibility—I've never had sync issues using  
external FLVs encoded from 30 fps Quicktime or AVIs


On Nov 15, 2005, at 1:25 PM, Matthew Gaiser wrote:


On Nov 15, 2005, at 3:08 PM, Mike West wrote:
Are these loaded from external FLVs or are you placing them on the  
timeline?
I've seen that issue with video on the timeline before, but not  
using external FLV files and AS


They are external flv, loaded into flash.

//
On Nov 15, 2005, at 3:07 PM, Radley Marx wrote:


I've done 60 min FLVs with no sync issues (using cleaner, squeeze).
Obvious question: are you compressing your audio & video to 30fps  
(or other integer-based rate) instead of 29.97? Is your compressed  
flv frame rate the same as your Flash movie's frame rate?
I can't really offer much more that this. The only time I had  
problems was the first time when I accidently compressed at 29.97.

-radley



Yes when I make the flv I am compressing it to flv as 30 fps (same  
as flash movie)


Possibly the issue is because they are compressed first before I am  
getting them? I am getting them as mpg at 29.97, then making them  
into flv with flash.



___
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] weird scaling issue in internet explorer and 1900 x 1200 resolution

2005-11-15 Thread grant
I'm getting to the end of a project and have been testing inside eclipse and in 
firefox, I come to test in internet exploder (windows) and its scaling my move 
no matter what I set it to in the object tag.

I've done a test swf that is 1000 x 600 px and if I view in in firefox it looks 
great if in explorer its not scaled but the stage is bigger than its supposed 
to be, I added a button to get the stage height and width and the scale mode 
and in firefox it displays:

width= 1000height 600 scale noScale

in IE it displays

width= 1250height 750 scale noScale


http://www.bluetube.com/temp/flash-embed-test/EMC.html

I've tried this on other machines and it appears to work how it should and the 
only thing I can put it down to is I run a dell 9300 with a 17" display that 
runs 1900 x 1200 pixels, could this be an issue the flash player in internet 
explorer is not addressing ?


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


Re: [Flashcoders] Flash 8 FLV, audio sync?

2005-11-15 Thread Matthew Gaiser

On Nov 15, 2005, at 3:08 PM, Mike West wrote:
Are these loaded from external FLVs or are you placing them on the  
timeline?
I've seen that issue with video on the timeline before, but not  
using external FLV files and AS


They are external flv, loaded into flash.

//
On Nov 15, 2005, at 3:07 PM, Radley Marx wrote:


I've done 60 min FLVs with no sync issues (using cleaner, squeeze).
Obvious question: are you compressing your audio & video to 30fps  
(or other integer-based rate) instead of 29.97? Is your compressed  
flv frame rate the same as your Flash movie's frame rate?
I can't really offer much more that this. The only time I had  
problems was the first time when I accidently compressed at 29.97.

-radley



Yes when I make the flv I am compressing it to flv as 30 fps (same as  
flash movie)


Possibly the issue is because they are compressed first before I am  
getting them? I am getting them as mpg at 29.97, then making them  
into flv with flash.



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


AW: [Flashcoders] skinnig the listbuttons of mcom combobox (how)

2005-11-15 Thread marcel vogt
thx a lot that wrked just perfect

marcel 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von David
Rorex
Gesendet: Samstag, 12. November 2005 01:22
An: Flashcoders mailing list
Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how)

You have to make a new "Row Renderer" to change the look of the indivdual
items inside the drop down in the combobox.
See here for info:
http://www.metaliq.com/mcom/getting_started.htm#rowRenderers

-David R


On 11/11/05, marcel vogt <[EMAIL PROTECTED]> wrote:
>
> rayn, any idea how to skin that list row?
>
>
>
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan 
> Matsikas
> Gesendet: Freitag, 11. November 2005 23:01
> An: Flashcoders mailing list
> Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox 
> (how)
>
> The "dropdown" list for the ComboBox is a List component and uses the 
> UIScrollBar, so if the assets are in yer library yer done..
>
> Is this not working for you, if so what exactly is happening.. can you 
> provide me a fla with yer assets so i can test..
>
> - Ryan
>
> On 11/11/05, Lanny McNie <[EMAIL PROTECTED]> wrote:
> >
> > Hey
> >
> > The ComboBox clickable button is the asset with linkage
> > > com.metaliq.controls.ComboBox:ComboButton
> >
> > Regards,
> > - Lanny
> >
> > On 11/11/05, marcel vogt <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > the scrollbar works also fine and thats not the problem it is the 
> > > list box of the combo box
> > >
> > > i hope you can provide me help with that, i tried a few hours now
> > >
> > >
> > >
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Im Auftrag von 
> > > Ryan Matsikas
> > > Gesendet: Freitag, 11. November 2005 22:39
> > > An: Flashcoders mailing list
> > > Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom 
> > > combobox
> > (how)
> > >
> > > thats the scrollbar on a list box, you'll need to skin that aswell..
> > >
> > > You had another thread and emailed me off list saying you got a
> > scrollbar
> > > skin working.. did you not?
> > >
> > > Anyway here are the linkages for the scrollbar, 
> > > com.metaliq.controls.UIScrollBar:ThumbBottom
> > > com.metaliq.controls.UIScrollBar:ThumbGrip
> > > com.metaliq.controls.UIScrollBar:ThumbMiddle
> > > com.metaliq.controls.UIScrollBar:ThumbTop
> > > com.metaliq.controls.UIScrollBar:TrackBottom
> > > com.metaliq.controls.UIScrollBar:TrackMiddle
> > > com.metaliq.controls.UIScrollBar:TrackTop
> > > com.metaliq.controls.UIScrollBar:DownArrow
> > > com.metaliq.controls.UIScrollBar:UpArrow
> > >
> > > That should cover it..
> > > Also, none of these assets have classes binded to them..
> > >
> > > Cheers,
> > > Ryan
> > >
> > > On 11/11/05, marcel vogt <[EMAIL PROTECTED]> wrote:
> > > >
> > > > hi
> > > >
> > > > this works fine
> > > > but i want to change the buttons of the box that opens when i 
> > > > click that button.
> > > >
> > > > do also know how to make that
> > > >
> > > > thx
> > > > marcel
> > > >
> > > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] Im Auftrag 
> > > > von Ryan Matsikas
> > > > Gesendet: Freitag, 11. November 2005 22:15
> > > > An: Flashcoders mailing list
> > > > Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom 
> > > > combobox
> > > > (how)
> > > >
> > > > You'll wanna create a movieclip in yer library to replace the 
> > > > compilied asset.
> > > >
> > > > Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton
> > > > and its should use com.metaliq.controls.GraphicButton as its as2 
> > > > class
> > > >
> > > > You'll need to setup yer timeline to work with the GraphicButton 
> > > > class, it has 4 states, up, over, down & disabled.. make frames 
> > > > for those states and labels..
> > > >
> > > > Hope that helps,
> > > > Ryan Matsikas
> > > >
> > > > On 11/11/05, marcel vogt <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > hi
> > > > >
> > > > > i know it is possible somehow to skin the listboxbuttons of a 
> > > > > combobox of mcom components. but i do not get it and the docs 
> > > > > are not giving an example of that. has anyone expirience in 
> > > > > skinning that combobox listbuttons or the listbox of mcom.
> > > > >
> > > > > thx
> > > > > marcel
> > > > >
> > > > >
> > > > > ___
> > > > > 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 
> > 

Re: [Flashcoders] Flash 8 FLV, audio sync?

2005-11-15 Thread Mike West
Are these loaded from external FLVs or are you placing them on the  
timeline?
I've seen that issue with video on the timeline before, but not using  
external FLV files and AS


On Nov 15, 2005, at 9:16 AM, Matthew Gaiser wrote:


Hi all,

I was wondering if anyone knows or can point to me to information  
on how to fix the issue of audio in flash flv falling out of sync  
on longer videos (more than a few minutes).
I work on cd-roms that ar a mixture of flash and video and would  
love to be able to do these in all Flash.


Because of longer videos falling out of sync with the audio  
with .flvs, I have had to use director to build these and jump  
between .swf modules in director and video (and due to clients  
machines have to use mpeg1 for the video)


Does anyone know if this issue has been fixed in Flash 8?  In flash  
7 I have tried just about every way of creating the flv possible,  
importing into flash and exporting the flv, using squeeze, etc, and  
the audio always seems to fall out of sync on the longer videos.   
Any help or info is greatly appreciated!


Cheers- Matt
___
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] Flash 8 FLV, audio sync?

2005-11-15 Thread Radley Marx



I've done 60 min FLVs with no sync issues (using cleaner, squeeze).

Obvious question: are you compressing your audio & video to 30fps (or  
other integer-based rate) instead of 29.97? Is your compressed flv  
frame rate the same as your Flash movie's frame rate?


I can't really offer much more that this. The only time I had  
problems was the first time when I accidently compressed at 29.97.



-radley


On Nov 15, 2005, at 8:16 AM, Matthew Gaiser wrote:


Hi all,

I was wondering if anyone knows or can point to me to information  
on how to fix the issue of audio in flash flv falling out of sync  
on longer videos (more than a few minutes).
I work on cd-roms that ar a mixture of flash and video and would  
love to be able to do these in all Flash.


Because of longer videos falling out of sync with the audio  
with .flvs, I have had to use director to build these and jump  
between .swf modules in director and video (and due to clients  
machines have to use mpeg1 for the video)


Does anyone know if this issue has been fixed in Flash 8?  In flash  
7 I have tried just about every way of creating the flv possible,  
importing into flash and exporting the flv, using squeeze, etc, and  
the audio always seems to fall out of sync on the longer videos.   
Any help or info is greatly appreciated!


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






 
--

Radley Marx
[EMAIL PROTECTED]
310.220.4088
http://www.radleymarx.com
 
--





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


[Flashcoders] LoadVars + sendAndLoad + PERL + FireFox = Problem

2005-11-15 Thread Philip Isaacs
I've seen this posted on a number of websites, but not many useful 
solutions.


I built this nifty application in Flash that reads data from an Oracle 
database via
a Perl cgi script and loads this info back into Flash. The only problem 
is that I use a Mac
and everything works fine, but I was ask to test it on Windows and it 
doesn't work

with FireFox.

Has anyone ever encountered a problem with LoadVars using FireFox or 
Mozilla?


If so what have you discovered.

Thanks is advance.

--
Philip Isaacs
Academic Computing Multimedia Developer
Wesleyan University
553 Exeley Science Center
Middletown, CT 06459
860-685-2754

http://learningobjects.wesleyan.edu

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


Re: [Flashcoders] External text from XML file including superscriptanditalic

2005-11-15 Thread Jim Kremens
This has worked for me in the past as well. Basically, the rule is that if
you can actually *see* the character in your xml file, and you've set things
up correctly, Flash will render the character.
 However, I have a project coming up where we'll need to render special
characters from the actual Unicode sequences. (So the files will not have
human-readable characters, just Unicode for special chars). Has anyone had
any luck making that work?
 Jim Kremens

 On 11/15/05, Keith Reinfeld <[EMAIL PROTECTED]> wrote:
>
> Paul,
>
> Looks like the "TM" immediately following "ProductName" didn't survive the
> e-mail process.
>
> I also wanted to mention that, of course, your textfield needs to be set
> to
> html = true and you must assign the nodeValue from the XML document to its
> htmlText property.
>
> -Keith
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Keith
> Reinfeld
> Sent: Tuesday, November 15, 2005 1:12 PM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] External text from XML file including
> superscriptanditalic
>
> Paul,
>
> In your XML document:
>
> (Watch the wrap.)
>
> 
>
> You can enter the "TM" directly into the XML document by holding down Alt
> and typing 0153 on the numberpad.
>
> HTH
>
> -Keith
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul
> Steven
> Sent: Tuesday, November 15, 2005 11:01 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] External text from XML file including superscript
> anditalic
>
> I have a flash page that includes several sections of text that are read
> in
> from an XML file.
>
> I have worked out how to do this assuming all the text formatting is one
> style. However I would like some of the text to be in italic and it to
> include the "TM" as superscript.
>
> Ideally I could just write the text in the xml file as I want it to appear
> on screen in the flash movie. Can anyone advise me if this is possible and
> how. Or if it isnt possible then what is my best option.
>
> Basically the client will be updating the content of the site by replacing
> the xml files and the text needs to have italics and superscript. I do
> hope
> this is possible:)
>
> Many thanks
>
> Paul
>
> ___
> 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] External text from XML file including superscriptanditalic

2005-11-15 Thread Keith Reinfeld
Paul, 

Looks like the "TM" immediately following "ProductName" didn't survive the
e-mail process. 

I also wanted to mention that, of course, your textfield needs to be set to
html = true and you must assign the nodeValue from the XML document to its
htmlText property.

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Reinfeld
Sent: Tuesday, November 15, 2005 1:12 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] External text from XML file including
superscriptanditalic

Paul, 

In your XML document: 

(Watch the wrap.)

 

You can enter the "TM" directly into the XML document by holding down Alt
and typing 0153 on the numberpad. 

HTH

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: Tuesday, November 15, 2005 11:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders] External text from XML file including superscript
anditalic

I have a flash page that includes several sections of text that are read in
from an XML file.

I have worked out how to do this assuming all the text formatting is one
style. However I would like some of the text to be in italic and it to
include the "TM" as superscript.

Ideally I could just write the text in the xml file as I want it to appear
on screen in the flash movie. Can anyone advise me if this is possible and
how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by replacing
the xml files and the text needs to have italics and superscript. I do hope
this is possible:)

Many thanks

Paul

___
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] External text from XML file including superscript anditalic

2005-11-15 Thread Keith Reinfeld
Paul, 

In your XML document: 

(Watch the wrap.)

 

You can enter the "TM" directly into the XML document by holding down Alt
and typing 0153 on the numberpad. 

HTH

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: Tuesday, November 15, 2005 11:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders] External text from XML file including superscript
anditalic

I have a flash page that includes several sections of text that are read in
from an XML file.

I have worked out how to do this assuming all the text formatting is one
style. However I would like some of the text to be in italic and it to
include the "TM" as superscript.

Ideally I could just write the text in the xml file as I want it to appear
on screen in the flash movie. Can anyone advise me if this is possible and
how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by replacing
the xml files and the text needs to have italics and superscript. I do hope
this is possible:)

Many thanks

Paul

___
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: Flash 8 FLV, audio sync?

2005-11-15 Thread Karina Steffens
Hi Matt,

We had the same problem on our project, and the problem was fixed by using a
third party plugin (SWISHvideo2). This was with Flash 7 - I don't know if it
was fixed in 8, I certainly hope so. 

Karina


> -Original Message-
> From: Matthew Gaiser [mailto:[EMAIL PROTECTED] 
> Sent: 15 November 2005 19:05
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Re: Flash 8 FLV, audio sync?
> 
> The videos  are about 3-5 minutes in length.  After around 
> 2-3 minutes they fall out of sync
> 
> Best Regards,
> Matt
> 
> On Nov 15, 2005, at 1:28 PM, John Olson wrote:
> 
> > Matt --
> >
> > I don't have an answer for you, but what length of videos are you 
> > having issues with? I was under the impression that FLV 
> video was much 
> > much better with syncing.
> >
> > - John
> >
> > On 11/15/05, [EMAIL PROTECTED]
> >
> >>
> >>
> >> --
> >>
> >> Message: 4
> >> Date: Tue, 15 Nov 2005 11:16:32 -0500
> >> From: Matthew Gaiser <[EMAIL PROTECTED]>
> >> Subject: [Flashcoders] Flash 8 FLV, audio sync?
> >> To: Flashcoders mailing list 
> >> Message-ID:
> >> <[EMAIL PROTECTED]>
> >> Content-Type: text/plain; charset=US-ASCII; delsp=yes; 
> format=flowed
> >>
> >> Hi all,
> >>
> >> I was wondering if anyone knows or can point to me to 
> information on 
> >> how to fix the issue of audio in flash flv falling out of sync on 
> >> longer videos (more than a few minutes).
> >> I work on cd-roms that ar a mixture of flash and video and 
> would love 
> >> to be able to do these in all Flash.
> >>
> >> Because of longer videos falling out of sync with the audio with 
> >> .flvs, I have had to use director to build these and jump between 
> >> .swf modules in director and video (and due to clients 
> machines have 
> >> to use mpeg1 for the video)
> >>
> >> Does anyone know if this issue has been fixed in Flash 8? 
> In flash 7 
> >> I have tried just about every way of creating the flv possible, 
> >> importing into flash and exporting the flv, using squeeze, 
> etc, and 
> >> the audio always seems to fall out of sync on the longer 
> videos. Any 
> >> help or info is greatly appreciated!
> >>
> >> Cheers- Matt
> >>
> >>
> >>
> >>
> > ___
> > 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] Re: Flash 8 FLV, audio sync?

2005-11-15 Thread Matthew Gaiser
The videos  are about 3-5 minutes in length.  After around 2-3  
minutes they fall out of sync


Best Regards,
Matt

On Nov 15, 2005, at 1:28 PM, John Olson wrote:


Matt --

I don't have an answer for you, but what length of videos are you  
having
issues with? I was under the impression that FLV video was much  
much better

with syncing.

- John

On 11/15/05, [EMAIL PROTECTED]




--

Message: 4
Date: Tue, 15 Nov 2005 11:16:32 -0500
From: Matthew Gaiser <[EMAIL PROTECTED]>
Subject: [Flashcoders] Flash 8 FLV, audio sync?
To: Flashcoders mailing list 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi all,

I was wondering if anyone knows or can point to me to information on
how to fix the issue of audio in flash flv falling out of sync on
longer videos (more than a few minutes).
I work on cd-roms that ar a mixture of flash and video and would love
to be able to do these in all Flash.

Because of longer videos falling out of sync with the audio
with .flvs, I have had to use director to build these and jump
between .swf modules in director and video (and due to clients
machines have to use mpeg1 for the video)

Does anyone know if this issue has been fixed in Flash 8? In flash 7
I have tried just about every way of creating the flv possible,
importing into flash and exporting the flv, using squeeze, etc, and
the audio always seems to fall out of sync on the longer videos. Any
help or info is greatly appreciated!

Cheers- Matt





___
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] remoting and record-sets and paging

2005-11-15 Thread David Knape
> > Unless a major upgrade has been done to amfphp, it does not support
> > (natively) pageable recordsets. I could be wrong though.

In fact, a major upgrade has been done. :)

I've successfully used the latest amfphp with ADODB for PHP, and it
works very well.  In your gateway.php, you need to add the adapter
mapping for adodb resultsets. Use whatever classname is associated
with the adodb connection type you are using.

$gateway->addAdapterMapping('adorecordset_mysql', 'adodb');

Then, make sure you have a DB connection open in your service
somewhere via and include or in the constructor or something...

Here, I use global $DB.

// include adodb...
require_once '/path/to/adodb/adodb.inc.php';
// INIT ADODB CONNECTION
global $DB;
$DB = &ADONewConnection( 'mysql' );
if( !is_object($DB) || !$DB->Connect( 'localhost', 'root', '',
'northwind') ) {
NetDebug::trace("Unable to connect to database.  ".$DB->ErrorMsg());
}

Then, along with your service method, you need to have a _count method
that can return the total number of records.  ADODB is nice as it has
paging functionality built in, but you need to convert from the offset
argument used with amfphp to the page number used by adodb's
PageExecute.  ($pageNum = ($limit+$offset)/$limit;)  Here is a sample
service...

/*
Pageable Recordset Demo with ADODB and MySQL
Database is MySQL port of Northwind DB.
*/

class Northwind {
function Northwind() {
$this->methodTable = array(
"getProducts" => array("access"=>"remote", "pagesize"=>5)
);
}

function getProducts($offset=0, $limit=5) {
global $DB;
$DB->SetFetchMode(ADODB_FETCH_ASSOC);
$this->getProducts_countQuery = 'SELECT COUNT(*) FROM products';
$sql = 'SELECT ProductID, ProductName, UnitPrice FROM products';
$pageNum = ($limit+$offset)/$limit; // 1=first page, 2=second page
if($rs = $DB->PageExecute($sql, $limit, $pageNum) {
return $rs;
} else {
NetDebug::trace( $DB->ErrorMsg() );
return false;
}
}

function getProducts_count() {
global $DB;
return $DB->GetOne( $this->getProducts_countQuery );
}
}


//---

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


[Flashcoders] Re: Flash 8 FLV, audio sync?

2005-11-15 Thread John Olson
Matt --

I don't have an answer for you, but what length of videos are you having
issues with? I was under the impression that FLV video was much much better
with syncing.

- John

On 11/15/05, [EMAIL PROTECTED]
>
>
> --
>
> Message: 4
> Date: Tue, 15 Nov 2005 11:16:32 -0500
> From: Matthew Gaiser <[EMAIL PROTECTED]>
> Subject: [Flashcoders] Flash 8 FLV, audio sync?
> To: Flashcoders mailing list 
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Hi all,
>
> I was wondering if anyone knows or can point to me to information on
> how to fix the issue of audio in flash flv falling out of sync on
> longer videos (more than a few minutes).
> I work on cd-roms that ar a mixture of flash and video and would love
> to be able to do these in all Flash.
>
> Because of longer videos falling out of sync with the audio
> with .flvs, I have had to use director to build these and jump
> between .swf modules in director and video (and due to clients
> machines have to use mpeg1 for the video)
>
> Does anyone know if this issue has been fixed in Flash 8? In flash 7
> I have tried just about every way of creating the flv possible,
> importing into flash and exporting the flv, using squeeze, etc, and
> the audio always seems to fall out of sync on the longer videos. Any
> help or info is greatly appreciated!
>
> Cheers- Matt
>
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] return and play to cue point on a flv

2005-11-15 Thread William J. Miller
I have a movie that i need to play through but at the end go back to  
a section in the flv and start playing again...like a loop but not  
from the beginning.  I have a cuepoint on the area of the flv i want  
to return and pay from and I have a cuepoint  at the end of the flv.


This is the code I have but it does not seem to work:


var listenerObject:Object = new Object();
listenerObject.end = function(eventObject:Object):Void {
hss.seekToNavCuePoint("repeat");
hss.play();
}
hss.addEventListener("end", listenerObject);
hss.contentPath = "http://www.broadbahn.net/flash/hss.flv";;



thanks for the help and advice
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] New Hire Resources list. Input needed.

2005-11-15 Thread Rich Rodecker
Design Patterns:
Head First Design Patterns
http://www.oreilly.com/catalog/hfdesignpat/


On 11/14/05, Muzak <[EMAIL PROTECTED]> wrote:
> Books:
> essential actionscript 2.0 (eas2)
> http://www.moock.org/eas2/
>
> Flash Remoting (AS1 I think though)
> http://www.flash-remoting.com/
> http://www.oreillynet.com/pub/a/javascript/2003/09/16/flashremoting.html
> http://www.oreilly.com/catalog/flashremoting/index.html
>
> ARP:
> http://www.ariaware.com/products/arp/
> http://osflash.org/arp
>
> MVC:
> http://www.object-arts.com/EducationCentre/Overviews/MVC.htm
> http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html
> http://www.ccmrc.ucsb.edu/~stp/PostScript/mvc.pdf
> http://faculty.washington.edu/hanks/Courses/360/a05/Handouts/mvc_observer.pdf
> http://c2.com/cgi/wiki?ModelViewController
>
> regards,
> Muzak
>
>
> - Original Message -
> From: "Wade Arnold" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Monday, November 14, 2005 6:22 PM
> Subject: [Flashcoders] New Hire Resources list. Input needed.
>
>
> I am working on a list of resources that I would like to give to people
> that are migrating to flash from other languages. We have just hired a
> couple people that are CS graduates and others that have been in the
> java world for the last ten years. Any feedback on what you would want
> your new hires to review?
>
>
> ___
> 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] WebService Class Help

2005-11-15 Thread Doug Coning
I found my own answer in using arguments to determine the amount of
parameters passed then setting up a switch statement to select the
correct call...

Doug Coning 
Software Developer
FORUM Solutions, LLC


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Doug Coning
> Sent: Tuesday, November 15, 2005 10:21 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] WebService Class Help
> 
> Greetings!
> 
> I'm trying to setup a WebService class to handle multiple operations.
> Some operations will have many parameters, while others may have none.
> However, I'm having problems figuring out how to pass either an array
or
> an object to the WebService class.  Below is an example that sends 2
> strings.  How could I change the code below to pass an array
containing
> the two country strings and then pass that into the callback object?
> 
> import mx.services.WebService;
> //  VARIABLES
> var country1:String = "USA";
> var country2:String = "Canada";
> 
> // WEB SERVICE
> function WebCall(str1:String, str2:String){
>   var WSDL_URL:String =
> "http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl";;
>   var wsExRate:WebService = new WebService(WSDL_URL);
>   var oCallback:Object = wsExRate.getRate(country1, country2);
>   oCallback.onResult = function(nRate):Void {
>   trace("Rate for " + country1 + " to " + country2 + " = "
> + nRate);
>   };
> }
> WebCall(country1, country2);
> 
> 
> THANKS FOR ANY HELP!!!
> 
> Doug Coning
> Software Developer
> FORUM Solutions, LLC
> 
> This e-mail and any attachment(s) are intended for the specified
> recipient(s) only and are legally protected.  If you have received
this
> communication in error, please "reply to" sender's e-mail address with
> notification of the error and then destroy this message in all
electronic
> and physical forms.
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
This e-mail and any attachment(s) are intended for the specified recipient(s) 
only and are legally protected.  If you have received this communication in 
error, please "reply to" sender's e-mail address with notification of the error 
and then destroy this message in all electronic and physical forms.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Miles Thompson


JesterXL / Muzak,

Duh! I was so bewitched by the components I forgot the basics.

Sorry - Miles

At 01:16 PM 11/15/2005, you wrote:

TextArea is a Flash MX 2004 & Flash 8 component.

TextField is a built-in class like Muzak said.

- Original Message -
From: "Muzak" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, November 15, 2005 12:13 PM
Subject: Re: [Flashcoders] TextArea - Impossible requests?


It's not a component. It's a built-in class.
You can either draw one on stage using the Text tool or create one using
ActionScript.
Check the manual for TextField.

regards,
Muzak

- Original Message -
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, November 15, 2005 5:27 PM
Subject: Re: [Flashcoders] TextArea - Impossible requests?


> Muzak,
>
> Is that the TextInput component, or something else? I didn't see that it
> had an .html property.
>
> Did I neglect to include something when I installed Flash? Or is TextArea
> an MX control?
>
> Regards - Miles
>
> At 11:22 AM 11/15/2005, you wrote:
>>And since you don't need the scrollbars, use a normal TextField instead of
>>a TextArea.
>>
>>regards,
>>Muzak
>>


___
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] ComboBox dropdown/listbox height? (not row height)

2005-11-15 Thread Ryan Matsikas
comboBox.rowCount = x; that should make the list always show x visible rows,
so yer hieght would be x * rowHeight.

On 11/15/05, Matthew Gaiser <[EMAIL PROTECTED]> wrote:
>
> Anyone know a way to dynamically set the height of the combobox's
> dropdown (listbox)?
> I can set its row height, but would love to be able to set the height
> of the dropdown part itself (how far it drops down)
>
> Best Regards,
> Matt
> ___
> 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] TextArea - Impossible requests?

2005-11-15 Thread JesterXL
TextArea is a Flash MX 2004 & Flash 8 component.

TextField is a built-in class like Muzak said.

- Original Message - 
From: "Muzak" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, November 15, 2005 12:13 PM
Subject: Re: [Flashcoders] TextArea - Impossible requests?


It's not a component. It's a built-in class.
You can either draw one on stage using the Text tool or create one using 
ActionScript.
Check the manual for TextField.

regards,
Muzak

- Original Message - 
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, November 15, 2005 5:27 PM
Subject: Re: [Flashcoders] TextArea - Impossible requests?


> Muzak,
>
> Is that the TextInput component, or something else? I didn't see that it 
> had an .html property.
>
> Did I neglect to include something when I installed Flash? Or is TextArea 
> an MX control?
>
> Regards - Miles
>
> At 11:22 AM 11/15/2005, you wrote:
>>And since you don't need the scrollbars, use a normal TextField instead of 
>>a TextArea.
>>
>>regards,
>>Muzak
>>


___
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] TextArea - Impossible requests?

2005-11-15 Thread Muzak
It's not a component. It's a built-in class.
You can either draw one on stage using the Text tool or create one using 
ActionScript.
Check the manual for TextField.

regards,
Muzak

- Original Message - 
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, November 15, 2005 5:27 PM
Subject: Re: [Flashcoders] TextArea - Impossible requests?


> Muzak,
>
> Is that the TextInput component, or something else? I didn't see that it had 
> an .html property.
>
> Did I neglect to include something when I installed Flash? Or is TextArea an 
> MX control?
>
> Regards - Miles
>
> At 11:22 AM 11/15/2005, you wrote:
>>And since you don't need the scrollbars, use a normal TextField instead of a 
>>TextArea.
>>
>>regards,
>>Muzak
>>


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


SV: [Flashcoders] get, setTextFormat(), shared fonts and dynamic text fields

2005-11-15 Thread Martin Baltzer
Hi All,
 
I tried to get trough the translated version of www.zarate.tv and I didn't 
understand that much :)
 
But as far as I understood the following issues where unsolved - correct?
 
- "It cannot have in the film created text fields from the IDE (not even 
static) with the same source that the one that is going away to load..."
 
- It is not possible to use Bold or Italic styles
 
I just wonder since I have just found the solution for those issues...so I 
guess the question is if this is common knowledge or do people still think its 
unsolveable?
 
If anyone is interested in the solution just say so and I'll explain:)
 
Cheers
Martin Baltzer
 
 
 



Fra: [EMAIL PROTECTED] på vegne af Zárate
Sendt: ti 15-11-2005 14:47
Til: Flashcoders mailing list
Emne: Re: [Flashcoders] get, setTextFormat(),shared fonts and dynamic text 
fields



Hi!

Thanks Cedric! I've to say that Martin Klasson has found some problems
with the hack of one single file per font[1], and i haven't had time
enough to check it. Hope i will soon.

Anyway, i think it still can be usefull.

Bye!

[1] - 
http://chattyfig.figleaf.com/pipermail/flashcoders/2005-November/153136.html

On 11/15/05, Cedric Muller <[EMAIL PROTECTED]> wrote:
> take a look here & mind the wrap! (this is babelfish translated from
> spanish to english, so please be imaginative)
> http://babelfish.altavista.com/babelfish/trurl_pagecontent?
> lp=es_en&url=http%3A%2F%2Fwww.zarate.tv%2Farticulos%2Fshared_fonts%2Find
> ex.php
> read the small text and look at the ZIP file
>
> Description:
> You can share fonts (or other assets) through SWFs *without* ever
> linking anything in the FLAs
>
> This is the solution Macromedia should have come up with!
> Funny thing is that it is already here, even Macromedia didn't think of
> it ;)
>
> Thanks again to Zarate!
> Cedrci
>
>
> > Hi guys,
> >
> > I'm trying to solve the shared library, dynamic fonts thing.
> >
> > I have a shared library with some fonts contained in MovieClips.
> > Everything has instance names. Everything is set with linkage
> > identifiers and set to export.
> >
> > In my other FLA I bring the shared library in and access the text
> > format of the text brought in.
> > I then create a text field dynamically and try to set the format
> > gained earlier onto the new field.
> >
> > But guess what - it does not work.
> >
> > Any ideas?
> >
> > (It works if you use the shared library 'properly' eg using File>>
> > Import >> Open External Library,
> > but I do not want to do that - I only want to bring in the fonts as
> > and when required.)
> >
> > The text has the rough format apart from the font is incorrect. =(
> >
> > Here's my code. (I've left in all my other attempts)
> >
> > I've tried to embed and not to embed
> >
> > Regards
> >
> > Steve
> >
> >
> > /// CODE //
> >
> >
> > // import a .swf containing movie clips with dynamic text fields in
> > them with embedded fonts
> > // the mcs in the Library are set to have;
> > //  - linkage identifiers
> > // - export for runtime sharing selected
> > // - export in first frame seleced
> >
> >
> >
> > // BASIC LOADING OF EXTERNAL .swf FONT CONTAINING FILE /
> > var container:MovieClip = createEmptyMovieClip("container",
> > getNextHighestDepth());
> > var mcLoader:MovieClipLoader = new MovieClipLoader();
> > mcLoader.addListener(this);
> > mcLoader.loadClip("designer_fonts.swf", container);
> >
> > function onLoadInit(mc:MovieClip) {
> > trace("onLoadInit: " + mc);
> >   // wait - just in case it's as not fully loaded timing issue
> >   makeText_INT = setInterval(maketext, 1000)
> >   changethetext();
> > }
> >  END OF LOADING /
> >
> >
> >
> > / the guts of
> > it
> > function maketext(){
> >   clearInterval(makeText_INT);
> >   //_level0.attachMovie("ag_medium", "newtext", 150 );
> >   //trace( "newtext1 = " + _level0.newtext1 );
> >   _level0.createTextField("newtext", 1, 150, 150, 200, 200 );
> >
> >   // tf = new TextFormat();
> >
> >   // get the format off of the shared text fields
> >   //var tf:TextFormat = container.ag_book.book.getTextFormat();
> >   var tf:TextFormat = container.ag_book.book.getTextFormat();
> >   tf.size = 50;
> >   //tf.font = "AvantGarde Bk BT";
> >
> >
> >   trace("tf.font = "+tf.font);
> >   // set the format saved onto the 'vv' text
> >   // newtext.setTextFormat(tf);
> >   newtext.autoSize = true;
> >
> >   newtext.text = "a dynamic field";
> >   //newtext.embedFonts = true;
> >   newtext.setTextFormat(tf);
> >   //newtext.setNewTextFormat(tf);
> >   for ( var props in tf ) { trace( props + " = " + tf[props]); };
> >
> > }
> > /*
> >
> > this is the trace
> >
> > onLoadInit: _level0.container
> > tf.font = AvantGarde Bk BT
> > letterSpacing = 0
> > kerning = fa

Re: [Flashcoders] Eclipse/FDT/Subclipse weirdness

2005-11-15 Thread Jim Kremens
Thanks all for the advice.
 Of course I tried launching with -clean and team --> cleanup, to no avail.
 But I think I figured out the problem. The project points to several linked
libraries which are each their own proejct under version control. To
optimize performance, I occasionally close these projects while working on
the main (also huge) project.
 I think the refresh problem is simply caused by the fact that one of the
linked libraries is in a 'closed' project.
 Of course, this prompts a gigantic DOH! and slap of the forehead.
 At an rate, I'm back up and running. Wish I'd tried the obvious thing
first! (It would have been nice to have some information in the error
message...)
 Jim Kremens

 On 11/15/05, Martin Wood <[EMAIL PROTECTED]> wrote:
>
> for more information you might want to check the eclipse log file, its
> found at workspace/.metadata/.log
>
> that might give you more information about what is causing the problem.
>
> as has been said, theres some cleaning you can do thats a lot less
> drastic, first is doing an SVN clean, right click project -> team ->
> cleanup
>
> also you can start eclipse with -clean from the command line which may
> clear out some bad state that has occurred.
>
> hope that helps,
>
> martin
>
>
> >> I have all the latest versions...
> >> Here's a question - are there files that I should not put in version
> >> control? Like Eclipse's .project file and FDT's .as2_classpath?
> >> I've done it both ways and still had the same problems, so I don't
> think
> >> that's the solution. Just curious...
> >> Jim Kremens
>
> --
> want to know what i think? probably not
>
> http://relivethefuture.com/choronzon
> ___
> 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] External text from XML file including superscript and italic

2005-11-15 Thread Paul Steven
I have a flash page that includes several sections of text that are read in
from an XML file.

I have worked out how to do this assuming all the text formatting is one
style. However I would like some of the text to be in italic and it to
include the "TM" as superscript.

Ideally I could just write the text in the xml file as I want it to appear
on screen in the flash movie. Can anyone advise me if this is possible and
how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by replacing
the xml files and the text needs to have italics and superscript. I do hope
this is possible:)

Many thanks

Paul

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


[Flashcoders] ComboBox dropdown/listbox height? (not row height)

2005-11-15 Thread Matthew Gaiser
Anyone know a way to dynamically set the height of the combobox's  
dropdown (listbox)?
I can set its row height, but would love to be able to set the height  
of the dropdown part itself  (how far it drops down)


Best Regards,
Matt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ComboBox depth?

2005-11-15 Thread Charles Parcell
Yup, did that. That was actually the fix for my issue of not being able to
get the comboBox to display its contents at all.
 Any other ideas?
 Charles P.


 On 11/14/05, Ryan Matsikas <[EMAIL PROTECTED]> wrote:
>
> put a comboBox in the library of your "loader" swf.. should fix it.
>
> On 11/14/05, Charles Parcell <[EMAIL PROTECTED]> wrote:
> >
> > Hot on the heels of my previous problem with nested MCs and ComboBoxes I
> > have yet another issue.
> >
> > I have a MC with several ComboBoxes and a List component. This MC is
> > published as a SWF and works perfectly when played solo.
> >
> > I am loading this SWF into a ScrollPane component of another SWF. I am
> > able
> > to us the ComboBox thumb button or "expand" its contents but the
> expanded
> > region seems to either have a transparent background or it is being
> > rendered
> > behind the text and List component.
> >
> > I have tried to set the Arrangement of the components and the text with
> no
> > success.
> >
> > I want to make it clear that this problem does NOT occur when running
> the
> > SWF that contains the components. The problem only occurs when loaded
> into
> > the ScrollPane of another SWF.
> >
> > Thought?
> >
> > Charles P.
> > ___
> > 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] MXML2UI

2005-11-15 Thread Igor Ageyev
Hello flashcoders.

The first release of MXML2UI has left;)

This is Action Script 2.0 class library for generating user
interfaces of flash application (on client side). As language for describing UI 
it uses MXML.
This class package simplifies and accelerates development of flash UI.

More detailed information: http://ageyev.ru/mxml2ui 
Summary on sourceforge: https://sourceforge.net/projects/mxml2ui/

Realized features:

ContainersBox, VBox, HBox.
Controls  All UI components (possible to use not only components from 
MM).
Data modeling Data model (while without treelike hierarchy).
  Simple data validation
  (Validator, StringValidator, NumberValidator).
Event model   Almost all.
Managers  ToolTipManager.

-- 
Best regards,
Igor  mailto:[EMAIL PROTECTED]



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


Re: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Miles Thompson

Muzak,

Is that the TextInput component, or something else? I didn't see that it 
had an .html property.


Did I neglect to include something when I installed Flash? Or is TextArea 
an MX control?


Regards - Miles

At 11:22 AM 11/15/2005, you wrote:
And since you don't need the scrollbars, use a normal TextField instead of 
a TextArea.


regards,
Muzak

- Original Message -
From: "Chris Wilson" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Tuesday, November 15, 2005 4:09 PM
Subject: RE: [Flashcoders] TextArea - Impossible requests?


> For the first problem, how about adding a number of blank lines to the end
> of the news story so the total number of lines is a multiple of the
> TextArea's visible page size to allow a full scroll?
>
> -Chris
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Miles
> Thompson
> Sent: Tuesday, November 15, 2005 9:56 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] TextArea - Impossible requests?
>
> Dear All,
>
> I'm working on a "daily news" site - headlines display on left, and when
> one clicks on a given headline the story loads on the right. I'm using the
> UI TextArea component to display the story.
>
> All is well, but as usual, customer has tossed a couple of curves.
>
> 1. When there is only a fragment of the story left to display, say 15
> additional lines for example, and the reader scrolls down, the TextArea
> scrolls only 15 lines. What the customer wants is a full scroll so that the
> next line appears at the top of the story, with white space below.
>
> 2. At customer's request NextPage and PrevPage buttons were added to the
> movie to scroll the TextArea; they've been programmed to turn on and off,
> etc. in response to .scroll, .maxscroll and .vPosition information provided
> by the TextArea. Now the customer does not want the ScrollBar to show at
> all, but to use these buttons only.
>
> Relating to 1. - Can one force a full scroll, say 28 lines, when there are
> only 15 lines remaining? I've tried resetting .maxscool, forcing .vPosition
> to an unrealistic values, incrementing .scroll in a loop. Nope, Have not
> been able to do it. Has anyone, or do I revert to the MX control?
>
> Relating to 2. Is there a property to set somewhere which will permanently
> hide the scroll bar? I've not been able to find one, but possibly someone
> knows a hidden or undocumented property. (Cripes, this is a ridiculous
> question! Let's roll everything back to Flash 3!)
>
> Sorry to be asking these questions. When we moved to MX 2004 thought I had
> the solution to my text problems by the tail. Now it's turning and biting.
>
> Regards - Miles Thompson
>


___
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] Flash 8 FLV, audio sync?

2005-11-15 Thread Matthew Gaiser

Hi all,

I was wondering if anyone knows or can point to me to information on  
how to fix the issue of audio in flash flv falling out of sync on  
longer videos (more than a few minutes).
I work on cd-roms that ar a mixture of flash and video and would love  
to be able to do these in all Flash.


Because of longer videos falling out of sync with the audio  
with .flvs, I have had to use director to build these and jump  
between .swf modules in director and video (and due to clients  
machines have to use mpeg1 for the video)


Does anyone know if this issue has been fixed in Flash 8?  In flash 7  
I have tried just about every way of creating the flv possible,  
importing into flash and exporting the flv, using squeeze, etc, and  
the audio always seems to fall out of sync on the longer videos.  Any  
help or info is greatly appreciated!


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


RE: [Flashcoders] Pointers

2005-11-15 Thread Nick Weekes
Jorrit,

I don't think actionscript has that sort of access to the underlying OS to
enable direct access to memory.  It is a scripting language after all, with
very proprietary access to the host file system, let alone accessing memory
registers.

But that's an educated guess, not fact.

Why do you need to use pointers, maybe there is a standard actionscript
method of sharing variable references that you could use? 

Cheers,

Nick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jorrit de
Vries
Sent: 15 November 2005 14:50
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Pointers

Hi,
 
In C I can store pointers to variables. How can I do this in ActionScript?
 
Regards,
Jorrit
___
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] TextArea - Impossible requests?

2005-11-15 Thread Miles Thompson


Yes Chris, that would work, but I'm hoping there could be a more elegant 
solution.
A slight difficulty is that customers have the option to print the issue - 
guess I'd have to remove a lot of trailing  tags in the printing script.


Thanks - Miles

At 11:09 AM 11/15/2005, you wrote:

For the first problem, how about adding a number of blank lines to the end
of the news story so the total number of lines is a multiple of the
TextArea's visible page size to allow a full scroll?

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miles
Thompson
Sent: Tuesday, November 15, 2005 9:56 AM
To: Flashcoders mailing list
Subject: [Flashcoders] TextArea - Impossible requests?

Dear All,

I'm working on a "daily news" site - headlines display on left, and when
one clicks on a given headline the story loads on the right. I'm using the
UI TextArea component to display the story.

All is well, but as usual, customer has tossed a couple of curves.

1. When there is only a fragment of the story left to display, say 15
additional lines for example, and the reader scrolls down, the TextArea
scrolls only 15 lines. What the customer wants is a full scroll so that the
next line appears at the top of the story, with white space below.

2. At customer's request NextPage and PrevPage buttons were added to the
movie to scroll the TextArea; they've been programmed to turn on and off,
etc. in response to .scroll, .maxscroll and .vPosition information provided
by the TextArea. Now the customer does not want the ScrollBar to show at
all, but to use these buttons only.

Relating to 1. - Can one force a full scroll, say 28 lines, when there are
only 15 lines remaining? I've tried resetting .maxscool, forcing .vPosition
to an unrealistic values, incrementing .scroll in a loop. Nope, Have not
been able to do it. Has anyone, or do I revert to the MX control?

Relating to 2. Is there a property to set somewhere which will permanently
hide the scroll bar? I've not been able to find one, but possibly someone
knows a hidden or undocumented property. (Cripes, this is a ridiculous
question! Let's roll everything back to Flash 3!)

Sorry to be asking these questions. When we moved to MX 2004 thought I had
the solution to my text problems by the tail. Now it's turning and biting.

Regards - Miles Thompson


___
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] Is there a free 'Date Server / web service'?

2005-11-15 Thread Kevo Thomson
Answering my own query. I found a source that provides the current date (based 
on their server, anyway) for
free:

http://www.gama-system.com/webservices/servertime.asmx/GetDate

--

Date: Mon, 14 Nov 2005 17:39:38 -
From: Kevo Thomson <[EMAIL PROTECTED]>
Subject: [Flashcoders] Is there a free 'Date Server / web service'?
To: "'flashcoders@chattyfig.figleaf.com'"

Message-ID:
<[EMAIL PROTECTED]>

Content-Type: text/plain;   charset="iso-8859-1"

I saw the thread about getting the REAL date, not a system date, but didn't see 
any help come from that.

I too require being able to get a single reply in the form of a date string for 
my current project. Any
pointers would be appreciated.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Muzak
And since you don't need the scrollbars, use a normal TextField instead of a 
TextArea.

regards,
Muzak

- Original Message - 
From: "Chris Wilson" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Tuesday, November 15, 2005 4:09 PM
Subject: RE: [Flashcoders] TextArea - Impossible requests?


> For the first problem, how about adding a number of blank lines to the end
> of the news story so the total number of lines is a multiple of the
> TextArea's visible page size to allow a full scroll?
>
> -Chris
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Miles
> Thompson
> Sent: Tuesday, November 15, 2005 9:56 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] TextArea - Impossible requests?
>
> Dear All,
>
> I'm working on a "daily news" site - headlines display on left, and when
> one clicks on a given headline the story loads on the right. I'm using the
> UI TextArea component to display the story.
>
> All is well, but as usual, customer has tossed a couple of curves.
>
> 1. When there is only a fragment of the story left to display, say 15
> additional lines for example, and the reader scrolls down, the TextArea
> scrolls only 15 lines. What the customer wants is a full scroll so that the
> next line appears at the top of the story, with white space below.
>
> 2. At customer's request NextPage and PrevPage buttons were added to the
> movie to scroll the TextArea; they've been programmed to turn on and off,
> etc. in response to .scroll, .maxscroll and .vPosition information provided
> by the TextArea. Now the customer does not want the ScrollBar to show at
> all, but to use these buttons only.
>
> Relating to 1. - Can one force a full scroll, say 28 lines, when there are
> only 15 lines remaining? I've tried resetting .maxscool, forcing .vPosition
> to an unrealistic values, incrementing .scroll in a loop. Nope, Have not
> been able to do it. Has anyone, or do I revert to the MX control?
>
> Relating to 2. Is there a property to set somewhere which will permanently
> hide the scroll bar? I've not been able to find one, but possibly someone
> knows a hidden or undocumented property. (Cripes, this is a ridiculous
> question! Let's roll everything back to Flash 3!)
>
> Sorry to be asking these questions. When we moved to MX 2004 thought I had
> the solution to my text problems by the tail. Now it's turning and biting.
>
> Regards - Miles Thompson
>


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


[Flashcoders] WebService Class Help

2005-11-15 Thread Doug Coning
Greetings!

I'm trying to setup a WebService class to handle multiple operations.
Some operations will have many parameters, while others may have none.
However, I'm having problems figuring out how to pass either an array or
an object to the WebService class.  Below is an example that sends 2
strings.  How could I change the code below to pass an array containing
the two country strings and then pass that into the callback object?

import mx.services.WebService;
//  VARIABLES
var country1:String = "USA";
var country2:String = "Canada";

// WEB SERVICE
function WebCall(str1:String, str2:String){
var WSDL_URL:String =
"http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl";;
var wsExRate:WebService = new WebService(WSDL_URL);
var oCallback:Object = wsExRate.getRate(country1, country2);
oCallback.onResult = function(nRate):Void {
trace("Rate for " + country1 + " to " + country2 + " = "
+ nRate);
};
}
WebCall(country1, country2);


THANKS FOR ANY HELP!!!

Doug Coning 
Software Developer
FORUM Solutions, LLC
 
This e-mail and any attachment(s) are intended for the specified recipient(s) 
only and are legally protected.  If you have received this communication in 
error, please "reply to" sender's e-mail address with notification of the error 
and then destroy this message in all electronic and physical forms.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Eclipse/FDT/Subclipse weirdness

2005-11-15 Thread Martin Wood
for more information you might want to check the eclipse log file, its 
found at workspace/.metadata/.log


that might give you more information about what is causing the problem.

as has been said, theres some cleaning you can do thats a lot less 
drastic, first is doing an SVN clean, right click project -> team -> cleanup


also you can start eclipse with -clean from the command line which may 
clear out some bad state that has occurred.


hope that helps,

martin



I have all the latest versions...
Here's a question - are there files that I should not put in version
control? Like Eclipse's .project file and FDT's .as2_classpath?
I've done it both ways and still had the same problems, so I don't think
that's the solution. Just curious...
Jim Kremens


--
want to know what i think? probably not

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


RE: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Chris Wilson
For the first problem, how about adding a number of blank lines to the end
of the news story so the total number of lines is a multiple of the
TextArea's visible page size to allow a full scroll?

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miles
Thompson
Sent: Tuesday, November 15, 2005 9:56 AM
To: Flashcoders mailing list
Subject: [Flashcoders] TextArea - Impossible requests?

Dear All,

I'm working on a "daily news" site - headlines display on left, and when 
one clicks on a given headline the story loads on the right. I'm using the 
UI TextArea component to display the story.

All is well, but as usual, customer has tossed a couple of curves.

1. When there is only a fragment of the story left to display, say 15 
additional lines for example, and the reader scrolls down, the TextArea 
scrolls only 15 lines. What the customer wants is a full scroll so that the 
next line appears at the top of the story, with white space below.

2. At customer's request NextPage and PrevPage buttons were added to the 
movie to scroll the TextArea; they've been programmed to turn on and off, 
etc. in response to .scroll, .maxscroll and .vPosition information provided 
by the TextArea. Now the customer does not want the ScrollBar to show at 
all, but to use these buttons only.

Relating to 1. - Can one force a full scroll, say 28 lines, when there are 
only 15 lines remaining? I've tried resetting .maxscool, forcing .vPosition 
to an unrealistic values, incrementing .scroll in a loop. Nope, Have not 
been able to do it. Has anyone, or do I revert to the MX control?

Relating to 2. Is there a property to set somewhere which will permanently 
hide the scroll bar? I've not been able to find one, but possibly someone 
knows a hidden or undocumented property. (Cripes, this is a ridiculous 
question! Let's roll everything back to Flash 3!)

Sorry to be asking these questions. When we moved to MX 2004 thought I had 
the solution to my text problems by the tail. Now it's turning and biting.

Regards - Miles Thompson


___
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] TextArea - Impossible requests?

2005-11-15 Thread Miles Thompson

Dear All,

I'm working on a "daily news" site - headlines display on left, and when 
one clicks on a given headline the story loads on the right. I'm using the 
UI TextArea component to display the story.


All is well, but as usual, customer has tossed a couple of curves.

1. When there is only a fragment of the story left to display, say 15 
additional lines for example, and the reader scrolls down, the TextArea 
scrolls only 15 lines. What the customer wants is a full scroll so that the 
next line appears at the top of the story, with white space below.


2. At customer's request NextPage and PrevPage buttons were added to the 
movie to scroll the TextArea; they've been programmed to turn on and off, 
etc. in response to .scroll, .maxscroll and .vPosition information provided 
by the TextArea. Now the customer does not want the ScrollBar to show at 
all, but to use these buttons only.


Relating to 1. - Can one force a full scroll, say 28 lines, when there are 
only 15 lines remaining? I've tried resetting .maxscool, forcing .vPosition 
to an unrealistic values, incrementing .scroll in a loop. Nope, Have not 
been able to do it. Has anyone, or do I revert to the MX control?


Relating to 2. Is there a property to set somewhere which will permanently 
hide the scroll bar? I've not been able to find one, but possibly someone 
knows a hidden or undocumented property. (Cripes, this is a ridiculous 
question! Let's roll everything back to Flash 3!)


Sorry to be asking these questions. When we moved to MX 2004 thought I had 
the solution to my text problems by the tail. Now it's turning and biting.


Regards - Miles Thompson


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


[Flashcoders] Pointers

2005-11-15 Thread Jorrit de Vries
Hi,
 
In C I can store pointers to variables. How can I do this in
ActionScript?
 
Regards,
Jorrit
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Eclipse/FDT/Subclipse weirdness

2005-11-15 Thread Ron Wheeler

I have never seen anything like this.
Why do you need the refresh - what is happening outside Eclipse?
You did not mention just exiting and restarting Eclipse. Does that do 
anything or show any errors?

Are other Eclipse projects affected?

That is a tremendous housecleaning - only thing you do not do is delete 
eclipse and reformat the hard drive :-)


Have you checked the Eclipse newsgroups and forums?

Good luck.
Ron

Jim Kremens wrote:


I have all the latest versions...
Here's a question - are there files that I should not put in version
control? Like Eclipse's .project file and FDT's .as2_classpath?
I've done it both ways and still had the same problems, so I don't think
that's the solution. Just curious...
Jim Kremens

On 11/14/05, Tomas Lehuta <[EMAIL PROTECTED]> wrote:
 


Jim,

I'm using Subclipse in both Eclipse/FDT and Flex Builder 2 and everything
goes ok.
Which version of Eclipse/FDT/Subclipse do you have?
I'm running the latest versions:
Eclipse SDK 3.1.0
FDT 1.0.4
Subclipse 0.9.37

Tomas Lehuta
[http://lharp.net]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Kremens
Sent: Monday, November 14, 2005 4:54 PM
To: [EMAIL PROTECTED] Figleaf. Com
Subject: [Flashcoders] Eclipse/FDT/Subclipse weirdness

This might be slightly OT, as it doesn't directly deal with code. But it
does concern tools of the trade, so here goes...
I'm using Eclipse, FDT and Subclipse. Occasionally, a project just 'goes
bad.' It seems like something is getting corrupted, and I don't know what
it
is.
Here are the symptoms:
Use project for a while - all is fine.
Click refresh.
Get 'An error occurred during Refresh' message with *no additional
information*. (yay error handling!) From this point on, the project is
completely shot - you can't do much if you can't refresh... Checking it
out
again from the repository doesn't work.
The only way I can fix the project is to:
1. Detach it and all of its linked libraries from SVN control (and delete
SVN information from the system).
2. Delete the project and the libraries it links to from the Eclipse
workspace (without deleting all of the files from the system).
3. Re-import the project and various linked libraries, thereby rebuilding
the project.
Of course, I then lose all of my SVN history.
Needless to say, this is really a bummer
Anyone experienced anything like this? The key would be the meaningless
'An
error occurred during refresh' message.
Thanks,
Jim Kremens
___
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] zeh/laco and MovieClip.as

2005-11-15 Thread Zeh Fernando

What do you think about this? About modifying the MovieClip.as -it cant
be of good practice?


It isn't. Usually you shouldn't even think about it.

However, I believe both of these tweens work without major problems or 
warnings under AS2. The only problem I know is mctween can't tween sound 
instances anymore (because sound isn't a dynamic object) but movieclip and 
textfield tweens work the same...




We would rather have the tween engine as a seperat class (static members
only) which we can import.
And still have all great functionalities that the two really great
tween-engines out there (zeh's and fernandos)


While I still think - from a practical point of view - that using 
whatever.tween() is much easier to work with (write and read), in AS2+, the 
best solution would be to have a static class that does the whole thing, 
like you suggested. My mctween and Laco's tween can compile and run fairly 
well in AS2 (specially because movieclip is a dynamic class), but they *do* 
exploit the compiler's ability to still use prototypes even though it 
shouldn't.


So again, if you're looking for 'the best' solution while still obeying the 
sacred rules of the OOP religion, the best bet is having a new static class 
(also because it could later be ported to AS3 without too much pain).


In that vein:

1. You could use MM's built in tweening classes. I know, there's a lot to be 
desired there, but with some wrapping with a new class, it could fit your 
needs and still be straightforward to use.


2. Moses Gunesch has been reworking Laco's tween prototypes into a new 
system that's exactly that: a new static class. It's still under 
development, but you can find more information and eearly versions here:


http://www.mosessupposes.com/Fuse/index.html


There's probably other options too, but I'm not aware of them.


Personally, I'm rewriting my own to use a static class, as in

ZTweener.addTween(mymovie, {_x: 100, time:1});

I'm not using MC Tween anymore. But it's still in a very early version so I 
can't distribute it - it's pretty rough. And coincidentally, this syntax I'm 
using is VERY similar to the one Moses has come up with on Fuse Kit, so I'd 
say trying Fuse Kit is your best choice right now.




- zeh 


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


Re: [Flashcoders] rotate mc through press+drag?

2005-11-15 Thread Amanda Kuek
Thanks Robert for your help. Just for the record, I have the following
code on the mc at the moment - hold down shift and drag the mouse for
rotation to occur. It's not very good - I'm still trying to improve
it, to remove that rotation "jump" you can see when you first hold
down shift and drag the mouse.

onClipEvent (load) {
clicked = false;
}
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
if (this.hitTest(_root._xmouse, _root._ymouse, true) && Key.isDown(1)) {
clicked = true;
this.startDrag("");
}
if (Key.isDown(Key.SHIFT) && clicked == true) {
this.stopDrag();
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm-X;
Ydiff = Ym-Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = radAngle*360/(2*Math.PI);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
clicked = false;
this.stopDrag();
}
}



On 15/11/05, Robert Wąs <[EMAIL PROTECTED]> wrote:
> I explayned only an idea. I can't help you ;) especially if i not see
> your code.
> Robert Wąs
>
> Amanda Kuek wrote:
> > I gave this a go, (and fixed up a few things) but for some reason, the
> > function rootateLoop is never actually called. Would you have any idea
> > why?
> >
> > On 14/11/05, Robert Wąs <[EMAIL PROTECTED]> wrote:
> >
> >>Simple recipe:
> >>carMC.rotateButton.onRelease=function(){
> >>this._parent.intvId=setiInterval(this._parent."rootateLoop")
> >>}
> >>carMC.onPress=function(){
> >>this.pressed=true
> >>}
> >>carMC.onRelease=function(){
> >>clearInterval(this.intvId)
> >>}
> >>//you have registration point in centre of car
> >>carMC.rootateLoop=function(){
> >>if(!this.pressed)return
> >>var rotation=Math.atan(Math.tan(this._ymouse/this._xmouse))*180/Math.PI
> >>/*
> >>there some stuff with cyclic's properties of tangent function, type:
> >>  if(this._xmouse>0 && this._ymouse<0)
> >>{
> >>rotation= -1 *rotation
> >>}
> >>//sory but not have free time for real results
> >>*/
> >>this._rotation==rotation
> >>
> >>}
> >>
> >>Robert Wąs
> >>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] get, setTextFormat(), shared fonts and dynamic text fields

2005-11-15 Thread Zárate
Hi!

Thanks Cedric! I've to say that Martin Klasson has found some problems
with the hack of one single file per font[1], and i haven't had time
enough to check it. Hope i will soon.

Anyway, i think it still can be usefull.

Bye!

[1] - 
http://chattyfig.figleaf.com/pipermail/flashcoders/2005-November/153136.html

On 11/15/05, Cedric Muller <[EMAIL PROTECTED]> wrote:
> take a look here & mind the wrap! (this is babelfish translated from
> spanish to english, so please be imaginative)
> http://babelfish.altavista.com/babelfish/trurl_pagecontent?
> lp=es_en&url=http%3A%2F%2Fwww.zarate.tv%2Farticulos%2Fshared_fonts%2Find
> ex.php
> read the small text and look at the ZIP file
>
> Description:
> You can share fonts (or other assets) through SWFs *without* ever
> linking anything in the FLAs
>
> This is the solution Macromedia should have come up with!
> Funny thing is that it is already here, even Macromedia didn't think of
> it ;)
>
> Thanks again to Zarate!
> Cedrci
>
>
> > Hi guys,
> >
> > I'm trying to solve the shared library, dynamic fonts thing.
> >
> > I have a shared library with some fonts contained in MovieClips.
> > Everything has instance names. Everything is set with linkage
> > identifiers and set to export.
> >
> > In my other FLA I bring the shared library in and access the text
> > format of the text brought in.
> > I then create a text field dynamically and try to set the format
> > gained earlier onto the new field.
> >
> > But guess what - it does not work.
> >
> > Any ideas?
> >
> > (It works if you use the shared library 'properly' eg using File>>
> > Import >> Open External Library,
> > but I do not want to do that - I only want to bring in the fonts as
> > and when required.)
> >
> > The text has the rough format apart from the font is incorrect. =(
> >
> > Here's my code. (I've left in all my other attempts)
> >
> > I've tried to embed and not to embed
> >
> > Regards
> >
> > Steve
> >
> >
> > /// CODE //
> >
> >
> > // import a .swf containing movie clips with dynamic text fields in
> > them with embedded fonts
> > // the mcs in the Library are set to have;
> > //  - linkage identifiers
> > // - export for runtime sharing selected
> > // - export in first frame seleced
> >
> >
> >
> > // BASIC LOADING OF EXTERNAL .swf FONT CONTAINING FILE /
> > var container:MovieClip = createEmptyMovieClip("container",
> > getNextHighestDepth());
> > var mcLoader:MovieClipLoader = new MovieClipLoader();
> > mcLoader.addListener(this);
> > mcLoader.loadClip("designer_fonts.swf", container);
> >
> > function onLoadInit(mc:MovieClip) {
> > trace("onLoadInit: " + mc);
> >   // wait - just in case it's as not fully loaded timing issue
> >   makeText_INT = setInterval(maketext, 1000)
> >   changethetext();
> > }
> >  END OF LOADING /
> >
> >
> >
> > / the guts of
> > it
> > function maketext(){
> >   clearInterval(makeText_INT);
> >   //_level0.attachMovie("ag_medium", "newtext", 150 );
> >   //trace( "newtext1 = " + _level0.newtext1 );
> >   _level0.createTextField("newtext", 1, 150, 150, 200, 200 );
> >
> >   // tf = new TextFormat();
> >
> >   // get the format off of the shared text fields
> >   //var tf:TextFormat = container.ag_book.book.getTextFormat();
> >   var tf:TextFormat = container.ag_book.book.getTextFormat();
> >   tf.size = 50;
> >   //tf.font = "AvantGarde Bk BT";
> >
> >
> >   trace("tf.font = "+tf.font);
> >   // set the format saved onto the 'vv' text
> >   // newtext.setTextFormat(tf);
> >   newtext.autoSize = true;
> >
> >   newtext.text = "a dynamic field";
> >   //newtext.embedFonts = true;
> >   newtext.setTextFormat(tf);
> >   //newtext.setNewTextFormat(tf);
> >   for ( var props in tf ) { trace( props + " = " + tf[props]); };
> >
> > }
> > /*
> >
> > this is the trace
> >
> > onLoadInit: _level0.container
> > tf.font = AvantGarde Bk BT
> > letterSpacing = 0
> > kerning = false
> > display = block
> > bullet = false
> > tabStops =
> > blockIndent = 0
> > leading = 2
> > indent = 0
> > rightMargin = 0
> > leftMargin = 0
> > align = left
> > underline = false
> > italic = false
> > bold = false
> > target =
> > url =
> > color = 0
> > size = 50
> > font = AvantGarde Bk BT
> > getTextExtent = undefined
> > */
> > ___
> > 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
>


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

[Flashcoders] Flash Detection Kit

2005-11-15 Thread lieven.cardoen
I've been playing a little bit with the flash detection kit and I'm
frustrated about something. I'm using the express install. When user has
flash 6 or 7, then the flash player is upgraded from within an flash6
swf (locally). This swf loads a autoUpdater.swf from macromedia site
which does the upgrade (see below).

 

http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/auto
Updater.swf?"+cacheBuster
 --> apparently this is the swf that is
loaded and which does the update. But the graphics of this
autoUpdater.swf are terrible. Can this be altered?

 

The graphics are a big blue square. Very nice.

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


Re: [Flashcoders] Ho to hide flash layer in Mozilla?

2005-11-15 Thread Gregory_GOusable
Sorry for posting this question...

I've found the solution myself:
it's better use document.getElementById in Mozilla and a number of
tricks for old browsers etc.
As we all know, "All javascript consists of tricks and hacks only" ;-).

Thanks for everyone who tried to help.
-- 
Best regards,
 Gregory_GOusable

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

> -Original Message-
>   I have a DIV layer (named 'my_layer') which is over HTML page.
>Then I want to hide it using Js call as
>getURL("javascript:hideLayer();");
>   
>   Javascript:
>   =
> function hideLayer() {
> document.all('my_layer').style.visibility='hidden';
> }
> =
> 
> It works nice in IE and Opera, but for some reason (?) doesn't work in
> Mozilla (I tested with Mozilla 1.7.3)
> Mean while it hides the swf, the links at HTML page are still not
> clickable.
> 
> Any idea?


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


Re: [Flashcoders] Ho to hide flash layer in Mozilla?

2005-11-15 Thread Janis Radins
document.all doesnt exist in w3c specifications there for FF doesnt
know about it
use document.getElementById instead, and it will work in both browsers

2005/11/15, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> i guess you could try moving it to -1000px or something like that. might
> be a work around at least..
>
> Gregory_GOusable wrote:
> > Hello Flashcoders,
> >
> >   I have a DIV layer (named 'my_layer') which is over HTML page.
> >Then I want to hide it using Js call as
> >getURL("javascript:hideLayer();");
> >
> >   Javascript:
> >   =
> > function hideLayer() {
> > document.all('my_layer').style.visibility='hidden';
> > }
> > =
> >
> > It works nice in IE and Opera, but for some reason (?) doesn't work in
> > Mozilla (I tested with Mozilla 1.7.3)
> > Mean while it hides the swf, the links at HTML page are still not
> > clickable.
> >
> > Any idea?
> >
> >
> ___
> 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] get, setTextFormat(), shared fonts and dynamic text fields

2005-11-15 Thread Cedric Muller
take a look here & mind the wrap! (this is babelfish translated from  
spanish to english, so please be imaginative)
http://babelfish.altavista.com/babelfish/trurl_pagecontent? 
lp=es_en&url=http%3A%2F%2Fwww.zarate.tv%2Farticulos%2Fshared_fonts%2Find 
ex.php

read the small text and look at the ZIP file

Description:
You can share fonts (or other assets) through SWFs *without* ever  
linking anything in the FLAs


This is the solution Macromedia should have come up with!
Funny thing is that it is already here, even Macromedia didn't think of  
it ;)


Thanks again to Zarate!
Cedrci



Hi guys,

I'm trying to solve the shared library, dynamic fonts thing.

I have a shared library with some fonts contained in MovieClips.
Everything has instance names. Everything is set with linkage  
identifiers and set to export.


In my other FLA I bring the shared library in and access the text  
format of the text brought in.
I then create a text field dynamically and try to set the format  
gained earlier onto the new field.


But guess what - it does not work.

Any ideas?

(It works if you use the shared library 'properly' eg using File>>  
Import >> Open External Library,
but I do not want to do that - I only want to bring in the fonts as  
and when required.)


The text has the rough format apart from the font is incorrect. =(

Here's my code. (I've left in all my other attempts)

I've tried to embed and not to embed

Regards

Steve


/// CODE //


// import a .swf containing movie clips with dynamic text fields in  
them with embedded fonts

// the mcs in the Library are set to have;
//  - linkage identifiers
// - export for runtime sharing selected
// - export in first frame seleced



// BASIC LOADING OF EXTERNAL .swf FONT CONTAINING FILE /
var container:MovieClip = createEmptyMovieClip("container",  
getNextHighestDepth());

var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("designer_fonts.swf", container);

function onLoadInit(mc:MovieClip) {
trace("onLoadInit: " + mc);
// wait - just in case it's as not fully loaded timing issue
makeText_INT = setInterval(maketext, 1000)
changethetext();
}
 END OF LOADING /



/ the guts of  
it

function maketext(){
clearInterval(makeText_INT);
//_level0.attachMovie("ag_medium", "newtext", 150 );
//trace( "newtext1 = " + _level0.newtext1 );
_level0.createTextField("newtext", 1, 150, 150, 200, 200 );

// tf = new TextFormat();

// get the format off of the shared text fields
//var tf:TextFormat = container.ag_book.book.getTextFormat();
var tf:TextFormat = container.ag_book.book.getTextFormat();
tf.size = 50;
//tf.font = "AvantGarde Bk BT";


trace("tf.font = "+tf.font);
// set the format saved onto the 'vv' text
// newtext.setTextFormat(tf);
newtext.autoSize = true;

newtext.text = "a dynamic field";
//newtext.embedFonts = true;
newtext.setTextFormat(tf);
//newtext.setNewTextFormat(tf);
for ( var props in tf ) { trace( props + " = " + tf[props]); };

}
/*

this is the trace

onLoadInit: _level0.container
tf.font = AvantGarde Bk BT
letterSpacing = 0
kerning = false
display = block
bullet = false
tabStops =
blockIndent = 0
leading = 2
indent = 0
rightMargin = 0
leftMargin = 0
align = left
underline = false
italic = false
bold = false
target =
url =
color = 0
size = 50
font = AvantGarde Bk BT
getTextExtent = undefined
*/
___
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] get, setTextFormat(), shared fonts and dynamic text fields

2005-11-15 Thread Stephen Matthews

Hi guys,

I'm trying to solve the shared library, dynamic fonts thing.

I have a shared library with some fonts contained in MovieClips.
Everything has instance names. Everything is set with linkage  
identifiers and set to export.


In my other FLA I bring the shared library in and access the text  
format of the text brought in.
I then create a text field dynamically and try to set the format  
gained earlier onto the new field.


But guess what - it does not work.

Any ideas?

(It works if you use the shared library 'properly' eg using File>>  
Import >> Open External Library,
but I do not want to do that - I only want to bring in the fonts as  
and when required.)


The text has the rough format apart from the font is incorrect. =(

Here's my code. (I've left in all my other attempts)

I've tried to embed and not to embed

Regards

Steve


/// CODE //


// import a .swf containing movie clips with dynamic text fields in  
them with embedded fonts

// the mcs in the Library are set to have;
//  - linkage identifiers
// - export for runtime sharing selected
// - export in first frame seleced



// BASIC LOADING OF EXTERNAL .swf FONT CONTAINING FILE /
var container:MovieClip = createEmptyMovieClip("container",  
getNextHighestDepth());

var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("designer_fonts.swf", container);

function onLoadInit(mc:MovieClip) {
trace("onLoadInit: " + mc);
// wait - just in case it's as not fully loaded timing issue
makeText_INT = setInterval(maketext, 1000)
changethetext();
}
 END OF LOADING /



/ the guts of it
function maketext(){
clearInterval(makeText_INT);
//_level0.attachMovie("ag_medium", "newtext", 150 );
//trace( "newtext1 = " + _level0.newtext1 );
_level0.createTextField("newtext", 1, 150, 150, 200, 200 );

// tf = new TextFormat();

// get the format off of the shared text fields
//var tf:TextFormat = container.ag_book.book.getTextFormat();
var tf:TextFormat = container.ag_book.book.getTextFormat();
tf.size = 50;
//tf.font = "AvantGarde Bk BT";


trace("tf.font = "+tf.font);
// set the format saved onto the 'vv' text
// newtext.setTextFormat(tf);
newtext.autoSize = true;

newtext.text = "a dynamic field";
//newtext.embedFonts = true;
newtext.setTextFormat(tf);
//newtext.setNewTextFormat(tf);
for ( var props in tf ) { trace( props + " = " + tf[props]); };

}
/*

this is the trace

onLoadInit: _level0.container
tf.font = AvantGarde Bk BT
letterSpacing = 0
kerning = false
display = block
bullet = false
tabStops =
blockIndent = 0
leading = 2
indent = 0
rightMargin = 0
leftMargin = 0
align = left
underline = false
italic = false
bold = false
target =
url =
color = 0
size = 50
font = AvantGarde Bk BT
getTextExtent = undefined
*/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Ho to hide flash layer in Mozilla?

2005-11-15 Thread [EMAIL PROTECTED]
i guess you could try moving it to -1000px or something like that. might 
be a work around at least..


Gregory_GOusable wrote:

Hello Flashcoders,

  I have a DIV layer (named 'my_layer') which is over HTML page.
   Then I want to hide it using Js call as
   getURL("javascript:hideLayer();");
  
  Javascript:

  =
function hideLayer() {
document.all('my_layer').style.visibility='hidden';
}
=

It works nice in IE and Opera, but for some reason (?) doesn't work in
Mozilla (I tested with Mozilla 1.7.3)
Mean while it hides the swf, the links at HTML page are still not
clickable.

Any idea?



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


[Flashcoders] zeh/laco and MovieClip.as

2005-11-15 Thread Martin Klasson
 

Hi Coders.

 

An issue that I have dealt with before is now again coming back as an
issue.

 

We would like to use a tween-engine as the one of Laco or the one of Zeh
Fernando.

The problem as I see it is that in either one of the tween-engines above
you MUST make changes in the MovieClip.as file.

 

And I am not alone about NOT LIKING to do modifications in such a file.

But it is needed to prevent compile-errors in as2-classes, or is there
another solution yo want to share?

 

An ALL-static tween-engine would be nice. So that it wouldn't run as
methods on the movieclip-instance.. I guess.

But we don't want to develop a new tween-engine, we don't have time to
do it, or nor is it easy either to make a great one ;)

 

What do you think about this? About modifying the MovieClip.as -it cant
be of good practice?

 

We would rather have the tween engine as a seperat class (static members
only) which we can import.

And still have all great functionalities that the two really great
tween-engines out there (zeh's and fernandos)

 

/ martin

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


[Flashcoders] Ho to hide flash layer in Mozilla?

2005-11-15 Thread Gregory_GOusable
Hello Flashcoders,

  I have a DIV layer (named 'my_layer') which is over HTML page.
   Then I want to hide it using Js call as
   getURL("javascript:hideLayer();");
  
  Javascript:
  =
function hideLayer() {
document.all('my_layer').style.visibility='hidden';
}
=

It works nice in IE and Opera, but for some reason (?) doesn't work in
Mozilla (I tested with Mozilla 1.7.3)
Mean while it hides the swf, the links at HTML page are still not
clickable.

Any idea?


-- 
Best regards,
 Gregory_GOusable

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


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


RE: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-15 Thread Nick Weekes
"there is still a lot of room for style with UI design ..."

Definitely agree...this is the main reason people like me (with a C or Java
designing background) turn to flash and flex, to offer real ria experiences,
that have 'style'.  

But im glad I did the 'windows app consulting' route, as it sure teaches you
a lot about what people think they want, and what they actually want.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cedric
Muller
Sent: 15 November 2005 09:11
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components

I think this is just about 'state' :
car + shoe businesses are mature: from functionality we went to form UI
design is in very early stages of development ...we are still struggling
with functionality

there is still a lot of room for style with UI design ...

but you are right ... you're so right ;)

on the other side we can see that Flash picture viewers are better than any
other gallery system ... and will even replace desktop picture viewers in
the forthcoming future ...
so Picture Viewers are no applications ?

Cedric


> Consumers push the shoe car and computer market to offer diversity.   I
> don't remember a software consumer complaining that their gui control 
> was too familiar or easy to use ;-)
>
> As an aside, I love the book 'About Face:  Interaction Design' which 
> has a chapter on designing interactions, and the differences between a 
> visual artist (someone who wants to provoke a reaction to their piece 
> of art) and a visual designer (someone who has to represent software 
> behaviour based on the goals of other people).
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Cedric 
> Muller
> Sent: 15 November 2005 08:44
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>
> same with shoes, cars and computers ..
> yep, we are in That World :-)
>
>> I disagree...users don't give a damn whether a component is skinned 
>> or not, but whether it works as a piece of UI.  How many different 
>> comboboxes do we need in the world??
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of 
>> JesterXL
>> Sent: 14 November 2005 21:06
>> To: Flashcoders mailing list
>> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>>
>> I find just the opposite; I think it's easier in Flex.
>>
>> I'm with you, though.  The pendulum has swung too far to the other 
>> side.
>> Pre-Flash MX, it was "no Flash UI assets look the same".  Now, post 
>> Flex 1.5 it's "all Flex apps look the same".
>>
>> Mars needs women.  Flex needs UI designers.
>>
>> - Original Message -
>> From: "Johannes Nel" <[EMAIL PROTECTED]>
>> To: "Flashcoders mailing list" 
>> Sent: Monday, November 14, 2005 4:01 PM
>> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>>
>>
>> yeah, they do look better than the IDE ones, but its easier to skin 
>> stuff in flash than flex from my experience thus far. due to this we 
>> are seeing more and more apps looking very similiar, which as a 
>> non-designer i think sucks.
>>
>> On 11/14/05, JesterXL <[EMAIL PROTECTED]> wrote:
>>>
>>> The Flex ones look better. Before people realized they were coded 
>>> better, a few wanted the look and feel since it was refined.
>>>
>>> - Original Message -
>>> From: "Dustin Krysak" <[EMAIL PROTECTED]>
>>> To: "Flashcoders mailing list" 
>>> Sent: Monday, November 14, 2005 3:48 PM
>>> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>>>
>>>
>>> Maybe in case there are aspects of a project developed in both flash 
>>> and flex?
>>>
>>> Not sure otherwise.
>>>
>>>
>>>
>>> On 14-Nov-05, at 12:45 PM, Johannes Nel wrote:
>>>
 why

 On 11/14/05, Hindman, Jeff <[EMAIL PROTECTED]> wrote:
>
> Nope ...
>
> http://www.dwuser.com/flexcomponents/
>
> -- Jeff Hindman
>
> -Original Message-
> From: Pete Hotchkiss [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 14, 2005 10:43 AM
> To: 'Flashcoders mailing list'
> Subject: [Flashcoders] Flex Style Flash MX2004 Components
>
>
> I have a very vague recollection of somebody somewhere creating a 
> set of Flex Styled components for Flash MX2004 - was I dreaming ?
>
>
>
> ___
> 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
>



 --
 j:pn
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/

Re: [Flashcoders] Eclipse/FDT/Subclipse weirdness

2005-11-15 Thread Julien Vignali

Jim,
The only files that you don't need to put in version controls are 
binaries that you can regenerate. You can safely put any other files 
including .project, .as2_classpath files. I've been doing this since 
last summer without any problems with SVN & subclipse.


Have you tried to clean the project with the Project -> Clean menu 
option and/or closing/reopening the project and eclipse?
I've had some weird compilation problems once in a while, but I could 
always recover by cleaning my projects or restarting eclipse (maybe a 
cache needs to be cleaned).


Hope it helps.
Julien

Jim Kremens a écrit :

I have all the latest versions...
 Here's a question - are there files that I should not put in version
control? Like Eclipse's .project file and FDT's .as2_classpath?
 I've done it both ways and still had the same problems, so I don't think
that's the solution. Just curious...
 Jim Kremens

 On 11/14/05, Tomas Lehuta <[EMAIL PROTECTED]> wrote:


Jim,

I'm using Subclipse in both Eclipse/FDT and Flex Builder 2 and everything
goes ok.
Which version of Eclipse/FDT/Subclipse do you have?
I'm running the latest versions:
Eclipse SDK 3.1.0
FDT 1.0.4
Subclipse 0.9.37

Tomas Lehuta
[http://lharp.net]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Kremens
Sent: Monday, November 14, 2005 4:54 PM
To: [EMAIL PROTECTED] Figleaf. Com
Subject: [Flashcoders] Eclipse/FDT/Subclipse weirdness

This might be slightly OT, as it doesn't directly deal with code. But it
does concern tools of the trade, so here goes...
I'm using Eclipse, FDT and Subclipse. Occasionally, a project just 'goes
bad.' It seems like something is getting corrupted, and I don't know what
it
is.
Here are the symptoms:
Use project for a while - all is fine.
Click refresh.
Get 'An error occurred during Refresh' message with *no additional
information*. (yay error handling!) From this point on, the project is
completely shot - you can't do much if you can't refresh... Checking it
out
again from the repository doesn't work.
The only way I can fix the project is to:
1. Detach it and all of its linked libraries from SVN control (and delete
SVN information from the system).
2. Delete the project and the libraries it links to from the Eclipse
workspace (without deleting all of the files from the system).
3. Re-import the project and various linked libraries, thereby rebuilding
the project.
Of course, I then lose all of my SVN history.
Needless to say, this is really a bummer
Anyone experienced anything like this? The key would be the meaningless
'An
error occurred during refresh' message.
Thanks,
Jim Kremens
___
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] Flex Style Flash MX2004 Components

2005-11-15 Thread Cedric Muller

I think this is just about 'state' :
car + shoe businesses are mature: from functionality we went to form
UI design is in very early stages of development ...we are still 
struggling with functionality


there is still a lot of room for style with UI design ...

but you are right ... you're so right ;)

on the other side we can see that Flash picture viewers are better than 
any other gallery system ... and will even replace desktop picture 
viewers in the forthcoming future ...

so Picture Viewers are no applications ?

Cedric



Consumers push the shoe car and computer market to offer diversity.   I
don't remember a software consumer complaining that their gui control 
was

too familiar or easy to use ;-)

As an aside, I love the book 'About Face:  Interaction Design' which 
has a

chapter on designing interactions, and the differences between a visual
artist (someone who wants to provoke a reaction to their piece of art) 
and a
visual designer (someone who has to represent software behaviour based 
on

the goals of other people).


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cedric
Muller
Sent: 15 November 2005 08:44
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components

same with shoes, cars and computers ..
yep, we are in That World :-)


I disagree...users don't give a damn whether a component is skinned or
not, but whether it works as a piece of UI.  How many different
comboboxes do we need in the world??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
JesterXL
Sent: 14 November 2005 21:06
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components

I find just the opposite; I think it's easier in Flex.

I'm with you, though.  The pendulum has swung too far to the other
side.
Pre-Flash MX, it was "no Flash UI assets look the same".  Now, post
Flex 1.5 it's "all Flex apps look the same".

Mars needs women.  Flex needs UI designers.

- Original Message -
From: "Johannes Nel" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, November 14, 2005 4:01 PM
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components


yeah, they do look better than the IDE ones, but its easier to skin
stuff in flash than flex from my experience thus far. due to this we
are seeing more and more apps looking very similiar, which as a
non-designer i think sucks.

On 11/14/05, JesterXL <[EMAIL PROTECTED]> wrote:


The Flex ones look better. Before people realized they were coded
better, a few wanted the look and feel since it was refined.

- Original Message -
From: "Dustin Krysak" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, November 14, 2005 3:48 PM
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components


Maybe in case there are aspects of a project developed in both flash
and flex?

Not sure otherwise.



On 14-Nov-05, at 12:45 PM, Johannes Nel wrote:


why

On 11/14/05, Hindman, Jeff <[EMAIL PROTECTED]> wrote:


Nope ...

http://www.dwuser.com/flexcomponents/

-- Jeff Hindman

-Original Message-
From: Pete Hotchkiss [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 10:43 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flex Style Flash MX2004 Components


I have a very vague recollection of somebody somewhere creating a
set of Flex Styled components for Flash MX2004 - was I dreaming ?



___
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





--
j:pn
___
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





--
j:pn
___
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/listi

RE: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-15 Thread Nick Weekes
Consumers push the shoe car and computer market to offer diversity.   I
don't remember a software consumer complaining that their gui control was
too familiar or easy to use ;-) 

As an aside, I love the book 'About Face:  Interaction Design' which has a
chapter on designing interactions, and the differences between a visual
artist (someone who wants to provoke a reaction to their piece of art) and a
visual designer (someone who has to represent software behaviour based on
the goals of other people).


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cedric
Muller
Sent: 15 November 2005 08:44
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components

same with shoes, cars and computers ..
yep, we are in That World :-)

> I disagree...users don't give a damn whether a component is skinned or 
> not, but whether it works as a piece of UI.  How many different 
> comboboxes do we need in the world??
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> JesterXL
> Sent: 14 November 2005 21:06
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>
> I find just the opposite; I think it's easier in Flex.
>
> I'm with you, though.  The pendulum has swung too far to the other 
> side.
> Pre-Flash MX, it was "no Flash UI assets look the same".  Now, post 
> Flex 1.5 it's "all Flex apps look the same".
>
> Mars needs women.  Flex needs UI designers.
>
> - Original Message -
> From: "Johannes Nel" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Monday, November 14, 2005 4:01 PM
> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>
>
> yeah, they do look better than the IDE ones, but its easier to skin 
> stuff in flash than flex from my experience thus far. due to this we 
> are seeing more and more apps looking very similiar, which as a 
> non-designer i think sucks.
>
> On 11/14/05, JesterXL <[EMAIL PROTECTED]> wrote:
>>
>> The Flex ones look better. Before people realized they were coded 
>> better, a few wanted the look and feel since it was refined.
>>
>> - Original Message -
>> From: "Dustin Krysak" <[EMAIL PROTECTED]>
>> To: "Flashcoders mailing list" 
>> Sent: Monday, November 14, 2005 3:48 PM
>> Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components
>>
>>
>> Maybe in case there are aspects of a project developed in both flash 
>> and flex?
>>
>> Not sure otherwise.
>>
>>
>>
>> On 14-Nov-05, at 12:45 PM, Johannes Nel wrote:
>>
>>> why
>>>
>>> On 11/14/05, Hindman, Jeff <[EMAIL PROTECTED]> wrote:

 Nope ...

 http://www.dwuser.com/flexcomponents/

 -- Jeff Hindman

 -Original Message-
 From: Pete Hotchkiss [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 14, 2005 10:43 AM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Flex Style Flash MX2004 Components


 I have a very vague recollection of somebody somewhere creating a 
 set of Flex Styled components for Flash MX2004 - was I dreaming ?



 ___
 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

>>>
>>>
>>>
>>> --
>>> j:pn
>>> ___
>>> 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
>>
>
>
>
> --
> j:pn
> ___
> 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] Component Name Problem

2005-11-15 Thread Gregory_GOusable
eric,

It's quite strange/funny/having_no_sense for me, but in fact
=
component's name of installed component is the name of (!) movie clip
symbol in the library BEFORE converting to a component.
=
I have experienced the same thing several times.

So, if you  "have been creating MXP files all morning", you've
probably use one fla as a base and just Save as..
The solution is to rename movie clip in the duplicated file (or
library) and only after this convert to component.

BTW, "name" from MXI appears (maybe, I've not checked it ;-) only in descr at 
MM Exchange.
Strange that MM haven't fixed it in Flash 8 (I'm still using MX 2004).

-- 
Best regards,
 Gregory_GOusable

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

>  eric dolecki wrote:
> 
> I've been creating MXP files all morning - without any problems.
> 
> All of the sudden, when creating MXPs from MXI files, the components are
> being installed with the name "component".
> 
> I haven't changed anything (been using an identical version of the same MXI
> (adding tiny edits for use with all the components), I''ve looked for
> errors, I've restarted Flash a bunch of times, etc. I can't see why this is
> happening beyond some strange Flash 8 IDE bug/Extension Manager thing.
> 
> Has anyone else experienced something like this?
> 
> A sample of my MXI XML below:
> 
>  name = "Display Component"
> version = "0.1"
> type = "flashcomponent">
> 
> 
> 
> 
> ...
> 
> SO strange. I'm hoping this is temporary.
> 
> edolecki


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


Re: [Flashcoders] Flex Style Flash MX2004 Components

2005-11-15 Thread Cedric Muller

same with shoes, cars and computers ..
yep, we are in That World :-)

I disagree...users don't give a damn whether a component is skinned or 
not,
but whether it works as a piece of UI.  How many different comboboxes 
do we

need in the world??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of 
JesterXL

Sent: 14 November 2005 21:06
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components

I find just the opposite; I think it's easier in Flex.

I'm with you, though.  The pendulum has swung too far to the other 
side.
Pre-Flash MX, it was "no Flash UI assets look the same".  Now, post 
Flex 1.5

it's "all Flex apps look the same".

Mars needs women.  Flex needs UI designers.

- Original Message -
From: "Johannes Nel" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, November 14, 2005 4:01 PM
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components


yeah, they do look better than the IDE ones, but its easier to skin 
stuff in
flash than flex from my experience thus far. due to this we are seeing 
more
and more apps looking very similiar, which as a non-designer i think 
sucks.


On 11/14/05, JesterXL <[EMAIL PROTECTED]> wrote:


The Flex ones look better. Before people realized they were coded 
better,

a
few wanted the look and feel since it was refined.

- Original Message -
From: "Dustin Krysak" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, November 14, 2005 3:48 PM
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components


Maybe in case there are aspects of a project developed in both flash
and flex?

Not sure otherwise.



On 14-Nov-05, at 12:45 PM, Johannes Nel wrote:


why

On 11/14/05, Hindman, Jeff <[EMAIL PROTECTED]> wrote:


Nope ...

http://www.dwuser.com/flexcomponents/

-- Jeff Hindman

-Original Message-
From: Pete Hotchkiss [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 10:43 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flex Style Flash MX2004 Components


I have a very vague recollection of somebody somewhere creating a
set of
Flex Styled components for Flash MX2004 - was I dreaming ?



___
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





--
j:pn
___
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





--
j:pn
___
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] Flex Style Flash MX2004 Components

2005-11-15 Thread Cedric Muller

Sparkle anyone ?


I find just the opposite; I think it's easier in Flex.

I'm with you, though.  The pendulum has swung too far to the other 
side.
Pre-Flash MX, it was "no Flash UI assets look the same".  Now, post 
Flex 1.5

it's "all Flex apps look the same".

Mars needs women.  Flex needs UI designers.

- Original Message -
From: "Johannes Nel" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, November 14, 2005 4:01 PM
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components


yeah, they do look better than the IDE ones, but its easier to skin 
stuff in
flash than flex from my experience thus far. due to this we are seeing 
more
and more apps looking very similiar, which as a non-designer i think 
sucks.


On 11/14/05, JesterXL <[EMAIL PROTECTED]> wrote:


The Flex ones look better. Before people realized they were coded 
better,

a
few wanted the look and feel since it was refined.

- Original Message -
From: "Dustin Krysak" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, November 14, 2005 3:48 PM
Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components


Maybe in case there are aspects of a project developed in both flash
and flex?

Not sure otherwise.



On 14-Nov-05, at 12:45 PM, Johannes Nel wrote:


why

On 11/14/05, Hindman, Jeff <[EMAIL PROTECTED]> wrote:


Nope ...

http://www.dwuser.com/flexcomponents/

-- Jeff Hindman

-Original Message-
From: Pete Hotchkiss [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 10:43 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flex Style Flash MX2004 Components


I have a very vague recollection of somebody somewhere creating a
set of
Flex Styled components for Flash MX2004 - was I dreaming ?



___
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





--
j:pn
___
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





--
j:pn
___
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