RE: [Flashcoders] Install flash 8 player without user interactivity

2005-11-04 Thread Martin Klasson

What does the ‐-character means when generating a size-report?
Is it a character that can not be displayed by my OS, or is it a non-existing 
character in the fontfile? 

I don’t like that the embed-options also can embed glyphs that does not exist 
in the fontfile.

So the embedding character-sets having glyphs that is not supported will still 
be added to the filesize of the swf. Really stupid really.

abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
           ​‌‍‎‏‐

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


Re: [Flashcoders] lightbulb motion

2005-11-04 Thread franto
Andreas I've ported your cloth to AS3 :) amazing :)
http://www.franto.com/blog2/as3-cloth-simulation-verlet-algorithm

On 11/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 http://www.thesundancekid.net/code/pendel/index.html
 http://www.thesundancekid.net/code/cloth/index.html

 fps is set too low (for some reason i can't remember now) which is why
 the movement looks a bit jerky.

 unfortunately i don't have the fla:s here in london but i built the code
 around a white paper from one of the coders who worked on the game
 Hitman. it was real easy to follow and if you just google for verlet
 hitman and perhaps something else, i'm sure you can find it too. i
 created a class around it in javascript a couple of years back and then
 later converted that to flash.

 /andreas

 Corban Baxter wrote:
  Hey guys I am trying to create an effect as if a light bulb is swaying from 
  a string in the ceiling. Anyone know what the best approach would be to do 
  something like this?
 
  Corban Baxter  |  rich media designer  |  www.funimation.com
 
 
  ___
  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



--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] change icon

2005-11-04 Thread McCain
what about mac application? (change the icon)

To change to the icon of a mac application, you only need a mac and the
icon. You open the information panel of the application and you can copy the
icon selecting it or paste another icon above, much more easy that in
Windows without using externals programs like ResHacker for Windows.

// McCain
// http://www.auskalo.com


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


[Flashcoders] gradient fills based on temperature maps

2005-11-04 Thread Andreas Rønning
I'm building a temperature grid in a 2d array, where i'd like to build 
some kind of smooth gradient based on the entire map.


For instance this map can start red in the top left, fade to a cool blue 
near the center, then flare into red again off to the right, while 
everything else becomes a green tinted blue.


As is i could use the drawing api to draw colored blocks to give the 
impression of such a map, but ideally i'd be able to smooth out the 
values with gradients, because the map is really quite low res.


Anyone got any ideas for this?

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


[Flashcoders] Load file from local path to swf which is on web

2005-11-04 Thread franto
Hi,

I've problem with loading swf from local path to swf on net.
Example:
you can swf on net somewhere and code inside is:

mc = this.createEmptyMovieClip(content,100)
mc.loadMovie(file://c:\test.swf)

on local there si test.swf with code:

System.security.allowDomain(*)


This wirks in Flash7, but not in Flash 8. I was searching bit, and
find such things:

- http://www.macromedia.com/devnet/flash/articles/fplayer8_security.html

Quotation from page:
---
New Restrictions
# Loading restrictions: SWF and HTML content from non-local URLs may
no longer load any content (SWF, HTML, PNG, and so on) from local
paths.

- there is some security manager for flash 8 content
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html

i allow localhost, but it doesnt helps..

And I need to work this with manual allowing localhost (It's kiosk
system, players can not set security settings for Flash player)


Does anyone have working solution for this?
Thanks many times...

-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] V2 Components - Themes/Styles/Skins - Window/ComboBox/Button

2005-11-04 Thread Gregory_GOusable

 Fri, 4 Nov 2005, Steve Warren wrote:
 *[A WHILE AGO ON FLASHCODERS...]*
 
 On 8/3/05, Iestyn Lloyd [EMAIL PROTECTED] wrote:Hi all,
 
 i've skinned the FMX2004 scrollpane component by altering the
 ScrollBarAssets MC, and now i've been told that i need to have 2
 completely different skins for the scrollpane - and that they need to be
 shown at the same time.
 Is this possible? If so... err.. how? :)
 
 * [SOUND OF CRICKETS CHIRPING] ie: nobody replied.
 *
 ---
 
 I need to do the same thing with a Window component, and have perhaps an
 easier question about the ComboBox.
 
 I've been studying and working with Themes, Styles and Skinning for the V2
 Components on a project with a deadline that has come and gone - we're
 behind! The project was developed using the V2 components early on, with the
 skinning of the components and final design implementation saved for last. I
 was recently brought into the project to do this work, and have found
 working with the v2 components to be, well... difficult to accomodate.
 
 I have since dug my heels in, and am doing the best I can under the
 circumstances. We've been successful at skinning the RadioButton and
 CheckBox, and have had limited success with the ComboBox. Button and Window
 have been the most difficult.
 
 If you look at the built-in Macromedia Help, there's lots of detailed
 information on the subjects. Here are my questions, and thanks in advance
 for any help provided!
 
 1) Window
 
 I need to create several instances of the Window component - some with
 TitleBackgrounds (standard MenuBars with a Title and a Close Button), and
 some without. If you read the Help section [Components Language
 Reference/Window Component/Customizing The Window Component] you'll see what
 you can do with Styles and Skins. The TitleBackground is a skin element
 only, so if you customize the skin to delete the TitleBackground... it
 affects ALL instances of the Window component. I would have liked to see a
 Window Style setting TitleBackgroundVisible:Boolean which could be set to
 TRUE or FALSE. Or better yet, a Style setting that would accomodate
 [Default, Disabled, CustomLinkageID].
 
 I started creating a custom MyWindow component that simply opens a container
 with a close button (the simplest form of window), but I ran into other
 problems. To create the window I'm struggling with, a custom built DialogBox
 class is called first, which creates an instance of a Window that depends on
 (Macromedia's built-in) PopUpManager class to manage overlapping Windows and
 their Modality. Without using the actual Window component, these features
 are unavailable without doing lots of extra research, development and
 testing.
 
 MY QUESTION IS: Is there any way to create more than one standard Window
 component that PopUpManager will recognize? It seems we are locked in when
 we use the Window component to ONE SKIN per document. I would love to use a
 standard Window component for application wide usage, but have additional
 custom Window implementations with custom graphics that reference elements
 in more than a single Window assets folder inside a single THEME.
 
 2) ComboBox
 
 I edited the skin graphics for ComboBox inside the ComboBox assets folder.
 We're currently basing our THEME on the standard HALO THEME. Currently the
 highlight of the ComboBox when you pull it down is green. I looked into the
 ThemeColor Style setting for Halo's ComboBox and was surprised to see three
 possible values - [HaloGreen, HaloBlue, HaloOrange]. I dug into the
 components FLA file to try to figure out why there might be a limited three
 settings in a Style, and couldn't figure it out.
 
 Maybe you'll laugh when I say I would have appreciated a HaloGrey
 option... but I'm not laughing. Can someone please tell me how to achieve
 GREY???
 
 -
 CONCLUSION
 -
 
 I would have preferred to write my own classes or custom components for this
 type of job, but I came into the project after those critical decisions were
 made. I like some of what I see from the whole Theme/Style/Skin
 implementation, but overall it seems kludgy and weird to me. I didn't even
 talk about the most basic Button component yet, which I overrided
 immediately and created a custom component for. There is nothing more
 difficult than skinning a Button that you need to use everywhere, but looks
 different than the default Buttons that come with the program.
 
 Can anyone shed some light on my predicament?
 
 -steve warren

See articles:
Skinning the Flash 8 Components
or
Skinning the Flash MX 2004 Components
at MM Flash Developer Center:
http://www.macromedia.com/devnet/mx/flash/

I think you can achieve easily what you want by using Pass in the
Values with initObject or Subclassing a Component Class approach.

 It seems we are locked in when we use the Window component to ONE SKIN per 
 document.
I think it's true only 

[Flashcoders] skinning mcom scrollbar

2005-11-04 Thread marcel vogt

hi

has anyone expirience with skinnig the mcom scrollbar.

marcel

--
vogt mit vogt 

marcel vogt 
multimedia 

zwinglistrasse 34a 
8004 zürich 

phone:+41 (0)43 233 71 11 
cel:  +41 (0)79 222 26 55 
website:  http://www.vogtmitvogt.com
blog: http://nointro.kaywa.com
flash user group: http://sfug.ch
-- 


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


Re: [Flashcoders] Bokel's LoaderClass cache issue with Firefox - HELP !

2005-11-04 Thread Steve Webster

Hi Dom,

I have an initial swf in which im loading 2 external swf's into.  
That's all
working perfectly however firefox is not caching the external swf's  
and is
insisting on reloading them from scratch every time one of them is  
requested
from a button click, whereas Internet Explorer knows they were  
cached and

doesn't insist on preloading them again. (which is how it should be)


Have you got caching turned off in Firefox? Seems like a simply  
enough question, but we had memory caching (not just hd caching)  
turned off one one of our machines here that caused us some real  
headaches with swf preloading. Check the relevant settings in  
about:config, quit and restart the browser.


Hope this helps!

Cheers,

Steve

--
Steve Webster
Interactive Developer

Featurecreep Ltd.
www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047

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


RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox - HELP!

2005-11-04 Thread Dominic Fee
Hi Steve

Sorry forgot to mention that yes ive also checked that too.

The work is very heavily in development so ignore the work in progress.

http://www.darka.co.uk/MB_test/default.asp


when the interface loads, it also preloads the profile.swf and review.swf
which work fine however when selecting them from the buttons on the left
(ignore menus and contact) that is when firefox insist to reload them from
scratch again.

Man this is driving me insane.

Cheers,
Dom



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Webster
Sent: 04 November 2005 10:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Dom,

 I have an initial swf in which im loading 2 external swf's into.  
 That's all
 working perfectly however firefox is not caching the external swf's  
 and is
 insisting on reloading them from scratch every time one of them is  
 requested
 from a button click, whereas Internet Explorer knows they were  
 cached and
 doesn't insist on preloading them again. (which is how it should be)

Have you got caching turned off in Firefox? Seems like a simply  
enough question, but we had memory caching (not just hd caching)  
turned off one one of our machines here that caused us some real  
headaches with swf preloading. Check the relevant settings in  
about:config, quit and restart the browser.

Hope this helps!

Cheers,

Steve

-- 
Steve Webster
Interactive Developer

Featurecreep Ltd.
www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047

___
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] certificates

2005-11-04 Thread PR Durand

Hi Fruber and Grant,
thanx a lot for answers.

Fruber : How can you get execute Java command from a flash component? I 
knew only Flashstudiopro (now Zinc) to execute VBScript or such langages 
within an exe but no idea on executing java from an online swf


Grant : your idea seems to be good too. I don't know if it's sufficient 
for me, but I have to work with the Java developper this afternoon, so 
we'll look for a solution using your ideas and I'll post again after this.


Thanks once more

PR


Fruber Malcome a écrit :


Without putting too much thought into it - sounds like you could build a
component that executes a java command and then stops, and the java shell
that received the command would make a call back into the flash component
for the result. Same theory applies to C#.NET.

So doing a google on verifying certificates using Java will go a long way as
well.

Thanks - Fruber


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR Durand
Sent: Thursday, November 03, 2005 6:41 AM
To: Flashcoders mailing list
Subject: [Flashcoders] certificates

Hi list!
is everyone ok? (don't answer all, I just hope so ;)

I have to verify from flash if a specified certificate is activated (I
don't know the exact term cause I don't know certificates and it will be
made by someone else, but I mean that before the website is launched, a
condition has been verified and the certificate is correct, activated,
created...etc).
so I'd like to know if it's possible to acces the certificates from Flash
and what is the way for this.

Any ideas, links about certificates functioning in general are welcome too.

thanks a lot!

PR
___
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] Autopopulating from a webservice

2005-11-04 Thread Mischa Williamson
You need to access the result property of eventObj. This works well for
me:

import com.ffsys.util.WSProxy;

var listeningObj:Object = new Object();

listeningObj.result = function(eventObj:Object):Void {
trace(###);
trace( company :  + eventObj.result.company );

for( var z in eventObj.result )
{
trace( z +  ||  + eventObj.result[ z ] )
}
}

var ws:WSProxy = new WSProxy( 
http://www.flash-db.com/services/ws/companyInfo.wsdl; );

ws.addEventListener( result, listeningObj );
ws.doCompanyInfo(any,any,macr);

Hope it helps.

cheers -- mischa

On 11/3/05, Jeroen Janssen [EMAIL PROTECTED] wrote:

 Still not getting it :(

 I'm using this code with the class Mischa provided but it doesn't work.
 Beware, this is my first time working with listeners so I could do
 something incredibly stupid ;)

 var listeningObj:Object = new Object();

 listeningObj.result = function(eventObj:Object):Void {
 trace(###);
 trace( eventObj.company );
 }

 var ws:wsproxy = new wsproxy(
 http://www.flash-db.com/services/ws/companyInfo.wsdl; );

 ws.addEventListener( result, listeningObj );
 ws.doCompanyInfo(any,any,macr);

 I already used different methods for the listeningobj but none of them
 seem to work.

 Please help :)

 Jeroen



 -Original Message-
 From: NEILHIGHLEY.COM http://NEILHIGHLEY.COM [mailto:
 [EMAIL PROTECTED]
 Sent: woensdag 2 november 2005 19:59
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Autopopulating from a webservice

 Well, with a little bit of guidance from Mischa I have this sorted.

 I had to use an event proxy which was visible from the root, to
 courier the event from the webservice class I created back to the
 consuming class, as the addEventListener was not returning to the
 class if the listener was added to the webservice class...phew..

 e.g.
 The following worked (note: this is a selection of code)
 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - -
 (in standard class)
 public function getCategorys(){
 _root.eventProxy.addEventListener( categoriesLoaded,
 populateCategorys );
 webservice.getCategorys();
 }

 (in webservice class)
 function getCategorys():Void{
 wsCall=webService.getCategories(wsPassword);
 wsCall.onResult=function(result):Void{
 trace(webservice returned);

 _root.eventProxy.triggerEvent(categoriesLoaded,result);
 }
 }

 (eventProxy class)
 import mx.events.EventDispatcher;
 class event_sender{
 //broadcaster
 private var controller:Object;
 public var dispatchEvent:Function;
 public var addEventListener:Function;
 public var removeEventListener:Function;
 function event_sender(){
 EventDispatcher.initialize( this );
 }

 function triggerEvent(sEvent:String,oValue:Object){
 trace(proxy triggered);
 var eventObject:Object = {target:this,
 type:sEvent,result:oValue};
 dispatchEvent(eventObject);
 }
 }

 (and in root..)
 var eventProxy:event_sender=new event_sender();

 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - -

 It seems to me that actionscript still loses references to remote
 objects within its code and without referring to a global you cannot
 link two objects via events.

 If you can suggest an easier way of doing this, or point out that Im a
 noob and show me a proper way, Im all ears.

 Neil


 --
 www.neilhighley.com http://www.neilhighley.com
 ___
 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] Bokel's LoaderClass cache issue with Firefox - HELP!

2005-11-04 Thread Dominic Fee
Hi Nick,

1.06 firefox

Ive made the profile.swf bigger in file size now just so you can see if the
preloading is working or not and if you get that horrible re-preload

Cheers,
Dom

The code im using for preloading at the moment is:

(ignore all the dirty if statements, im going to be animating the load bar
supersmooth)



bar_mc.onLoadProgress = function(loaderObj) {
this._xscale = loaderObj.getPercent();
};
myListener_obj = new Object();
bar_mc.onLoadStart = function(loaderObj) {
trace(Loading of +loaderObj.getTarget()+ has started);
};
myListener_obj.onLoadProgress = function(loaderObj) {
trace(Percentage: +loaderObj.getPercent());
if (loaderObj.getPercent()1) {
_root.tweener.tween(_width, 10, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()10) {
_root.tweener.tween(_width, 20, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()20) {
_root.tweener.tween(_width, 40, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()30) {
_root.tweener.tween(_width, 60, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()40) {
_root.tweener.tween(_width, 80, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()50) {
_root.tweener.tween(_width, 100, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()60) {
_root.tweener.tween(_width, 120, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()70) {
_root.tweener.tween(_width, 140, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()80) {
_root.tweener.tween(_width, 150, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()90) {
_root.tweener.tween(_width, 160, 2.5, easeOutBounce, 0,
Preloader);
}
};
bar_mc.onLoadComplete = function(success, loaderObj) {


trace(Loading of +loaderObj.getTarget()+ is completed);
_root.tweener.tween(_width, 172, 1.5, easeOutSine, 0, Continue);
function Continue() {
nextFrame();
}
};
myLoader = new com.qlod.LoaderClass();
myLoader.addListener(bar_mc);
myLoader.observe(this);
myLoader.load(movie_mc, profile/profile.swf, myListener_obj);
myLoader.load(movie_mc, reviews/reviews.swf, myListener_obj);
stop();


then on the buttons im using:


// 1. Load Profile
function LoadProfile() {
trace(Load Profile);
EnableNav();
loadMovie(profile/profile.swf, movie_mc);

}
// 2. Load Reviews
function LoadReviews() {
trace(Load Reviews);
EnableNav();
loadMovie(reviews/reviews.swf, movie_mc);
}


Cheers,
Dom




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: 04 November 2005 10:49
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Dom,

You got seperate preloaders for each section?  As on my PC (XP SP2) I don't
see any difference in behaviour between IE and Firefox...So I can't tell if
the movies you are preloading are preloaded or not, as there is only a delay
of like 1 second before the content starts appearing.  So im guessing it may
be a firefox issue on your machine?  What version?

Cheers,

Nick


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Fee
Sent: 04 November 2005 10:38
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Steve

Sorry forgot to mention that yes ive also checked that too.

The work is very heavily in development so ignore the work in progress.

http://www.darka.co.uk/MB_test/default.asp


when the interface loads, it also preloads the profile.swf and review.swf
which work fine however when selecting them from the buttons on the left
(ignore menus and contact) that is when firefox insist to reload them from
scratch again.

Man this is driving me insane.

Cheers,
Dom



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Webster
Sent: 04 November 2005 10:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Dom,

 I have an initial swf in which im loading 2 external swf's into.  
 That's all
 working perfectly however firefox is not caching the external swf's 
 and is insisting on reloading them from scratch every time one of them 
 is requested from a button click, whereas Internet Explorer knows they 
 were cached and doesn't insist on preloading them again. (which is how 
 it should be)

Have you got caching turned off in Firefox? Seems like a simply enough
question, but we had memory caching (not just hd caching) turned off one one
of our machines 

[Flashcoders] eval()

2005-11-04 Thread Spiros Gerokostas

hi,

can you help with this line of code?

eval(_root.something + i + .onRollOut) = function()
{
}

well i know this is wrong in flash 6.

Is this possible?

this[_root.something + i + .onRollOut) = function()
{
}

thanks,

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


Re: [Flashcoders] change icon

2005-11-04 Thread Spiros Gerokostas

McCain wrote:


what about mac application? (change the icon)
 



To change to the icon of a mac application, you only need a mac and the
icon. You open the information panel of the application and you can copy the
icon selecting it or paste another icon above, much more easy that in
Windows without using externals programs like ResHacker for Windows.

// McCain
// http://www.auskalo.com


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

 


ok thanks!!! cool.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] eval()

2005-11-04 Thread Ian Thomas
_root[something+i].onRollOut=function()
{
}

HTH,
Ian

On 11/4/05, Spiros Gerokostas [EMAIL PROTECTED] wrote:

 hi,

 can you help with this line of code?

 eval(_root.something + i + .onRollOut) = function()
 {
 }

 well i know this is wrong in flash 6.

 Is this possible?

 this[_root.something + i + .onRollOut) = function()
 {
 }

 thanks,

 Spiros
 ___
 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] Autopopulating from a webservice

2005-11-04 Thread Jeroen Janssen
Thanks for helping me out!

I tried the code you posted but I still get the same result. 

It seems that onresult fires a resultHandler method and not the
listeningObject.result method.

This is what I see if I uncomment your trace commands:
f : doCompanyInfo
Method doCompanyInfo was called with arguments: any,any,macr
Web service result : [object Object]
f : resultHandler
Method resultHandler was called with arguments: [object Object]

Is it due to the eventdispatcher class you are using?

Grtz,
Jeroen


-Original Message-
From: Mischa Williamson [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 4 november 2005 11:45
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Autopopulating from a webservice

You need to access the result property of eventObj. This works well
for
me:

import com.ffsys.util.WSProxy;

var listeningObj:Object = new Object();

listeningObj.result = function(eventObj:Object):Void {
trace(###);
trace( company :  + eventObj.result.company );

for( var z in eventObj.result )
{
trace( z +  ||  + eventObj.result[ z ] )
}
}

var ws:WSProxy = new WSProxy( 
http://www.flash-db.com/services/ws/companyInfo.wsdl; );

ws.addEventListener( result, listeningObj );
ws.doCompanyInfo(any,any,macr);

Hope it helps.

cheers -- mischa

On 11/3/05, Jeroen Janssen [EMAIL PROTECTED] wrote:

 Still not getting it :(

 I'm using this code with the class Mischa provided but it doesn't
work.
 Beware, this is my first time working with listeners so I could do
 something incredibly stupid ;)

 var listeningObj:Object = new Object();

 listeningObj.result = function(eventObj:Object):Void {
 trace(###);
 trace( eventObj.company );
 }

 var ws:wsproxy = new wsproxy(
 http://www.flash-db.com/services/ws/companyInfo.wsdl; );

 ws.addEventListener( result, listeningObj );
 ws.doCompanyInfo(any,any,macr);

 I already used different methods for the listeningobj but none of them
 seem to work.

 Please help :)

 Jeroen



 -Original Message-
 From: NEILHIGHLEY.COM http://NEILHIGHLEY.COM [mailto:
 [EMAIL PROTECTED]
 Sent: woensdag 2 november 2005 19:59
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Autopopulating from a webservice

 Well, with a little bit of guidance from Mischa I have this sorted.

 I had to use an event proxy which was visible from the root, to
 courier the event from the webservice class I created back to the
 consuming class, as the addEventListener was not returning to the
 class if the listener was added to the webservice class...phew..

 e.g.
 The following worked (note: this is a selection of code)
 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - -
 (in standard class)
 public function getCategorys(){
 _root.eventProxy.addEventListener( categoriesLoaded,
 populateCategorys );
 webservice.getCategorys();
 }

 (in webservice class)
 function getCategorys():Void{
 wsCall=webService.getCategories(wsPassword);
 wsCall.onResult=function(result):Void{
 trace(webservice returned);

 _root.eventProxy.triggerEvent(categoriesLoaded,result);
 }
 }

 (eventProxy class)
 import mx.events.EventDispatcher;
 class event_sender{
 //broadcaster
 private var controller:Object;
 public var dispatchEvent:Function;
 public var addEventListener:Function;
 public var removeEventListener:Function;
 function event_sender(){
 EventDispatcher.initialize( this );
 }

 function triggerEvent(sEvent:String,oValue:Object){
 trace(proxy triggered);
 var eventObject:Object = {target:this,
 type:sEvent,result:oValue};
 dispatchEvent(eventObject);
 }
 }

 (and in root..)
 var eventProxy:event_sender=new event_sender();

 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - -

 It seems to me that actionscript still loses references to remote
 objects within its code and without referring to a global you cannot
 link two objects via events.

 If you can suggest an easier way of doing this, or point out that Im a
 noob and show me a proper way, Im all ears.

 Neil


 --
 www.neilhighley.com http://www.neilhighley.com
 ___
 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] Bokel's LoaderClass cache issue with Firefox - HELP!

2005-11-04 Thread Nick Weekes
Ah yeah, I see the problem, and it's the same on my firefox 1.07, so that
clearly aint the issue.

I don't use the bokel class for preloading, so hopefully there are enough
people on the list who do, and have experience of it with firefox...

Cheers,

Nick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Fee
Sent: 04 November 2005 11:03
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Nick,

1.06 firefox

Ive made the profile.swf bigger in file size now just so you can see if the
preloading is working or not and if you get that horrible re-preload

Cheers,
Dom

The code im using for preloading at the moment is:

(ignore all the dirty if statements, im going to be animating the load bar
supersmooth)



bar_mc.onLoadProgress = function(loaderObj) {
this._xscale = loaderObj.getPercent();
};
myListener_obj = new Object();
bar_mc.onLoadStart = function(loaderObj) {
trace(Loading of +loaderObj.getTarget()+ has started); };
myListener_obj.onLoadProgress = function(loaderObj) {
trace(Percentage: +loaderObj.getPercent());
if (loaderObj.getPercent()1) {
_root.tweener.tween(_width, 10, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()10) {
_root.tweener.tween(_width, 20, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()20) {
_root.tweener.tween(_width, 40, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()30) {
_root.tweener.tween(_width, 60, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()40) {
_root.tweener.tween(_width, 80, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()50) {
_root.tweener.tween(_width, 100, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()60) {
_root.tweener.tween(_width, 120, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()70) {
_root.tweener.tween(_width, 140, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()80) {
_root.tweener.tween(_width, 150, 2.5, easeOutBounce, 0,
Preloader);
}
if (loaderObj.getPercent()90) {
_root.tweener.tween(_width, 160, 2.5, easeOutBounce, 0,
Preloader);
}
};
bar_mc.onLoadComplete = function(success, loaderObj) {


trace(Loading of +loaderObj.getTarget()+ is completed);
_root.tweener.tween(_width, 172, 1.5, easeOutSine, 0, Continue);
function Continue() {
nextFrame();
}
};
myLoader = new com.qlod.LoaderClass();
myLoader.addListener(bar_mc);
myLoader.observe(this);
myLoader.load(movie_mc, profile/profile.swf, myListener_obj);
myLoader.load(movie_mc, reviews/reviews.swf, myListener_obj); stop();


then on the buttons im using:


// 1. Load Profile
function LoadProfile() {
trace(Load Profile);
EnableNav();
loadMovie(profile/profile.swf, movie_mc);

}
// 2. Load Reviews
function LoadReviews() {
trace(Load Reviews);
EnableNav();
loadMovie(reviews/reviews.swf, movie_mc);
}


Cheers,
Dom




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: 04 November 2005 10:49
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Dom,

You got seperate preloaders for each section?  As on my PC (XP SP2) I don't
see any difference in behaviour between IE and Firefox...So I can't tell if
the movies you are preloading are preloaded or not, as there is only a delay
of like 1 second before the content starts appearing.  So im guessing it may
be a firefox issue on your machine?  What version?

Cheers,

Nick


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Fee
Sent: 04 November 2005 10:38
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Steve

Sorry forgot to mention that yes ive also checked that too.

The work is very heavily in development so ignore the work in progress.

http://www.darka.co.uk/MB_test/default.asp


when the interface loads, it also preloads the profile.swf and review.swf
which work fine however when selecting them from the buttons on the left
(ignore menus and contact) that is when firefox insist to reload them from
scratch again.

Man this is driving me insane.

Cheers,
Dom



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Webster
Sent: 04 November 2005 10:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Dom,

 I have an initial swf in which im loading 2 

Re: [Flashcoders] Autopopulating from a webservice

2005-11-04 Thread Mischa Williamson
You are right it is to do with the EventDispatcher. If i put this line into
MM's addEventListener method:

trace( add event :  + this[queueName] )

The output is:

add event : [type Function]

When clearly it should be an array. I think it has something to do with the
WSProxy class being dynamic. I haven't got time to debug it properly, but i
have uploaded my EventDispatcher class:

http://freeform-systems.com/share/actionscript/EventDispatcher.as

Which definetely works with the WSProxy class and the code you posted.

Hope this helps.

cheers -- mischa

On 11/4/05, Jeroen Janssen [EMAIL PROTECTED] wrote:

 Thanks for helping me out!

 I tried the code you posted but I still get the same result.

 It seems that onresult fires a resultHandler method and not the
 listeningObject.result method.

 This is what I see if I uncomment your trace commands:
 f : doCompanyInfo
 Method doCompanyInfo was called with arguments: any,any,macr
 Web service result : [object Object]
 f : resultHandler
 Method resultHandler was called with arguments: [object Object]

 Is it due to the eventdispatcher class you are using?

 Grtz,
 Jeroen


 -Original Message-
 From: Mischa Williamson [mailto:[EMAIL PROTECTED]
 Sent: vrijdag 4 november 2005 11:45
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Autopopulating from a webservice

 You need to access the result property of eventObj. This works well
 for
 me:

 import com.ffsys.util.WSProxy;

 var listeningObj:Object = new Object();

 listeningObj.result = function(eventObj:Object):Void {
 trace(###);
 trace( company :  + eventObj.result.company );

 for( var z in eventObj.result )
 {
 trace( z +  ||  + eventObj.result[ z ] )
 }
 }

 var ws:WSProxy = new WSProxy( 
 http://www.flash-db.com/services/ws/companyInfo.wsdl; );

 ws.addEventListener( result, listeningObj );
 ws.doCompanyInfo(any,any,macr);

 Hope it helps.

 cheers -- mischa

 On 11/3/05, Jeroen Janssen [EMAIL PROTECTED] wrote:
 
  Still not getting it :(
 
  I'm using this code with the class Mischa provided but it doesn't
 work.
  Beware, this is my first time working with listeners so I could do
  something incredibly stupid ;)
 
  var listeningObj:Object = new Object();
 
  listeningObj.result = function(eventObj:Object):Void {
  trace(###);
  trace( eventObj.company );
  }
 
  var ws:wsproxy = new wsproxy(
  http://www.flash-db.com/services/ws/companyInfo.wsdl; );
 
  ws.addEventListener( result, listeningObj );
  ws.doCompanyInfo(any,any,macr);
 
  I already used different methods for the listeningobj but none of them
  seem to work.
 
  Please help :)
 
  Jeroen
 
 
 
  -Original Message-
  From: NEILHIGHLEY.COM http://NEILHIGHLEY.COM http://NEILHIGHLEY.COM
 [mailto:
  [EMAIL PROTECTED]
  Sent: woensdag 2 november 2005 19:59
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Autopopulating from a webservice
 
  Well, with a little bit of guidance from Mischa I have this sorted.
 
  I had to use an event proxy which was visible from the root, to
  courier the event from the webservice class I created back to the
  consuming class, as the addEventListener was not returning to the
  class if the listener was added to the webservice class...phew..
 
  e.g.
  The following worked (note: this is a selection of code)
  // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - - - - - - - - - - - - - - -
  (in standard class)
  public function getCategorys(){
  _root.eventProxy.addEventListener( categoriesLoaded,
  populateCategorys );
  webservice.getCategorys();
  }
 
  (in webservice class)
  function getCategorys():Void{
  wsCall=webService.getCategories(wsPassword);
  wsCall.onResult=function(result):Void{
  trace(webservice returned);
 
  _root.eventProxy.triggerEvent(categoriesLoaded,result);
  }
  }
 
  (eventProxy class)
  import mx.events.EventDispatcher;
  class event_sender{
  //broadcaster
  private var controller:Object;
  public var dispatchEvent:Function;
  public var addEventListener:Function;
  public var removeEventListener:Function;
  function event_sender(){
  EventDispatcher.initialize( this );
  }
 
  function triggerEvent(sEvent:String,oValue:Object){
  trace(proxy triggered);
  var eventObject:Object = {target:this,
  type:sEvent,result:oValue};
  dispatchEvent(eventObject);
  }
  }
 
  (and in root..)
  var eventProxy:event_sender=new event_sender();
 
  // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - - - - - - - - - - - - - - -
 
  It seems to me that actionscript still loses references to remote
  objects within its code and without referring to a global you cannot
  link two objects via events.
 
  If you can suggest an easier way of doing this, or point out that Im a
  noob and show me a proper way, Im all ears.
 
  Neil
 
 
  --
  www.neilhighley.com http://www.neilhighley.com 
 http://www.neilhighley.com
  ___
  Flashcoders mailing list
  

Re: [Flashcoders] Load file from local path to swf which is on web

2005-11-04 Thread PR Durand

Hi;
Are your sure wether the

mc.loadMovie(file://c:\test.swf)

targets YOUR local drive or the SERVER local drive?

PR



franto a écrit :


Hi,

I've problem with loading swf from local path to swf on net.
Example:
you can swf on net somewhere and code inside is:

mc = this.createEmptyMovieClip(content,100)
mc.loadMovie(file://c:\test.swf)

on local there si test.swf with code:

System.security.allowDomain(*)


This wirks in Flash7, but not in Flash 8. I was searching bit, and
find such things:

- http://www.macromedia.com/devnet/flash/articles/fplayer8_security.html

Quotation from page:
---
New Restrictions
# Loading restrictions: SWF and HTML content from non-local URLs may
no longer load any content (SWF, HTML, PNG, and so on) from local
paths.

- there is some security manager for flash 8 content
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html

i allow localhost, but it doesnt helps..

And I need to work this with manual allowing localhost (It's kiosk
system, players can not set security settings for Flash player)


Does anyone have working solution for this?
Thanks many times...

-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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] Load file from local path to swf which is on web

2005-11-04 Thread franto
in Flash 7 it was MY local drive, not SERVER local drive...
We had working example, which works in Flash7, but doesnt work in Flash8


On 11/4/05, PR Durand [EMAIL PROTECTED] wrote:
 Hi;
 Are your sure wether the

 mc.loadMovie(file://c:\test.swf)

 targets YOUR local drive or the SERVER local drive?

 PR



 franto a écrit :

 Hi,
 
 I've problem with loading swf from local path to swf on net.
 Example:
 you can swf on net somewhere and code inside is:
 
 mc = this.createEmptyMovieClip(content,100)
 mc.loadMovie(file://c:\test.swf)
 
 on local there si test.swf with code:
 
 System.security.allowDomain(*)
 
 
 This wirks in Flash7, but not in Flash 8. I was searching bit, and
 find such things:
 
 - http://www.macromedia.com/devnet/flash/articles/fplayer8_security.html
 
 Quotation from page:
 ---
 New Restrictions
 # Loading restrictions: SWF and HTML content from non-local URLs may
 no longer load any content (SWF, HTML, PNG, and so on) from local
 paths.
 
 - there is some security manager for flash 8 content
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html
 
 i allow localhost, but it doesnt helps..
 
 And I need to work this with manual allowing localhost (It's kiosk
 system, players can not set security settings for Flash player)
 
 
 Does anyone have working solution for this?
 Thanks many times...
 
 -
 Franto
 
 http://blog.franto.com
 http://www.flashcoders.sk
 ___
 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



--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash Certification

2005-11-04 Thread Doug Coning
Greetings All,

 

My company is encouraging all its developers to pursue certification
over the next year in their realms of expertise.  I know that there have
been several threads on the legitimacy of certification and I'm not
trying to revisit that discussion.  Instead, I'd like to ask if anyone
know the plans for certifications now that Flash 8 is out (i.e. will
there be a Flash 8 certification test?) and also is Adobe going to
continue the flash certification process when Flash becomes Adobe Flash?

 

Thanks,

 

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] V2 Components - Themes/Styles/Skins -Window/ComboBox/Button

2005-11-04 Thread Chris Wilson
Without having to change the skin entirely, you can change the halo color to
a light grey with the following:

_global.style.setStyle(themeColor, 0xee);

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Warren
Sent: Friday, November 04, 2005 2:36 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] V2 Components - Themes/Styles/Skins
-Window/ComboBox/Button

*[A WHILE AGO ON FLASHCODERS...]*

On 8/3/05, Iestyn Lloyd [EMAIL PROTECTED] wrote:Hi all,

i've skinned the FMX2004 scrollpane component by altering the
ScrollBarAssets MC, and now i've been told that i need to have 2
completely different skins for the scrollpane - and that they need to be
shown at the same time.
Is this possible? If so... err.. how? :)

* [SOUND OF CRICKETS CHIRPING] ie: nobody replied.
*
---

I need to do the same thing with a Window component, and have perhaps an
easier question about the ComboBox.

I've been studying and working with Themes, Styles and Skinning for the V2
Components on a project with a deadline that has come and gone - we're
behind! The project was developed using the V2 components early on, with the
skinning of the components and final design implementation saved for last. I
was recently brought into the project to do this work, and have found
working with the v2 components to be, well... difficult to accomodate.

I have since dug my heels in, and am doing the best I can under the
circumstances. We've been successful at skinning the RadioButton and
CheckBox, and have had limited success with the ComboBox. Button and Window
have been the most difficult.

If you look at the built-in Macromedia Help, there's lots of detailed
information on the subjects. Here are my questions, and thanks in advance
for any help provided!

1) Window

I need to create several instances of the Window component - some with
TitleBackgrounds (standard MenuBars with a Title and a Close Button), and
some without. If you read the Help section [Components Language
Reference/Window Component/Customizing The Window Component] you'll see what
you can do with Styles and Skins. The TitleBackground is a skin element
only, so if you customize the skin to delete the TitleBackground... it
affects ALL instances of the Window component. I would have liked to see a
Window Style setting TitleBackgroundVisible:Boolean which could be set to
TRUE or FALSE. Or better yet, a Style setting that would accomodate
[Default, Disabled, CustomLinkageID].

I started creating a custom MyWindow component that simply opens a container
with a close button (the simplest form of window), but I ran into other
problems. To create the window I'm struggling with, a custom built DialogBox
class is called first, which creates an instance of a Window that depends on
(Macromedia's built-in) PopUpManager class to manage overlapping Windows and
their Modality. Without using the actual Window component, these features
are unavailable without doing lots of extra research, development and
testing.

MY QUESTION IS: Is there any way to create more than one standard Window
component that PopUpManager will recognize? It seems we are locked in when
we use the Window component to ONE SKIN per document. I would love to use a
standard Window component for application wide usage, but have additional
custom Window implementations with custom graphics that reference elements
in more than a single Window assets folder inside a single THEME.

2) ComboBox

I edited the skin graphics for ComboBox inside the ComboBox assets folder.
We're currently basing our THEME on the standard HALO THEME. Currently the
highlight of the ComboBox when you pull it down is green. I looked into the
ThemeColor Style setting for Halo's ComboBox and was surprised to see three
possible values - [HaloGreen, HaloBlue, HaloOrange]. I dug into the
components FLA file to try to figure out why there might be a limited three
settings in a Style, and couldn't figure it out.

Maybe you'll laugh when I say I would have appreciated a HaloGrey
option... but I'm not laughing. Can someone please tell me how to achieve
GREY???

-
CONCLUSION
-

I would have preferred to write my own classes or custom components for this
type of job, but I came into the project after those critical decisions were
made. I like some of what I see from the whole Theme/Style/Skin
implementation, but overall it seems kludgy and weird to me. I didn't even
talk about the most basic Button component yet, which I overrided
immediately and created a custom component for. There is nothing more
difficult than skinning a Button that you need to use everywhere, but looks
different than the default Buttons that come with the program.

Can anyone shed some light on my predicament?

-steve warren
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] V2 Components - Themes/Styles/Skins -Window/ComboBox/Button

2005-11-04 Thread Steve Warren
Nice one - that works!

Why does the Macromedia documentation suggest there are only three options
for this haloGreen, haloBlue, and haloOrange?

Thanks Chris.

-steve

On 11/4/05, Chris Wilson [EMAIL PROTECTED] wrote:

 Without having to change the skin entirely, you can change the halo color
 to
 a light grey with the following:

 _global.style.setStyle(themeColor, 0xee);

 -Chris

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Steve
 Warren
 Sent: Friday, November 04, 2005 2:36 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] V2 Components - Themes/Styles/Skins
 -Window/ComboBox/Button

 *[A WHILE AGO ON FLASHCODERS...]*

 On 8/3/05, Iestyn Lloyd [EMAIL PROTECTED] wrote:Hi all,

 i've skinned the FMX2004 scrollpane component by altering the
 ScrollBarAssets MC, and now i've been told that i need to have 2
 completely different skins for the scrollpane - and that they need to be
 shown at the same time.
 Is this possible? If so... err.. how? :)

 * [SOUND OF CRICKETS CHIRPING] ie: nobody replied.
 *
 ---

 I need to do the same thing with a Window component, and have perhaps an
 easier question about the ComboBox.

 I've been studying and working with Themes, Styles and Skinning for the V2
 Components on a project with a deadline that has come and gone - we're
 behind! The project was developed using the V2 components early on, with
 the
 skinning of the components and final design implementation saved for last.
 I
 was recently brought into the project to do this work, and have found
 working with the v2 components to be, well... difficult to accomodate.

 I have since dug my heels in, and am doing the best I can under the
 circumstances. We've been successful at skinning the RadioButton and
 CheckBox, and have had limited success with the ComboBox. Button and
 Window
 have been the most difficult.

 If you look at the built-in Macromedia Help, there's lots of detailed
 information on the subjects. Here are my questions, and thanks in advance
 for any help provided!

 1) Window

 I need to create several instances of the Window component - some with
 TitleBackgrounds (standard MenuBars with a Title and a Close Button), and
 some without. If you read the Help section [Components Language
 Reference/Window Component/Customizing The Window Component] you'll see
 what
 you can do with Styles and Skins. The TitleBackground is a skin element
 only, so if you customize the skin to delete the TitleBackground... it
 affects ALL instances of the Window component. I would have liked to see a
 Window Style setting TitleBackgroundVisible:Boolean which could be set
 to
 TRUE or FALSE. Or better yet, a Style setting that would accomodate
 [Default, Disabled, CustomLinkageID].

 I started creating a custom MyWindow component that simply opens a
 container
 with a close button (the simplest form of window), but I ran into other
 problems. To create the window I'm struggling with, a custom built
 DialogBox
 class is called first, which creates an instance of a Window that depends
 on
 (Macromedia's built-in) PopUpManager class to manage overlapping Windows
 and
 their Modality. Without using the actual Window component, these features
 are unavailable without doing lots of extra research, development and
 testing.

 MY QUESTION IS: Is there any way to create more than one standard Window
 component that PopUpManager will recognize? It seems we are locked in when
 we use the Window component to ONE SKIN per document. I would love to use
 a
 standard Window component for application wide usage, but have additional
 custom Window implementations with custom graphics that reference elements
 in more than a single Window assets folder inside a single THEME.

 2) ComboBox

 I edited the skin graphics for ComboBox inside the ComboBox assets folder.
 We're currently basing our THEME on the standard HALO THEME. Currently the
 highlight of the ComboBox when you pull it down is green. I looked into
 the
 ThemeColor Style setting for Halo's ComboBox and was surprised to see
 three
 possible values - [HaloGreen, HaloBlue, HaloOrange]. I dug into the
 components FLA file to try to figure out why there might be a limited
 three
 settings in a Style, and couldn't figure it out.

 Maybe you'll laugh when I say I would have appreciated a HaloGrey
 option... but I'm not laughing. Can someone please tell me how to achieve
 GREY???

 -
 CONCLUSION
 -

 I would have preferred to write my own classes or custom components for
 this
 type of job, but I came into the project after those critical decisions
 were
 made. I like some of what I see from the whole Theme/Style/Skin
 implementation, but overall it seems kludgy and weird to me. I didn't even
 talk about the most basic Button component yet, which I overrided
 immediately and created a custom component for. There is 

RE: [Flashcoders] V2 Components - Themes/Styles/Skins-Window/ComboBox/Button

2005-11-04 Thread Chris Wilson
I don't know, unfortunately.  I've struggled with skinning components too,
and have yet to do so successfully.  I stumbled into the code I sent before
completely by accident.  :-]

-Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Warren
Sent: Friday, November 04, 2005 8:36 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] V2 Components -
Themes/Styles/Skins-Window/ComboBox/Button

Nice one - that works!

Why does the Macromedia documentation suggest there are only three options
for this haloGreen, haloBlue, and haloOrange?

Thanks Chris.

-steve

On 11/4/05, Chris Wilson [EMAIL PROTECTED] wrote:

 Without having to change the skin entirely, you can change the halo color
 to
 a light grey with the following:

 _global.style.setStyle(themeColor, 0xee);

 -Chris



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


RE: [Flashcoders] Embedded Fonts + HTML

2005-11-04 Thread lieven.cardoen
Maybe I need to be a little bit clearder.

I have a textfield with embedded fonts set to true. Next I want to
render html-text  (.html = true and .htmlText = ...). If I don't use
embedded fonts, it works fine. With embedded fonts, nothing appears.

Thx, Lieven Cardoen

Ps: Is there a workaround for this. I need to use embedded fonts because
the font isn't supported on most computers. And I really need to render
HTML.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: vrijdag 4 november 2005 12:26
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Embedded Fonts + HTML

Does this work ? In my project it doesn't seem to work...

 

Flash7MX Update 7.2

___
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] Help For Custom Components

2005-11-04 Thread eric dolecki
Ok I have this all figured out, but is there an application that actually
creates Help for components (generates the XML)?

Its a pain in the ass composing help right now. A little app that generates
the hierarchy of stuff would be awesome (reference panel).

e.dolecki


On 11/4/05, Robert Edgar [EMAIL PROTECTED] wrote:

 Hmm,
 We bought AS2Doc a year ago, its good, probably still the best around(due
 to
 lack of any real competition) but...
 the bad news is AS2Doc development was abandoned in March and now there is
 no support whatsoever or bug fixes or new releases coming ever...

 There are a number of bugs, like some Interface classes get skipped, the
 PanelActions generate junk at times, and some essential features missing
 like no way to document events and of course once AS3 is here there wil be
 no way forward.

 It still might be worth buying but anyone doing so needs to do it with
 there
 eyes wide open.
 Rob

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of JOR
 Sent: Thursday, November 03, 2005 5:29 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Help For Custom Components


 Gregory_GOusable wrote:
  In MX 2004, you can write the help in form of HTML files (number of
  files) instead of reference tag in customactions.
 
  Then, add the tag for each html file to your .mxi like that: file
  source=_your_path_/file_name.html
  destination=$flash/HelpPanel/Help/_your_folder_ /
 
  See Extending Flash Help Panel Content article in Flash
  Documentation on MM site. Also, I'd recommend just download any
  component (for Flash MX 2004) and look through it's content, mxi etc.
 
 

 I just bought AS2DOC and it's awesome at creating Flash documentation
 files. I just ran it on a couple of packages I had recently written
 with JavaDoc style commenting and in a matter of seconds it created
 detailed help docs and an mxi file for me. I packaged the mxi file into
 an mxp and installed it into Flash. After looking through the docs I
 see I left some comments out so I'm going to use it as a reference to
 where to go back to my classes and add more information to fill out the
 pages more.

 Pricey but great product. Highly recommended. Unfortunatley their free
 trial version does not do Flash help files.

 JOR



 ___
 === James O'Reilly
 ===
 === SynergyMedia, Inc.
 === www.synergymedia.net http://www.synergymedia.net

 ___
 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] gradient fills based on temperature maps

2005-11-04 Thread Steve Rankin
Take a look at this.

http://motiondraw.com/md/as_samples/t/gradientTween/gradientTweenEditor.html

I hope this helps
-Steve


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas
Rønning
Sent: Friday, November 04, 2005 3:46 AM
To: Flashcoders mailing list
Subject: [Flashcoders] gradient fills based on temperature maps

I'm building a temperature grid in a 2d array, where i'd like to build 
some kind of smooth gradient based on the entire map.

For instance this map can start red in the top left, fade to a cool blue 
near the center, then flare into red again off to the right, while 
everything else becomes a green tinted blue.

As is i could use the drawing api to draw colored blocks to give the 
impression of such a map, but ideally i'd be able to smooth out the 
values with gradients, because the map is really quite low res.

Anyone got any ideas for this?

- Andreas
___
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] text not displaying in an input text field

2005-11-04 Thread Tom Rhodes
Hi All,

I'm having a weird problem with a text editor i made ages ago, i'm updating it 
to use styles instead of textformat.

however, whenever i have my input text field set to use the style sheet nothing 
displays.

in the output window, the text and the htmlText are filled with what they 
shoudl be, but i see nothing.

the fontFamily property is Arial, and i have Arial embedded on the textfield. 
still nothing showing.

anyone seen this before???

tia,

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


RE: [Flashcoders] Embedded Fonts + HTML

2005-11-04 Thread Pål Østerud
One workaround is this:
1. Place a textfield offstage in frame 1.
2. Set it to dynamic text, html-enabled, and embed the chars you need
3. Type some text in it with the correct font, if you need bold you should also 
type
some bold text in it.

Best regards,
Pål Østerud


Maybe I need to be a little bit clearder.

I have a textfield with embedded fonts set to true. Next I want to render 
html-text
 (.html = true and .htmlText = ...). If I don't use embedded fonts, it works 
fine.
With embedded fonts, nothing appears.

Thx, Lieven Cardoen

Ps: Is there a workaround for this. I need to use embedded fonts because the 
font
isn't supported on most computers. And I really need to render HTML.


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


Re: [Flashcoders] text not displaying in an input text field

2005-11-04 Thread grant
make sure you have all styles of the font you are using embedded, we were using 
bold in a style but forgot to embed bold specifically and nothing rendered.

Grant

- Original Message -
From: Tom Rhodes [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 11/4/05 9:52 AM
Subject: [Flashcoders] text not displaying in an input text field

 Hi All,
 
 I'm having a weird problem with a text editor i made ages ago, i'm updating 
 it to use styles instead of textformat.
 
 however, whenever i have my input text field set to use the style sheet 
 nothing displays.
 
 in the output window, the text and the htmlText are filled with what they 
 shoudl be, but i see nothing.
 
 the fontFamily property is Arial, and i have Arial embedded on the textfield. 
 still nothing showing.
 
 anyone seen this before???
 
 tia,
 
 tom.
 ___
 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] odd action of getURL to run a javascript function

2005-11-04 Thread Gregory_GOusable

I'd suggest to use getURL w/o javascript:

getURL(downloadCore.asp?file=+fileName, downLoadFrame);

it
1)is shorter ;-) and
2)doesn't depend on JS enabled or not in the
user's browser.


 =  Fri, 4 Nov 2005, Nathan Kirby wrote:
 I'm wondering if anyone else has experienced this or may have suggestions to
 fix it. I've got an image viewing swf that is in a pop-up. Inside this movie
 I have a button that says download. The button works 100% of the time in
 FireFox but IE 6 it only works once and then beeps from then on. I'm using
 the getURL to call a javascript function in the asp page that holds the
 movie.
 
 Actionscript:
 getURL(javascript:doDownLoad(+fileName+));
 
 Javascript:
 script language=javascript1.3
 function doDownLoad (args) {
 var downLoadFrameObj = document.getElementById('downLoadFrame');
 var thePath = downloadCore.asp?file=+args;
 if (args != ) {
 alert(args);
 downLoadFrameObj.src = thePath;
 }
 }
 /script
 
 After the object tag for the flash movie I have 
 Html:
 iframe id=downLoadFrame name=downLoadFrame style=visibility:hidden
 src=downloadCore.asp?file=/iframe
 
 Basically what happens is I run a asp page to give the user a download box,
 instead of poping another window and providing a link.
 
 Besides the security stuff - already added the webserver to trusted hosts
 and all that.
 
 I'm wondering why it works one time only in IE - if I close the window it
 will work just once the next time I open it. It seams like a javascript/IE
 thing sorry for the off topic - just looking for some suggestions.

-- 
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] odd action of getURL to run a javascript function.

2005-11-04 Thread Muzak
Why the javascript?
Try calling the asp page directly, using the iframe id as the target window

getURL(downloadCore.asp?file=+fileName, downLoadFrame);

I even doubt you need the iframe entirely, but not 100% sure though.

regards,
Muzak

- Original Message - 
From: Nathan Kirby [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 3:21 PM
Subject: [Flashcoders] odd action of getURL to run a javascript function.


 I'm wondering if anyone else has experienced this or may have suggestions to
 fix it. I've got an image viewing swf that is in a pop-up. Inside this movie
 I have a button that says download. The button works 100% of the time in
 FireFox but IE 6 it only works once and then beeps from then on. I'm using
 the getURL to call a javascript function in the asp page that holds the
 movie.

 Actionscript:
 getURL(javascript:doDownLoad(+fileName+));

 Javascript:
 script language=javascript1.3
 function doDownLoad (args) {
 var downLoadFrameObj = document.getElementById('downLoadFrame');
 var thePath = downloadCore.asp?file=+args;
 if (args != ) {
 alert(args);
 downLoadFrameObj.src = thePath;
 }
 }
 /script

 After the object tag for the flash movie I have
 Html:
 iframe id=downLoadFrame name=downLoadFrame style=visibility:hidden
 src=downloadCore.asp?file=/iframe

 Basically what happens is I run a asp page to give the user a download box,
 instead of poping another window and providing a link.

 Besides the security stuff - already added the webserver to trusted hosts
 and all that.

 I'm wondering why it works one time only in IE - if I close the window it
 will work just once the next time I open it. It seams like a javascript/IE
 thing sorry for the off topic - just looking for some suggestions.

 thanks


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


Re: [Flashcoders] placing an action at the end of a FLV video!

2005-11-04 Thread Gerry Creighton
Check the livedocs.macromdedia.com for adding cuepoints to your media  
player for whatever

version of Flash you are using.
Just have it listen for that cuepoint at the end and then load the  
home.swf.

listenerObject = new Object();
listenerObject.cuePoint = function(eventObject){
   // insert your code here
}
myMedia.addEventListener(cuePoint, listenerObject)

Gerry
 
...

http://www.thespikeranch.com
Certified Macromedia Flash MX Designer
 
...


On Nov 4, 2005, at 11:46 AM, William J. Miller wrote:

I have a swf that calls a flv on my server.  The swf loads into a  
movieclip on the main swf.  I need the loaded swf with the flv to  
load the default swf..(home.swf) into the mailloader clip when the  
flv is finished.



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


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


RE: [Flashcoders] gradient fills based on temperature maps

2005-11-04 Thread Andreas Weber
Oops, just realized that when running my code in Flash 8 nothing shows up -
because the drawing is just outside the bounds of the stage.

After line 52 or so
canvas._x = i;
just add
canvas._y = canvas._height;

Find the corrected code below.

hth
--
Andreas Weber
motiondraw.com


temperatureValues = new Array();

// create some random temperature data
for(var i= 0; i400; i++){
lastVal = i ? temperatureValues[i-1] : 50;
if(lastVal  100){
c = -1;
}else if(lastVal  0){
c = 1;
}else{
c = Math.random()  0.5 ? 1 : -1;
}
temperatureValues[i] = lastVal + c;
}

neutralColor = 0x00;
coldColor = 0x66;// temperature = 0
hotColor =  0xFF;// temperature = 100

hotColdRange =  colorRange(coldColor, hotColor, 100);

drawGraph();

function drawGraph(){
for(var i=0, len=temperatureValues.length; ilen; i++){
canvas = 
this.createEmptyMovieClip('canvas'+i,this.getNextHighestDepth());

// highest temperature:  v = 255
// lowest temperature: v = 0
// for this sample we use a temperature range from 0 to 100
temperatureRange = 100;
v = temperatureValues[i] * (255 / temperatureRange);
ratios = [0, v, 255];
colors = [neutralColor,
hotColdRange[Math.floor(temperatureValues[i])],neutralColor];
alphas = [100, 100, 100];

// more graph, less 'borealis'
//ratios = [0, v-30, v, v+30, 255];
//colors = [neutralColor,
neutralColor,hotColdRange[Math.floor(temperatureValues[i])], neutralColor,
neutralColor];
//alphas = [100, 100, 100, 100, 100];

matrix = {a:100, b:0, c:0, d:0, e:100, f:0, g:100, h:100, i:1};
matrix = {matrixType:box, x:0, y:0, w:100, h:100, r:0};

canvas.beginGradientFill(linear, colors, alphas, ratios, 
matrix);
canvas.lineTo(100, 0);
canvas.lineTo(100, 1);
canvas.lineTo(0, 1);
canvas.lineTo(0, 0);
canvas.endFill();
canvas._rotation = -90;
canvas._x = i;
canvas._y = canvas._height;

}
}

function colorRange(c1, c2, n) {
var c1 = {r:(c1  0xFF)  16, g:(c1  0x00FF00)  8, b:c1 

0xFF};
var c2 = {r:(c2  0xFF)  16, g:(c2  0x00FF00)  8, b:c2 

0xFF};

var r = (c2.r-c1.r)/(n-1);
var g = (c2.g-c1.g)/(n-1);
var b = (c2.b-c1.b)/(n-1);

var color_arr = new Array();
for(var i=0, len=n; ilen; i++){
color_arr[i] = ((c1.r+i*r)  16) + ((c1.g+i*g)  8) + 
(c1.b+i*b);
}
return color_arr;
}



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


RE: [Flashcoders] Flash Certification

2005-11-04 Thread Doug Coning
Thanks.  I agree with your assessment.  

Doug Coning 
Software Developer
FORUM Solutions, LLC


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Friday, November 04, 2005 8:55 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flash Certification
 
 Good morning...  :)
 
 I don't think there is many people who can actually answer your
question
 on
 that Adobe matter, but I am 100% sure that Macromedia will have a
 certificate for F8... (If not, I'll give you one of my certificates...
 I've
 got plenty...)
 
 I don't know about the power of the certificate though...  I do have
 several
 from F6 days and I am sure it has done some magic(?) when I was
landing my
 current job but I don't know how powerful it was or how powerful it
can be
 if I am looking for a new job...
 I mainly took the test because of my personal fulfillment nothing more
 nothing less... and I think that's pretty much how the certificate
works
 for
 most of the people...  Just my 2 cents on this...
 
 Jason
 
 - Original Message -
 From: Doug Coning [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 04, 2005 8:12 AM
 Subject: [Flashcoders] Flash Certification
 
 
  Greetings All,
 
 
 
  My company is encouraging all its developers to pursue certification
  over the next year in their realms of expertise.  I know that there
have
  been several threads on the legitimacy of certification and I'm not
  trying to revisit that discussion.  Instead, I'd like to ask if
anyone
  know the plans for certifications now that Flash 8 is out (i.e. will
  there be a Flash 8 certification test?) and also is Adobe going to
  continue the flash certification process when Flash becomes Adobe
Flash?
 
 
 
  Thanks,
 
 
 
  Doug Coning
 
  Software Developer
 
  FORUM Solutions, LLC
 
 
 ___
 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] passing mouse event

2005-11-04 Thread elibol
Hi Eric,

The _droptarget property changes before you 'release' a movieclip. It
changes whenever the majority of the area of the movieclip is over something
other than what is taking up the majority of the area at that instance. I
accually made sure this was the case before I posted because I was sure that
you would need the target before it was droped.

As for your other problems, you should gather as much information as you can
about the anatomy of the movieclips that need to be triggered if you arent
able to collaborate with your partners. If you're able to collaborate with
the developer that is creating the targets, you should have him construct an
abstract API for each target so you can 'question' any of the movieclips for
a movieclip group style identifier; which will allow you to differentiate
one target from the next without loops.

Good luck,

H


On 11/3/05, Éric Thibault [EMAIL PROTECTED] wrote:

 Thanks

 I've tried it with no success because the droptarget property is only
 initialised once the dragged mc is droped! Is there another property
 that can say over wich instance the dragged mc is?

 Thanks a million!

 elibol wrote:

 Hi Eric,
 
 Maybe a more optimized solution would be to have an onMouseMove event on
 the
 movieclip that is being dragged, which would be activated when the
 movieclip
 is dragged, that would run eval on the clips _droptarget property for
 each
 onMouseMove event. Each target could have a distinguishing public
 property
 that would be evaluated with the hitTest that would serve as the
 exception
 for triggering the onRollOver function. The dragging clip would also do a
 onRollOut trigger on the last clip it was over once the clip is no longer
 over the target.
 
 I tested this:
 
 var lastMC:MovieClip;
 
 function onPress(){
 this.startDrag();
 onMouseMove = runOnMouseMove;
 }
 
 function runOnMouseMove(){
 var t = eval(this._droptarget);
 trace(t);
 if(t!=lastMC){
 if(lastMC.isTarget){
 lastMC.onRollOut();
 lastMC = undefined;
 }
 if(t.isTarget){
 lastMC = t;
 t.onRollOver();
 }
 }
 }
 
 function onRelease(){
 this.stopDrag();
 onMouseMove = undefined;
 }
 
 onReleaseOutside = onRelease;
 
 
 Good luck,
 
 H
 
 
 On 11/2/05, Éric Thibault [EMAIL PROTECTED] wrote:
 
 
 Hi all!
 
 I have an application that uses startdrag events.
 
 My problem is that I have about 20 targets with rollover events (each
 hilighting a different portion of a radiography). When I drag an MC
 over those targerts, the rollover dont get triggered! Is there a way to
 pass the mouse event under my dragged MC to trigger my rollovers? To
 temporary solve this (an get a demo working) I've put en onenterframe
 inside each of my targets that checkes if the mouse is over them!
 
 There must be a better way to do that!
 
 Thanks a million! :-)
 
 --
 ===
 
 Éric Thibault
 Programmeur analyste
 Réseau de valorisation de l'enseignement
 Université Laval, pavillon Félix-Antoine Savard
 Québec, Canada
 Tel.: 656-2131 poste 18015
 Courriel : [EMAIL PROTECTED]
 
 ===
 
 Avis relatif à la confidentialité / Notice of Confidentiality /
 Advertencia de confidencialidad 
 http://www.rec.ulaval.ca/lce/securite/confidentialite.htm
 
 ___
 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
 
 
 


 --
 ===

 Éric Thibault
 Programmeur analyste
 Réseau de valorisation de l'enseignement
 Université Laval, pavillon Félix-Antoine Savard
 Québec, Canada
 Tel.: 656-2131 poste 18015
 Courriel : [EMAIL PROTECTED]

 ===

 Avis relatif à la confidentialité / Notice of Confidentiality /
 Advertencia de confidencialidad 
 http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

 ___
 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] skinning mcom scrollbar

2005-11-04 Thread Chris Allen
John Grden showed me how at one point and it really wasn't all that
hard.  Anyway, you basically have to create MovieClips for all of the
component's assetts and make sure that each of them have the
appropriate linkage identifier setup.  Here is a brief overview of
that on Metaliq's website:
http://www.metaliq.com/mcom/getting_started.htm#skinning

I hope that helps.

-Chris

On 11/4/05, marcel vogt [EMAIL PROTECTED] wrote:

 hi

 has anyone expirience with skinnig the mcom scrollbar.

 marcel

 --
 vogt mit vogt

 marcel vogt
 multimedia

 zwinglistrasse 34a
 8004 zürich

 phone:+41 (0)43 233 71 11
 cel:  +41 (0)79 222 26 55
 website:  http://www.vogtmitvogt.com
 blog: http://nointro.kaywa.com
 flash user group: http://sfug.ch
 --


 ___
 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] skinning mcom scrollbar

2005-11-04 Thread John Grden
yeah if you got to that page and follow that tutorial and still have issues,
let me know, I've got an FLA that's already setup.

On 11/4/05, Chris Allen [EMAIL PROTECTED] wrote:

 John Grden showed me how at one point and it really wasn't all that
 hard. Anyway, you basically have to create MovieClips for all of the
 component's assetts and make sure that each of them have the
 appropriate linkage identifier setup. Here is a brief overview of
 that on Metaliq's website:
 http://www.metaliq.com/mcom/getting_started.htm#skinning

 I hope that helps.

 -Chris

 On 11/4/05, marcel vogt [EMAIL PROTECTED] wrote:
 
  hi
 
  has anyone expirience with skinnig the mcom scrollbar.
 
  marcel
 
  --
  vogt mit vogt
 
  marcel vogt
  multimedia
 
  zwinglistrasse 34a
  8004 zürich
 
  phone: +41 (0)43 233 71 11
  cel: +41 (0)79 222 26 55
  website: http://www.vogtmitvogt.com
  blog: http://nointro.kaywa.com
  flash user group: http://sfug.ch
  --
 
 
  ___
  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




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


[Flashcoders] live preview vs. compiled swf

2005-11-04 Thread eric dolecki
I have a component, where part of the live preview is to show the date of
compile.

How can I code this so that when the resulting SWF is run some other time,
it uses a burned in value for the date, and not my get todays date
function? Somene suggested localSharedObject - but that doesn't really work
- since the 1st time you run it, the date could be inaccurate.

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


Re: [Flashcoders] live preview vs. compiled swf

2005-11-04 Thread JesterXL
Put this in your onLoad/initLayout function in your class.

if ( _global.isLivePreview == true)
{
// you are running in the Flash Live Preview
compile_txt.text = compiledDate;
}

To get the actualy compile date itself, you'll have to go ask the dudes on 
OSFlash; I think using ANT or some other post/pre-processor, you can set 
vars/global vars to a preset value.

- Original Message - 
From: eric dolecki [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 2:17 PM
Subject: [Flashcoders] live preview vs. compiled swf


I have a component, where part of the live preview is to show the date of
compile.

How can I code this so that when the resulting SWF is run some other time,
it uses a burned in value for the date, and not my get todays date
function? Somene suggested localSharedObject - but that doesn't really work
- since the 1st time you run it, the date could be inaccurate.

ed
___
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] live preview vs. compiled swf

2005-11-04 Thread eric dolecki
I have a dedicated live preview SWF, so I don't need that isLivePreview
thing. So I guess the only way to do this is to publish the SWF and then
inject a value in it aftwerwards. I have no qualms about a pre-processor,
but I'm making components for designers to use. I guess maybe instead of
trying to do some llifting for them by auto-completing the date, they can
just enter it as a string and be done with it :/

thanks.

ed

On 11/4/05, JesterXL [EMAIL PROTECTED] wrote:

 Put this in your onLoad/initLayout function in your class.

 if ( _global.isLivePreview == true)
 {
 // you are running in the Flash Live Preview
 compile_txt.text = compiledDate;
 }

 To get the actualy compile date itself, you'll have to go ask the dudes on
 OSFlash; I think using ANT or some other post/pre-processor, you can set
 vars/global vars to a preset value.

 - Original Message -
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 04, 2005 2:17 PM
 Subject: [Flashcoders] live preview vs. compiled swf


 I have a component, where part of the live preview is to show the date of
 compile.

 How can I code this so that when the resulting SWF is run some other time,
 it uses a burned in value for the date, and not my get todays date
 function? Somene suggested localSharedObject - but that doesn't really
 work
 - since the 1st time you run it, the date could be inaccurate.

 ed
 ___
 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] Need advice on XMLSocket architecture

2005-11-04 Thread Jim Phelan
Tracy,

I think you're going to find the latter of your two approaches to be more
efficient and quite easy to accomplish, especially the server will be
authored in .NET. If you're using the term port to refer to the actual
socket, then you'll find that handling multiple clients concurrently is
fairly easy to achieve without needing to filter results on the client side.

The main issues you're going to find with this sort of thing (network /
tunneling issues, thread management) will probably be non-existent in a
controlled environment with 100 clients.

I see the very basic architecture as something like this:

Flash client - xml/ascii serialization/deserialization layer - .net
socket server - xml/ascii serialization/deserialization layer - system
internals or .net remoting to the service aggregator / whatever

The other option in which you could avoid writing a server would be to poll
(even though it seems yucky) very quickly. Probably not such a huge burden
if you're on a lan and use flash remoting.

Jim



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Friday, November 04, 2005 2:44 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Need advice on XMLSocket architecture

Hello,  I'm a regular on the flexcoders list, where it was suggested
that I ask my question over here.  Any advice will be welcome!

I have 100 fixed, identifiable clients running a Flex 1.5 app on an
intranet.  A Dot.Net integration tier maintains individual states for
each client. The integration tier talks asynchronously to third party
apps over async tcp sockets and even mail transport.  I had planned on a
leisurely polling setup to get the clients updated with changes in
state, but I now have a requirement for an update with minimum latency.

The messaging between clients and server is very low frequency (a few
clients updated per minute) and very low message size (a few k per
update).

I am now looking at a true push connection using XMLSockets.  I see
two approaches:  

On would be to have a separate port connection for each client with each
client only getting their messages, the other would be a single port,
where all clients would get all messages, and ignore those that were not
theirs.

In my case performance, reliability and simplicity are most important,
and scalability not so much an issue.

Any suggestions, experiences, resources would be appreciated!!

Tracy


___
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] Need advice on XMLSocket architecture

2005-11-04 Thread Larkin, Jeremy
Keep in mind that you can use a single port and send to a specific
destination. If you can identify the client specifically, then this
should be pretty easy. That would allow you to send messages only to the
clients that require the message. Creating a separate port for each
connection would not scale well (I know you said this wasn't so much of
an issue) and it could potentially be an administration nightmare.

With that said, there are a number of free servers out there. Oregano
(java-based) comes to mind. You had mentioned .NET, are you looking
specifically for a .NET server? I don't know of any offhand, but I
vaguely remember coming across one, maybe search on source forge. If you
are familiar with network programming, it is possible you could roll
your own if it has a specific need. What I mean is that it is not too
difficult to build something if a) you know how to build it (duh), and
b) the solution is very specific. The difficulty of writing a server
comes with all the options (plugins, clustering, highly customizable
messaging data, etc.).


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
Sent: Friday, November 04, 2005 2:44 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Need advice on XMLSocket architecture

Hello,  I'm a regular on the flexcoders list, where it was suggested
that I ask my question over here.  Any advice will be welcome!

I have 100 fixed, identifiable clients running a Flex 1.5 app on an
intranet.  A Dot.Net integration tier maintains individual states for
each client. The integration tier talks asynchronously to third party
apps over async tcp sockets and even mail transport.  I had planned on a
leisurely polling setup to get the clients updated with changes in
state, but I now have a requirement for an update with minimum latency.

The messaging between clients and server is very low frequency (a few
clients updated per minute) and very low message size (a few k per
update).

I am now looking at a true push connection using XMLSockets.  I see
two approaches:  

On would be to have a separate port connection for each client with each
client only getting their messages, the other would be a single port,
where all clients would get all messages, and ignore those that were not
theirs.

In my case performance, reliability and simplicity are most important,
and scalability not so much an issue.

Any suggestions, experiences, resources would be appreciated!!

Tracy


___
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] Need advice on XMLSocket architecture

2005-11-04 Thread grant
can your client afford Flash communication server, it has true push technology 
to the flash application but its not cheap licensing.  Can you really push 
using an XMLSocket, I thought it was still request/response and not listen 
from the flash runtime unless you use rmtp and net connection.

red5 would meet your needs but won't be GA for a while..

Grant

- Original Message -
From: Jim Phelan [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: 11/4/05 3:09 PM
Subject: RE: [Flashcoders] Need advice on XMLSocket architecture

 Tracy,
 
 I think you're going to find the latter of your two approaches to be more
 efficient and quite easy to accomplish, especially the server will be
 authored in .NET. If you're using the term port to refer to the actual
 socket, then you'll find that handling multiple clients concurrently is
 fairly easy to achieve without needing to filter results on the client side.
 
 The main issues you're going to find with this sort of thing (network /
 tunneling issues, thread management) will probably be non-existent in a
 controlled environment with 100 clients.
 
 I see the very basic architecture as something like this:
 
 Flash client  xml/ascii serialization/deserialization layer  .net
 socket server  xml/ascii serialization/deserialization layer  system
 internals or .net remoting to the service aggregator / whatever
 
 The other option in which you could avoid writing a server would be to poll
 (even though it seems yucky) very quickly. Probably not such a huge burden
 if you're on a lan and use flash remoting.
 
 Jim
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
 Sent: Friday, November 04, 2005 2:44 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Need advice on XMLSocket architecture
 
 Hello,  I'm a regular on the flexcoders list, where it was suggested
 that I ask my question over here.  Any advice will be welcome!
 
 I have 100 fixed, identifiable clients running a Flex 1.5 app on an
 intranet.  A Dot.Net integration tier maintains individual states for
 each client. The integration tier talks asynchronously to third party
 apps over async tcp sockets and even mail transport.  I had planned on a
 leisurely polling setup to get the clients updated with changes in
 state, but I now have a requirement for an update with minimum latency.
 
 The messaging between clients and server is very low frequency (a few
 clients updated per minute) and very low message size (a few k per
 update).
 
 I am now looking at a true push connection using XMLSockets.  I see
 two approaches:  
 
 On would be to have a separate port connection for each client with each
 client only getting their messages, the other would be a single port,
 where all clients would get all messages, and ignore those that were not
 theirs.
 
 In my case performance, reliability and simplicity are most important,
 and scalability not so much an issue.
 
 Any suggestions, experiences, resources would be appreciated!!
 
 Tracy
 
 
 ___
 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] Need advice on XMLSocket architecture

2005-11-04 Thread Larkin, Jeremy
Yeah, you can push with sockets.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 3:16 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Need advice on XMLSocket architecture

can your client afford Flash communication server, it has true push
technology to the flash application but its not cheap licensing.  Can
you really push using an XMLSocket, I thought it was still
request/response and not listen from the flash runtime unless you use
rmtp and net connection.

red5 would meet your needs but won't be GA for a while..

Grant

- Original Message -
From: Jim Phelan [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: 11/4/05 3:09 PM
Subject: RE: [Flashcoders] Need advice on XMLSocket architecture

 Tracy,
 
 I think you're going to find the latter of your two approaches to be
more
 efficient and quite easy to accomplish, especially the server will be
 authored in .NET. If you're using the term port to refer to the actual
 socket, then you'll find that handling multiple clients concurrently
is
 fairly easy to achieve without needing to filter results on the client
side.
 
 The main issues you're going to find with this sort of thing (network
/
 tunneling issues, thread management) will probably be non-existent in
a
 controlled environment with 100 clients.
 
 I see the very basic architecture as something like this:
 
 Flash client  xml/ascii serialization/deserialization layer  .net
 socket server  xml/ascii serialization/deserialization layer  system
 internals or .net remoting to the service aggregator / whatever
 
 The other option in which you could avoid writing a server would be to
poll
 (even though it seems yucky) very quickly. Probably not such a huge
burden
 if you're on a lan and use flash remoting.
 
 Jim
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
 Sent: Friday, November 04, 2005 2:44 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Need advice on XMLSocket architecture
 
 Hello,  I'm a regular on the flexcoders list, where it was suggested
 that I ask my question over here.  Any advice will be welcome!
 
 I have 100 fixed, identifiable clients running a Flex 1.5 app on an
 intranet.  A Dot.Net integration tier maintains individual states for
 each client. The integration tier talks asynchronously to third party
 apps over async tcp sockets and even mail transport.  I had planned on
a
 leisurely polling setup to get the clients updated with changes in
 state, but I now have a requirement for an update with minimum
latency.
 
 The messaging between clients and server is very low frequency (a few
 clients updated per minute) and very low message size (a few k per
 update).
 
 I am now looking at a true push connection using XMLSockets.  I see
 two approaches:  
 
 On would be to have a separate port connection for each client with
each
 client only getting their messages, the other would be a single port,
 where all clients would get all messages, and ignore those that were
not
 theirs.
 
 In my case performance, reliability and simplicity are most important,
 and scalability not so much an issue.
 
 Any suggestions, experiences, resources would be appreciated!!
 
 Tracy
 
 
 ___
 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] Need advice on XMLSocket architecture

2005-11-04 Thread Jim Phelan
You can push to the client with sockets. Every time something comes from the
server with a 0 byte terminating it the XMLSocket object gets an onData
event.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 3:16 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Need advice on XMLSocket architecture

can your client afford Flash communication server, it has true push
technology to the flash application but its not cheap licensing.  Can you
really push using an XMLSocket, I thought it was still request/response and
not listen from the flash runtime unless you use rmtp and net connection.

red5 would meet your needs but won't be GA for a while..

Grant

- Original Message -
From: Jim Phelan [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: 11/4/05 3:09 PM
Subject: RE: [Flashcoders] Need advice on XMLSocket architecture

 Tracy,
 
 I think you're going to find the latter of your two approaches to be more
 efficient and quite easy to accomplish, especially the server will be
 authored in .NET. If you're using the term port to refer to the actual
 socket, then you'll find that handling multiple clients concurrently is
 fairly easy to achieve without needing to filter results on the client
side.
 
 The main issues you're going to find with this sort of thing (network /
 tunneling issues, thread management) will probably be non-existent in a
 controlled environment with 100 clients.
 
 I see the very basic architecture as something like this:
 
 Flash client  xml/ascii serialization/deserialization layer  .net
 socket server  xml/ascii serialization/deserialization layer  system
 internals or .net remoting to the service aggregator / whatever
 
 The other option in which you could avoid writing a server would be to
poll
 (even though it seems yucky) very quickly. Probably not such a huge burden
 if you're on a lan and use flash remoting.
 
 Jim
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
 Sent: Friday, November 04, 2005 2:44 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Need advice on XMLSocket architecture
 
 Hello,  I'm a regular on the flexcoders list, where it was suggested
 that I ask my question over here.  Any advice will be welcome!
 
 I have 100 fixed, identifiable clients running a Flex 1.5 app on an
 intranet.  A Dot.Net integration tier maintains individual states for
 each client. The integration tier talks asynchronously to third party
 apps over async tcp sockets and even mail transport.  I had planned on a
 leisurely polling setup to get the clients updated with changes in
 state, but I now have a requirement for an update with minimum latency.
 
 The messaging between clients and server is very low frequency (a few
 clients updated per minute) and very low message size (a few k per
 update).
 
 I am now looking at a true push connection using XMLSockets.  I see
 two approaches:  
 
 On would be to have a separate port connection for each client with each
 client only getting their messages, the other would be a single port,
 where all clients would get all messages, and ignore those that were not
 theirs.
 
 In my case performance, reliability and simplicity are most important,
 and scalability not so much an issue.
 
 Any suggestions, experiences, resources would be appreciated!!
 
 Tracy
 
 
 ___
 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] Dynamically setting the height of the text area component based on the content?

2005-11-04 Thread drue . armstrong

Hi all!

Is there a way to dynamically set the height of the text area component based on
the content?

What I would really like to 'capture' is the number of line returns and then
multiply that by the default row size of 22 to set the height.

Setting the component height to the length is mis-leading at best. Say the
length returns 180 characters...the component height would not be 180 px..you
must account for how many lines of text and that is where I am getting fuzy...

 - Hope this makes sense...

--
Drue
Skyymap, Inc.

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


Re: [Flashcoders] placing an action at the end of a FLV video!

2005-11-04 Thread Matt Muller
or if you are using flash 7...
 http://buraks.com/captionate/
 you can use a custom event inserted into the FLV like onMarker or
onCaption.
 MaTT

 On 11/4/05, Gerry Creighton [EMAIL PROTECTED] wrote:

 Check the livedocs.macromdedia.com http://livedocs.macromdedia.com for
 adding cuepoints to your media
 player for whatever
 version of Flash you are using.
 Just have it listen for that cuepoint at the end and then load the
 home.swf.
 listenerObject = new Object();
 listenerObject.cuePoint = function(eventObject){
 // insert your code here
 }
 myMedia.addEventListener(cuePoint, listenerObject)

 Gerry
 
 ...
 http://www.thespikeranch.com
 Certified Macromedia Flash MX Designer
 
 ...

 On Nov 4, 2005, at 11:46 AM, William J. Miller wrote:

  I have a swf that calls a flv on my server. The swf loads into a
  movieclip on the main swf. I need the loaded swf with the flv to
  load the default swf..(home.swf) into the mailloader clip when the
  flv is finished.
 
 
  Thanks
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] skinning mcom scrollbar

2005-11-04 Thread Ryan Matsikas
Thanks for helping John ;)

Marcel feel free to email me offlist for skinning help.. (I designed and
built all the mCom skins)

Cheers,
Ryan

On 11/4/05, John Grden [EMAIL PROTECTED] wrote:

 yeah if you got to that page and follow that tutorial and still have
 issues,
 let me know, I've got an FLA that's already setup.

 On 11/4/05, Chris Allen [EMAIL PROTECTED] wrote:
 
  John Grden showed me how at one point and it really wasn't all that
  hard. Anyway, you basically have to create MovieClips for all of the
  component's assetts and make sure that each of them have the
  appropriate linkage identifier setup. Here is a brief overview of
  that on Metaliq's website:
  http://www.metaliq.com/mcom/getting_started.htm#skinning
 
  I hope that helps.
 
  -Chris
 
  On 11/4/05, marcel vogt [EMAIL PROTECTED] wrote:
  
   hi
  
   has anyone expirience with skinnig the mcom scrollbar.
  
   marcel
  
   --
   vogt mit vogt
  
   marcel vogt
   multimedia
  
   zwinglistrasse 34a
   8004 zürich
  
   phone: +41 (0)43 233 71 11
   cel: +41 (0)79 222 26 55
   website: http://www.vogtmitvogt.com
   blog: http://nointro.kaywa.com
   flash user group: http://sfug.ch
   --
  
  
   ___
   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
 



 --
 John Grden - Blitz
 ___
 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] dataset problems

2005-11-04 Thread Hans Wichman

Hi list,
i have a main.swf and 2 subs a.swf and b.swf.
Main contains the webservice classes.
Subs contains the webservice classes and the dataset component.

Main loads a first, then b - b is broken
Main loads b first, then a - a is broken

a and b are two different applications but with the exact same architecture.
If i include the dataset component in main, no problems occurs.

So the solution is simply to put the dataset component in the main file.
However i would like to know.. why?
I dont know what other subs will be programmed in the future, it would not 
be nice if everytime i get a new subtype i need to include some of its 
contents in the main file in order to keep things working.


Any ideas? Thanks for ur time and help, it is much appreciated if u could 
help me out here.

Hans

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


Re: [Flashcoders] Need advice on XMLSocket architecture

2005-11-04 Thread Chris Allen
Well, you could also look into an existing Socket server to handle
your messaging teer.  I'm working on an applicatino that utilizes XMPP
for the push mess ageing layer.  There is even a really good AS2
library for utilizing the XMPP protocol.  You can find this stuff
here:
http://jivesoftware.org It's open source and free.

There are others that don't use XMPP out there specifically geard
towards Flash as well, like Oregano: http://www.oregano-server.org/
and ElectroServer: http://www.electrotank.com/electroserver/

In addition, as Grant already mentioned, you can use RTMP with FCS, or
Red5.  There are several advantages with using RTMP as opposed to the
XMLSocket connection.  Binary format as opposed to Strings, can pass
actual Data types to the server, can stream audio and video are just a
few.  Red5 will also be able to utilize AMF messaging and will be able
to integrate with server-side infrastructure through the Spring
Framework.

A 1.0 release of Red5 is scheduled for Spring of 2006, so if you have
time to wait, it might be worth looking at.  You can see more on the
project here: http://osflash.org/red5.  And if you have the cash then
definitely use FCS.

I hope that helps give you some other options to choose from.

-Chris



On 11/4/05, Tracy Spratt [EMAIL PROTECTED] wrote:
 Thanks, all, good advice.
 Since my requirements as very specific and I have control over all
 levels, and I have a bit of experience with .net socket programming, I
 plan to implement this as a .net socket server talking to XMLSocket AS
 clients.

 Jeremy and Jim, you both implied I could ..use a single port and send
 to a specific destination.  I'll take this question over to a .net
 forum, but my limited understanding of socket programming does not
 include how this could work.  Any follow up hints will be appreciated.

 Worst case, client filtering does not scare me.

 Thanks again,
 Tracy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Larkin,
 Jeremy
 Sent: Friday, November 04, 2005 3:18 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Need advice on XMLSocket architecture

 Keep in mind that you can use a single port and send to a specific
 destination. If you can identify the client specifically, then this
 should be pretty easy. That would allow you to send messages only to the
 clients that require the message. Creating a separate port for each
 connection would not scale well (I know you said this wasn't so much of
 an issue) and it could potentially be an administration nightmare.

 With that said, there are a number of free servers out there. Oregano
 (java-based) comes to mind. You had mentioned .NET, are you looking
 specifically for a .NET server? I don't know of any offhand, but I
 vaguely remember coming across one, maybe search on source forge. If you
 are familiar with network programming, it is possible you could roll
 your own if it has a specific need. What I mean is that it is not too
 difficult to build something if a) you know how to build it (duh), and
 b) the solution is very specific. The difficulty of writing a server
 comes with all the options (plugins, clustering, highly customizable
 messaging data, etc.).


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Tracy
 Spratt
 Sent: Friday, November 04, 2005 2:44 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Need advice on XMLSocket architecture

 Hello,  I'm a regular on the flexcoders list, where it was suggested
 that I ask my question over here.  Any advice will be welcome!

 I have 100 fixed, identifiable clients running a Flex 1.5 app on an
 intranet.  A Dot.Net integration tier maintains individual states for
 each client. The integration tier talks asynchronously to third party
 apps over async tcp sockets and even mail transport.  I had planned on a
 leisurely polling setup to get the clients updated with changes in
 state, but I now have a requirement for an update with minimum latency.

 The messaging between clients and server is very low frequency (a few
 clients updated per minute) and very low message size (a few k per
 update).

 I am now looking at a true push connection using XMLSockets.  I see
 two approaches:

 On would be to have a separate port connection for each client with each
 client only getting their messages, the other would be a single port,
 where all clients would get all messages, and ignore those that were not
 theirs.

 In my case performance, reliability and simplicity are most important,
 and scalability not so much an issue.

 Any suggestions, experiences, resources would be appreciated!!

 Tracy


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

[Flashcoders] Embedding a Video Object

2005-11-04 Thread Jason Lutes
What magic secret do I need to know in order to create an embedded video
object via ActionScript (not manually, via the Library) in order to
perform the requisite NetStream voodoo?

In other words, what can I do besides dropping a embedded video asset from
the Library onto the Stage?

Does the Library's embedded video object have an exposed class somewhere?


-
pixelTwiddler, a.k.a. Jason



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


Re: [Flashcoders] placing an action at the end of a FLV video!

2005-11-04 Thread Jason Lutes
 I have a swf that calls a flv on my server. The swf loads into a
 movieclip on the main swf. I need the loaded swf with the flv to
 load the default swf..(home.swf) into the mailloader clip when the
 flv is finished.

How are you loading/playing the FLV?

If you're doing it via NetStream, just use something like the following.

yourNetStreamObject.onStatus(status:Object):Void {
  if (status.code == 'NetStream.Play.Stop') {
// Place your code for loading the default SWF here.
  }
}

As soon as the FLV stream playback completes, the code will execute.


-
pixelTwiddler, a.k.a. Jason



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


Re: [Flashcoders] XML processing instructions

2005-11-04 Thread JesterXL
Use onData instead of onLoad.

my_xml = new XML();
my_xml.onData = function(str)
{
if(str.substr(0, 1) != ?)
{
this.loaded = true;
this.parseXML(str);
this.onLoad(true);
}
};

- Original Message - 
From: Josh Gormley [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 4:38 PM
Subject: [Flashcoders] XML processing instructions


Hello,

Is there a way to get Flash to ignore XML processing instructions  
(PI)?  I have a project which uses XML files for content and one of  
my clients is using Altova Authentic to edit the files.   
Unfortunately, this app adds ? altova_sps somefile.sps ? to the top  
of the XML file.  This line causes Flash to choke on the XML file.

I did some tests and moved the PI to the middle of the XML doc and  
Flash is able to read the XML file up to the location of the PI and  
then it chokes again.  The only way I see of getting this to work is  
to have the PI at the very end of the XML document, which of course I  
cannot control.

Any thoughts?

thanks,
Josh Gormley
___
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] Embedding a Video Object

2005-11-04 Thread eric dolecki
Don't believe so. You'd have to make it available via Library. It would be
cool to create a video object on the fly if needed, but alas...

ed

On 11/4/05, Jason Lutes [EMAIL PROTECTED] wrote:

 What magic secret do I need to know in order to create an embedded video
 object via ActionScript (not manually, via the Library) in order to
 perform the requisite NetStream voodoo?

 In other words, what can I do besides dropping a embedded video asset from
 the Library onto the Stage?

 Does the Library's embedded video object have an exposed class somewhere?


 -
 pixelTwiddler, a.k.a. Jason



 ___
 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] placing an action at the end of a FLV video!

2005-11-04 Thread JesterXL
That's stopped, not finished.  Finished is NetStream.Play.Stop followed 
immediately by a NetStream.Buffer.Empty.


- Original Message - 
From: Jason Lutes [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 10:07 AM
Subject: Re: [Flashcoders] placing an action at the end of a FLV video!


 I have a swf that calls a flv on my server. The swf loads into a
 movieclip on the main swf. I need the loaded swf with the flv to
 load the default swf..(home.swf) into the mailloader clip when the
 flv is finished.

How are you loading/playing the FLV?

If you're doing it via NetStream, just use something like the following.

yourNetStreamObject.onStatus(status:Object):Void {
  if (status.code == 'NetStream.Play.Stop') {
// Place your code for loading the default SWF here.
  }
}

As soon as the FLV stream playback completes, the code will execute.


-
pixelTwiddler, a.k.a. Jason



___
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] Embedding a Video Object

2005-11-04 Thread Jim Phelan
You can put it within a MovieClip and attach the movieclip using attachMovie

Of course, then you must refer to it as myMC.videoObj. But it works; it's
what I use with my components,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Lutes
Sent: Friday, November 04, 2005 9:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Embedding a Video Object

What magic secret do I need to know in order to create an embedded video
object via ActionScript (not manually, via the Library) in order to
perform the requisite NetStream voodoo?

In other words, what can I do besides dropping a embedded video asset from
the Library onto the Stage?

Does the Library's embedded video object have an exposed class somewhere?


-
pixelTwiddler, a.k.a. Jason



___
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] Need advice on XMLSocket architecture

2005-11-04 Thread Tracy Spratt
I've done a bit of googling and believe I can figure out the rest of
this myself.

Thanks a lot all.
Tracy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
Sent: Friday, November 04, 2005 4:13 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Need advice on XMLSocket architecture

Thanks, all, good advice.
Since my requirements as very specific and I have control over all
levels, and I have a bit of experience with .net socket programming, I
plan to implement this as a .net socket server talking to XMLSocket AS
clients.

Jeremy and Jim, you both implied I could ..use a single port and send
to a specific destination.  I'll take this question over to a .net
forum, but my limited understanding of socket programming does not
include how this could work.  Any follow up hints will be appreciated.

Worst case, client filtering does not scare me.

Thanks again,
Tracy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Larkin,
Jeremy
Sent: Friday, November 04, 2005 3:18 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Need advice on XMLSocket architecture

Keep in mind that you can use a single port and send to a specific
destination. If you can identify the client specifically, then this
should be pretty easy. That would allow you to send messages only to the
clients that require the message. Creating a separate port for each
connection would not scale well (I know you said this wasn't so much of
an issue) and it could potentially be an administration nightmare.

With that said, there are a number of free servers out there. Oregano
(java-based) comes to mind. You had mentioned .NET, are you looking
specifically for a .NET server? I don't know of any offhand, but I
vaguely remember coming across one, maybe search on source forge. If you
are familiar with network programming, it is possible you could roll
your own if it has a specific need. What I mean is that it is not too
difficult to build something if a) you know how to build it (duh), and
b) the solution is very specific. The difficulty of writing a server
comes with all the options (plugins, clustering, highly customizable
messaging data, etc.).


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
Sent: Friday, November 04, 2005 2:44 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Need advice on XMLSocket architecture

Hello,  I'm a regular on the flexcoders list, where it was suggested
that I ask my question over here.  Any advice will be welcome!

I have 100 fixed, identifiable clients running a Flex 1.5 app on an
intranet.  A Dot.Net integration tier maintains individual states for
each client. The integration tier talks asynchronously to third party
apps over async tcp sockets and even mail transport.  I had planned on a
leisurely polling setup to get the clients updated with changes in
state, but I now have a requirement for an update with minimum latency.

The messaging between clients and server is very low frequency (a few
clients updated per minute) and very low message size (a few k per
update).

I am now looking at a true push connection using XMLSockets.  I see
two approaches:  

On would be to have a separate port connection for each client with each
client only getting their messages, the other would be a single port,
where all clients would get all messages, and ignore those that were not
theirs.

In my case performance, reliability and simplicity are most important,
and scalability not so much an issue.

Any suggestions, experiences, resources would be appreciated!!

Tracy


___
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] media display v. netstream and video object

2005-11-04 Thread eric dolecki
media display component is made with netstream and a video object.
FLVPlayback component lets you tweak the buffer time too, so I would think
there is no difference in speed to load it up.

ed

On 11/4/05, Matt Ganz [EMAIL PROTECTED] wrote:

 hi.

 quick question. will an external flv begin playing faster thru a media
 display component or using the netstream with a video object?

 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] Embedding a Video Object

2005-11-04 Thread eric dolecki
sure - but i think he was after calling one up without it residing in the
Library at all. like a createClassObject kinda thing

ed

On 11/4/05, Jim Phelan [EMAIL PROTECTED] wrote:

 You can put it within a MovieClip and attach the movieclip using
 attachMovie

 Of course, then you must refer to it as myMC.videoObj. But it works; it's
 what I use with my components,

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jason
 Lutes
 Sent: Friday, November 04, 2005 9:59 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Embedding a Video Object

 What magic secret do I need to know in order to create an embedded video
 object via ActionScript (not manually, via the Library) in order to
 perform the requisite NetStream voodoo?

 In other words, what can I do besides dropping a embedded video asset from
 the Library onto the Stage?

 Does the Library's embedded video object have an exposed class somewhere?


 -
 pixelTwiddler, a.k.a. Jason



 ___
 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] painless upgrading

2005-11-04 Thread Corban Baxter
Hey guys I want to create my first f8 site but I know a lot of my user still 
might be f6 player users. What's the most painless way to users up and running 
the f8 player?

Corban Baxter  |  rich media designer  |  www.funimation.com


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


Re: [Flashcoders] Embedding a Video Object

2005-11-04 Thread Chris Allen
Well you can use SWFMILL to do that too, but that's pretty much the
same concept, especially if you consider the term authoring tool in
a very general sense ;-)

On 11/4/05, JesterXL [EMAIL PROTECTED] wrote:
 We wish.  Video, Fonts, and a few others must be created in the authoring
 tool.

 - Original Message -
 From: Jason Lutes [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 04, 2005 9:58 AM
 Subject: [Flashcoders] Embedding a Video Object


 What magic secret do I need to know in order to create an embedded video
 object via ActionScript (not manually, via the Library) in order to
 perform the requisite NetStream voodoo?

 In other words, what can I do besides dropping a embedded video asset from
 the Library onto the Stage?

 Does the Library's embedded video object have an exposed class somewhere?


 -
 pixelTwiddler, a.k.a. Jason



 ___
 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] XML processing instructions

2005-11-04 Thread Josh Gormley

thanks for the quick response, but unfortunately it didn't work.

if I add a trace(this) right after the this.onLoad(true) line, I only  
get the XML structure up to the point of the processing  
instructions.  Here is the code I'm using:


myXML = new XML();
myXML.ignoreWhite = true;
myXML.load(data/data.xml);

myXML.onData = function(src) {
if(src.substr(0, 1) != ?)
{
this.loaded = true;
this.parseXML(src);
this.onLoad(true);
trace(this);
}
}

My XML looks like this:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE data SYSTEM data-schema.dtd
?altova_sps blah.sps?
data
gameSettings
SNIPPED

And the trace from the code above returns this:

?xml version=1.0 encoding=iso-8859-1?!DOCTYPE data SYSTEM  
data-schema.dtd


any thoughts?

Josh


On Nov 4, 2005, at 3:44 PM, JesterXL wrote:


Use onData instead of onLoad.

my_xml = new XML();
my_xml.onData = function(str)
{
if(str.substr(0, 1) != ?)
{
this.loaded = true;
this.parseXML(str);
this.onLoad(true);
}
};




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


Re: [Flashcoders] XML processing instructions

2005-11-04 Thread Josh Gormley
I guess I could use the string that is passed to the onData function  
and remove any processing tags before the string is parsed as XML  Is  
that what you were suggesting?


Josh


On Nov 4, 2005, at 3:44 PM, JesterXL wrote:


Use onData instead of onLoad.

my_xml = new XML();
my_xml.onData = function(str)
{
if(str.substr(0, 1) != ?)
{
this.loaded = true;
this.parseXML(str);
this.onLoad(true);
}
};


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


Re: [Flashcoders] painless upgrading

2005-11-04 Thread JesterXL
Express install if they have 6.0.65.0.
http://www.macromedia.com/software/flashplayer/download/detection_kit/

- Original Message - 
From: Corban Baxter [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 4:54 PM
Subject: [Flashcoders] painless upgrading


Hey guys I want to create my first f8 site but I know a lot of my user still 
might be f6 player users. What's the most painless way to users up and 
running the f8 player?

Corban Baxter | rich media designer | www.funimation.com


___
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] XML processing instructions

2005-11-04 Thread JesterXL
2 things, first, define onData before you call load.

Second, the first character in the str is  not ?.  So, you'll have to 
either hardcode where the ? you are looking for is showing up, or parse it 
out using the String functions.

- Original Message - 
From: Josh Gormley [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 5:21 PM
Subject: Re: [Flashcoders] XML processing instructions


thanks for the quick response, but unfortunately it didn't work.

if I add a trace(this) right after the this.onLoad(true) line, I only
get the XML structure up to the point of the processing
instructions.  Here is the code I'm using:

myXML = new XML();
myXML.ignoreWhite = true;
myXML.load(data/data.xml);

myXML.onData = function(src) {
 if(src.substr(0, 1) != ?)
{
this.loaded = true;
this.parseXML(src);
this.onLoad(true);
trace(this);
}
}

My XML looks like this:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE data SYSTEM data-schema.dtd
?altova_sps blah.sps?
data
gameSettings
SNIPPED

And the trace from the code above returns this:

?xml version=1.0 encoding=iso-8859-1?!DOCTYPE data SYSTEM
data-schema.dtd

any thoughts?

Josh


On Nov 4, 2005, at 3:44 PM, JesterXL wrote:

 Use onData instead of onLoad.

 my_xml = new XML();
 my_xml.onData = function(str)
 {
 if(str.substr(0, 1) != ?)
 {
 this.loaded = true;
 this.parseXML(str);
 this.onLoad(true);
 }
 };



___
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] XML processing instructions

2005-11-04 Thread JesterXL
Yeah sure, if you know what they are.

- Original Message - 
From: Josh Gormley [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, November 04, 2005 5:26 PM
Subject: Re: [Flashcoders] XML processing instructions


I guess I could use the string that is passed to the onData function  
and remove any processing tags before the string is parsed as XML  Is  
that what you were suggesting?

Josh


On Nov 4, 2005, at 3:44 PM, JesterXL wrote:

 Use onData instead of onLoad.

 my_xml = new XML();
 my_xml.onData = function(str)
 {
 if(str.substr(0, 1) != ?)
 {
 this.loaded = true;
 this.parseXML(str);
 this.onLoad(true);
 }
 };

___
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] Dynamically setting the height of the text area component based on the content?

2005-11-04 Thread Miles Thompson

At 04:45 PM 11/4/2005, you wrote:


Hi all!

Is there a way to dynamically set the height of the text area component 
based on

the content?

What I would really like to 'capture' is the number of line returns and then
multiply that by the default row size of 22 to set the height.

Setting the component height to the length is mis-leading at best. Say the
length returns 180 characters...the component height would not be 180 px..you
must account for how many lines of text and that is where I am getting fuzy...

 - Hope this makes sense...

--
Drue
Skyymap, Inc.



Drue,

Actually it's worse than that. You can't simply chop the line at n 
characters, you have to drop back to the last space and work from there 
when you are figuring out your line count. Then add in the returns or break 
tags if it's HTML.


Don't know what you're experiencing, but for the past two years we've run 
AllNovaScotia.com with the standard text area/scroll bar combo. All the 
while there's been a low-level rumble of We want to use mouse wheel, 
PageUp and PageDown to move through the issue.


Finally, we got around to re-doing the site in MX 2004, using the Flash 
TextArea component. Easy for me - built-in scrolling support, mouse wheel 
and PgUp/PgDn.


Now they want more and back buttons positioned just below the text if 
there is more text than will fill the available space. Auuugh!!  I've been 
trying to explain they don't need that - they have the scrolling features 
they wanted. I can calculate depths, count returns, line lengths, etc. all 
I want. As soon as a picture or two goes in the story that's a broken 
formula. Feels like they want me to write a primitive PageMaker in Flash!


It's sort of the inverse of your challenge, and I've not really put my mind 
to it yet, as I'm fixing a combo box change handler MM broke in moving to 
MX 2004. Listeners ... broadcasters ... registration ... mutter, mutter.


Cheers, and have a great weekend - Miles


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


Re: [Flashcoders] live preview vs. compiled swf

2005-11-04 Thread Gregory_GOusable

Is it possible to use JSFL to automatically set component's
parameter(s) while in Flash IDE?

 == Fri, 4 Nov 2005, JesterXL wrote:
 Put this in your onLoad/initLayout function in your class.
 
 if ( _global.isLivePreview == true)
 {
 // you are running in the Flash Live Preview
 compile_txt.text = compiledDate;
 }
 
 To get the actualy compile date itself, you'll have to go ask the dudes on 
 OSFlash; I think using ANT or some other post/pre-processor, you can set 
 vars/global vars to a preset value.
 
 - Original Message - 
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 04, 2005 2:17 PM
 Subject: [Flashcoders] live preview vs. compiled swf
 
 
 I have a component, where part of the live preview is to show the date of
 compile.
 
 How can I code this so that when the resulting SWF is run some other time,
 it uses a burned in value for the date, and not my get todays date
 function? Somene suggested localSharedObject - but that doesn't really work
 - since the 1st time you run it, the date could be inaccurate.
 
 ed
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 


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