SV: [Flashcoders] certificate

2006-01-11 Thread Martin Baltzer
Yes flash in Internet Explorer has serious problems with self signed or 3. 
party ssl certificates. If the certificate is a valid one (by Verisign) there 
are no issues. 

The problem is actually that when flash makes the request through IE the 
browser thinks the https page is already expired when it receives it and 
therefore it won't return it to flash. 

This is only an issue in Internet Explorer but it can be fixed if proper cache 
headers are being set on the serverside.

In JAVA/JSP the following extra cache headers solved the problem for me :)

response.setHeader("Cache-Control", "no-store"); 
response.setHeader("Pragma", "no-store");   


Hope that works
Martin


-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED]
Sendt: 11. januar 2006 21:38
Til: flashcoders@chattyfig.figleaf.com
Emne: Re: [Flashcoders] certificate

I have had some issue's with certificates and flash. 

I use charles which is an http proxy to intercept the requests between the 
browser and the server to figure out what the issue was.  1st test is really to 
create an html page and call your webservice using a form post and make sure 
the certificates are working within the browser and the webserver BEFORE you 
try and use the service from flash.

There is cheap http proxy thats better than charles but I forget who created it.

ah, here is the link http://kevinlangdon.com/serviceCapture/

Grant.

- Original Message -
From: PR Durand [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/11/06 3:08 PM
Subject: [Flashcoders] certificate

> Hi List
> It seems that I found antoher point to explain my difficulties to obtain 
> a result in connecting my WS.
> The server has a Double-side certificate. I installed the certificate on 
> firefox, so I can call correctly the https webservice via the browser, 
> on the 8448 port without any problem,
> but maybe flash can't communicate correctly?
> I thought that the browser holding the swf was the only concerned by the 
> certificate, as flash isn't seen by the servers, but only the webpage 
> holding it... am I wrong? Can Flash have problems with the certificate?
> 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] TreeDataProvider - "There is no method withthename'addTreeNode

2006-01-11 Thread Derek Lords

sweet!  Glad it worked for you!

Derek Lords



From: "Andreas Weber" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list 
To: "'Flashcoders mailing list'" 
Subject: RE: [Flashcoders] TreeDataProvider - "There is no method 
withthename'addTreeNode'" - SOLVED

Date: Thu, 12 Jan 2006 05:32:07 +0100

Thanks Derek - that's it!

Not typing the dataprovider as XML allows to publish for Player 7:

import mx.controls.Tree;

class Test{
function Test(){
// Published for Player 7. Error: There is no method
with the name 'addTreeNode'.
//var myTreeDP:XML = new XML();

// Compiles fine when not typed as XML
var myTreeDP = new XML();
myTreeDP.addTreeNode("node", 0);
}
}

Cheers!

--
Andreas Weber
motiondraw.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Lords
Sent: Donnerstag, 12. Januar 2006 05:11
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] TreeDataProvider - "There is no method with
thename'addTreeNode'"


"missing intrinsic class issue" good guess.This happened to me upon
upgrading to Flash 8.  I had to downgrade each instance to an Object and
the
problem went away.






>From: "Andreas Weber" <[EMAIL PROTECTED]>
>Reply-To: Flashcoders mailing list 
>To: "Flashcoders" 
>Subject: [Flashcoders] TreeDataProvider - "There is no method with the
>name'addTreeNode'"
>Date: Wed, 11 Jan 2006 16:13:26 +0100
>
>With a Tree component on stage and this framecode
>
>var myTreeDP:XML = new XML();
>myTreeDP.addTreeNode("node", 0);
>
>the TreeDataProvider API works fine.
>
>However, the same code in a class
>
>class Test{
>function Test(){
>var myTreeDP:XML = new XML();
>myTreeDP.addTreeNode("node", 0);
>}
>}
>
>instantiated from a .fla that has a Tree component on stage, throws a
>compiler error:
>
>"There is no method with the name 'addTreeNode'"
>
>Is this a missing intrinsic class issue? Workarounds? (don't have any
>luck with avoiding the compiler error through Array access syntax: no
>error, but no node is added).
>
>Cheers!
>
>--
>Andreas Weber
>motiondraw.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] TreeDataProvider - "There is no method with thename'addTreeNode'" - SOLVED

2006-01-11 Thread Andreas Weber
Thanks Derek - that's it!
 
Not typing the dataprovider as XML allows to publish for Player 7:

import mx.controls.Tree;
   
class Test{
function Test(){
// Published for Player 7. Error: There is no method
with the name 'addTreeNode'.
//var myTreeDP:XML = new XML();

// Compiles fine when not typed as XML
var myTreeDP = new XML();
myTreeDP.addTreeNode("node", 0);
}
}

Cheers!

--
Andreas Weber
motiondraw.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Lords
Sent: Donnerstag, 12. Januar 2006 05:11
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] TreeDataProvider - "There is no method with
thename'addTreeNode'"


"missing intrinsic class issue" good guess.This happened to me upon 
upgrading to Flash 8.  I had to downgrade each instance to an Object and
the 
problem went away.






>From: "Andreas Weber" <[EMAIL PROTECTED]>
>Reply-To: Flashcoders mailing list 
>To: "Flashcoders" 
>Subject: [Flashcoders] TreeDataProvider - "There is no method with the
>name'addTreeNode'"
>Date: Wed, 11 Jan 2006 16:13:26 +0100
>
>With a Tree component on stage and this framecode
>
>   var myTreeDP:XML = new XML();
>   myTreeDP.addTreeNode("node", 0);
>
>the TreeDataProvider API works fine.
>
>However, the same code in a class
>
>   class Test{
>   function Test(){
>   var myTreeDP:XML = new XML();
>   myTreeDP.addTreeNode("node", 0);
>   }
>   }
>
>instantiated from a .fla that has a Tree component on stage, throws a 
>compiler error:
>
>   "There is no method with the name 'addTreeNode'"
>
>Is this a missing intrinsic class issue? Workarounds? (don't have any 
>luck with avoiding the compiler error through Array access syntax: no 
>error, but no node is added).
>
>Cheers!
>
>--
>Andreas Weber
>motiondraw.com
>

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


RE: [Flashcoders] TreeDataProvider - "There is no method with the name'addTreeNode'"

2006-01-11 Thread Derek Lords
"missing intrinsic class issue" good guess.This happened to me upon 
upgrading to Flash 8.  I had to downgrade each instance to an Object and the 
problem went away.








From: "Andreas Weber" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list 
To: "Flashcoders" 
Subject: [Flashcoders] TreeDataProvider - "There is no method with the 
name'addTreeNode'"

Date: Wed, 11 Jan 2006 16:13:26 +0100

With a Tree component on stage and this framecode

var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);

the TreeDataProvider API works fine.

However, the same code in a class

class Test{
function Test(){
var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);
}
}

instantiated from a .fla that has a Tree component on stage, throws a
compiler error:

"There is no method with the name 'addTreeNode'"

Is this a missing intrinsic class issue? Workarounds? (don't have any luck
with avoiding the compiler error through Array access syntax: no error, but
no node is added).

Cheers!

--
Andreas Weber
motiondraw.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] TreeDataProvider - "There is no method withthename'addTreeNode'"

2006-01-11 Thread Andreas Weber
Thanks Johannes -

this
import mx.controls.Tree;
import mx.*;
   
class Test{
function Test(){
//var myTreeDP:XML = new XML();
var myTreeDP:TreeDataProvider  =
TreeDataProvider (new XML());
myTreeDP.addTreeNode("node", 0);
}
}

gives the error
The class or interface 'TreeDataProvider' could not be loaded.

In which package is the TreeDataProvider (the docs don't tell)?

--
Andreas Weber
motiondraw.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: Mittwoch, 11. Januar 2006 22:41
To: Flashcoders mailing list
Subject: Re: [Flashcoders] TreeDataProvider - "There is no method
withthename'addTreeNode'"


var myTreeDP:TreeDataProvider  = TreeDataProvider (new XML());
   myTreeDP.addTreeNode("node", 0);

thjis might just fail silently though, but should work

is an example of how we use it.
On 1/11/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
>
> > cast it.
>
> how?
>
> Could you elaborate a bit? Thanks!
>
> --
> Andreas Weber
> motiondraw.com
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Johannes Nel
> Sent: Mittwoch, 11. Januar 2006 21:57
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with

> thename'addTreeNode'"
>
>
> cast it.
>
> On 1/11/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
> >
> > Thanks Devendran -
> > This should do it and usually does do it...
> >
> > However in the context of my project I got the 'no method with the 
> > name 'addTreeNode' error, no matter in how many even remotely 
> > related classes I put the import statement. Now, after a lot of 
> > digging, cursing, ASO file deleting and hair pulling I found the 
> > culprit: I was publishing for Player 7. Published for Player 8 it 
> > compiles just fine. (Reproducable by publishing the simple test case

> > for Player 7 /
> 8)
> >
> > Does not make any sense to me and at the moment I'd really still 
> > prefer to publish for 7...
> >
> > Cheers!
> > --
> > Andreas Weber
> > motiondraw.com
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Devendran I
> > Sent: Mittwoch, 11. Januar 2006 17:24
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] TreeDataProvider - "There is no method 
> > with
>
> > thename 'addTreeNode'"
> >
> >
> > Hi
> >
> >   use this code in your Class file
> >   import mx.controls.Tree;
> >
> >
> >   And then compile the Movie.
> >
> >
> >   Devendran.I
> >
> >
> >
> > Andreas Weber <[EMAIL PROTECTED]> wrote:
> >   With a Tree component on stage and this framecode
> >
> > var myTreeDP:XML = new XML();
> > myTreeDP.addTreeNode("node", 0);
> >
> > the TreeDataProvider API works fine.
> >
> > However, the same code in a class
> >
> > class Test{
> > function Test(){
> > var myTreeDP:XML = new XML();
> > myTreeDP.addTreeNode("node", 0);
> > }
> > }
> >
> > instantiated from a .fla that has a Tree component on stage, throws 
> > a compiler error:
> >
> > "There is no method with the name 'addTreeNode'"
> >
> > Is this a missing intrinsic class issue? Workarounds? (don't have 
> > any luck with avoiding the compiler error through Array access 
> > syntax: no error, but no node is added).
> >
> > Cheers!
> >
> > --
> > Andreas Weber
> > motiondraw.com
> >
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com 
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> >
> > -
> > Yahoo! Photos
> > Got holiday prints? See all the ways to get quality prints in your 
> > hands ASAP. ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com 
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com 
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> j:pn
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com 
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com 
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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

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


Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Chris Kennon

Perfect..
Thanks so much!

On Jan 11, 2006, at 6:25 PM, Andy Johnston wrote:



import com.bushidodeep.*;
var myHello:Hello = new Hello(this);


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


Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Andy Johnston

if you want the class to actually do the creating of the clip you should:

[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello(this);


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
  private var width:Number;
  private var height:Number;
  private static var textFieldDepth:Number = 0;
  public static var message:String = "Hello It's Me";
  // Movie clip that will contain visual
  // elements of the hello.
  private var container_mc:MovieClip;
  //
 public function Hello(target:MovieClip) {
  container_mc = target.createEmptyMovieClip("blah", 1);
  displayGreeting();
  }
  private function placeGreeting() {
  }
  private function displayGreeting() {
  container_mc.createTextField("messageText",   
textFieldDepth, 200, 100, 250, 125);

  container_mc.messageText.text = "test";
  container_mc.messageText.border = true;
  }
}


Hi,

This worked on the FLA timeline test is displayed in the textField,  
but shouldn't this functionality be in the class?


Respectfully,
Chris
On Jan 11, 2006, at 5:56 PM, Andy Johnston wrote:


nah actually should be


[CODE]
var myHelloClip:MovieClip = createEmptyMovieClip("hello_mc", 1);

import com.bushidodeep.*;
var myHello:Hello = new Hello(myHelloClip);


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
   private var width:Number;
   private var height:Number;
   private static var textFieldDepth:Number = 0;
   public static var message:String = "Hello It's Me";
   // Movie clip that will contain visual
   // elements of the hello.
   private var container_mc:MovieClip;
   //
  public function Hello(target:MovieClip) {
   container_mc = target;
   displayGreeting();
   }
   private function placeGreeting() {
   }
   private function displayGreeting() {
   container_mc.createTextField("messageText",   
textFieldDepth, 200, 100, 250, 125);

   container_mc.messageText.text = "test";
   container_mc.messageText.border = true;
   }
}


Hi,

Thanks for the prompt response. When I create the Hello object on  
the  AS timeline, nothing is rendered to screen.


[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello();


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello(target:MovieClip) {
container_mc = target.createEmptyMovieClip  
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",   
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

[/CODE]

On Jan 11, 2006, at 5:32 PM, Martin Wood wrote:


passing the target into the constructor.

martin.

Chris Kennon wrote:


Hi,
I attempting to create a mc, then attach a textField via   
composition,  instead of extending the movieClip class. Could   
someone point out  what I missed?




--
Martin Wood

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




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




___
Flashcoders 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] Creating An OOP MC Via Composition

2006-01-11 Thread Chris Kennon

Hi,

This worked on the FLA timeline test is displayed in the textField,  
but shouldn't this functionality be in the class?


Respectfully,
Chris
On Jan 11, 2006, at 5:56 PM, Andy Johnston wrote:


nah actually should be


[CODE]
var myHelloClip:MovieClip = createEmptyMovieClip("hello_mc", 1);

import com.bushidodeep.*;
var myHello:Hello = new Hello(myHelloClip);


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
   private var width:Number;
   private var height:Number;
   private static var textFieldDepth:Number = 0;
   public static var message:String = "Hello It's Me";
   // Movie clip that will contain visual
   // elements of the hello.
   private var container_mc:MovieClip;
   //
  public function Hello(target:MovieClip) {
   container_mc = target;
   displayGreeting();
   }
   private function placeGreeting() {
   }
   private function displayGreeting() {
   container_mc.createTextField("messageText",   
textFieldDepth, 200, 100, 250, 125);

   container_mc.messageText.text = "test";
   container_mc.messageText.border = true;
   }
}


Hi,

Thanks for the prompt response. When I create the Hello object on  
the  AS timeline, nothing is rendered to screen.


[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello();


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello(target:MovieClip) {
container_mc = target.createEmptyMovieClip  
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",   
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

[/CODE]

On Jan 11, 2006, at 5:32 PM, Martin Wood wrote:


passing the target into the constructor.

martin.

Chris Kennon wrote:


Hi,
I attempting to create a mc, then attach a textField via   
composition,  instead of extending the movieClip class. Could   
someone point out  what I missed?



--
Martin Wood

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



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




___
Flashcoders 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] Creating An OOP MC Via Composition

2006-01-11 Thread Chris Kennon
Have I missed something in the displayGreeting(); method or creating  
the timeline object? Nothing appears on stage. Would you like to view  
the files?



Respectfully,
Chris
On Jan 11, 2006, at 5:47 PM, Andy Johnston wrote:


public function Hello(target:MovieClip) {
   container_mc = target.createEmptyMovieClip  
("messageDisplay", 1);

 displayGreeting();
}


Hi,

Thanks for the prompt response. When I create the Hello object on  
the  AS timeline, nothing is rendered to screen.


[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello();


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello(target:MovieClip) {
container_mc = target.createEmptyMovieClip  
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",   
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

[/CODE]

On Jan 11, 2006, at 5:32 PM, Martin Wood wrote:


passing the target into the constructor.

martin.

Chris Kennon wrote:


Hi,
I attempting to create a mc, then attach a textField via   
composition,  instead of extending the movieClip class. Could   
someone point out  what I missed?



--
Martin Wood

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



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




___
Flashcoders 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] Creating An OOP MC Via Composition

2006-01-11 Thread Andy Johnston

nah actually should be


[CODE]
var myHelloClip:MovieClip = createEmptyMovieClip("hello_mc", 1);

import com.bushidodeep.*;
var myHello:Hello = new Hello(myHelloClip);


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
   private var width:Number;
   private var height:Number;
   private static var textFieldDepth:Number = 0;
   public static var message:String = "Hello It's Me";
   // Movie clip that will contain visual
   // elements of the hello.
   private var container_mc:MovieClip;
   //
  public function Hello(target:MovieClip) {
   container_mc = target;
   displayGreeting();
   }
   private function placeGreeting() {
   }
   private function displayGreeting() {
   container_mc.createTextField("messageText",  
textFieldDepth, 200, 100, 250, 125);

   container_mc.messageText.text = "test";
   container_mc.messageText.border = true;
   }
}


Hi,

Thanks for the prompt response. When I create the Hello object on the  
AS timeline, nothing is rendered to screen.


[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello();


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello(target:MovieClip) {
container_mc = target.createEmptyMovieClip 
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",  
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

[/CODE]

On Jan 11, 2006, at 5:32 PM, Martin Wood wrote:


passing the target into the constructor.

martin.

Chris Kennon wrote:


Hi,
I attempting to create a mc, then attach a textField via  
composition,  instead of extending the movieClip class. Could  
someone point out  what I missed?



--
Martin Wood

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



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




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


Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Andy Johnston

public function Hello(target:MovieClip) {
   container_mc = target.createEmptyMovieClip 
("messageDisplay", 1);

 displayGreeting();
}


Hi,

Thanks for the prompt response. When I create the Hello object on the  
AS timeline, nothing is rendered to screen.


[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello();


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello(target:MovieClip) {
container_mc = target.createEmptyMovieClip 
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",  
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

[/CODE]

On Jan 11, 2006, at 5:32 PM, Martin Wood wrote:


passing the target into the constructor.

martin.

Chris Kennon wrote:


Hi,
I attempting to create a mc, then attach a textField via  
composition,  instead of extending the movieClip class. Could  
someone point out  what I missed?



--
Martin Wood

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



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




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


Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Chris Kennon

Hi,

Thanks for the prompt response. When I create the Hello object on the  
AS timeline, nothing is rendered to screen.


[CODE]

import com.bushidodeep.*;
var myHello:Hello = new Hello();


[/CODE]

[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello(target:MovieClip) {
container_mc = target.createEmptyMovieClip 
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",  
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

[/CODE]

On Jan 11, 2006, at 5:32 PM, Martin Wood wrote:


passing the target into the constructor.

martin.

Chris Kennon wrote:

Hi,
I attempting to create a mc, then attach a textField via  
composition,  instead of extending the movieClip class. Could  
someone point out  what I missed?


--
Martin Wood

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


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


Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Martin Wood

passing the target into the constructor.

martin.

Chris Kennon wrote:

Hi,

I attempting to create a mc, then attach a textField via composition,  
instead of extending the movieClip class. Could someone point out  what 
I missed?


--
Martin Wood

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


[Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Chris Kennon

Hi,

I attempting to create a mc, then attach a textField via composition,  
instead of extending the movieClip class. Could someone point out  
what I missed?



[CODE]
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private static var textFieldDepth:Number = 0;
public static var message:String = "Hello It's Me";
// Movie clip that will contain visual
// elements of the hello.
private var container_mc:MovieClip;
//
   public function Hello() {
container_mc = target.createEmptyMovieClip 
("messageDisplay", 1);

container_mc.displayGreeting();
}
private function placeGreeting() {
}
private function displayGreeting() {
container_mc.createTextField("messageText",  
textFieldDepth, 200, 100, 250, 125);

container_mc.messageText.text = "test";
container_mc.messageText.border = true;
}
}

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


Re: [Flashcoders] status bar humbug

2006-01-11 Thread Amanda Kuek
Thanks for your reply Paul,

What I found was happening was, something like window.status=msg only
had effect if one was getting it off the webserver. It didn't work on
the version on my local machine.

Glad that's sorted out!

On 10/01/06, Paul BH <[EMAIL PROTECTED]> wrote:
> The solution I am using is much the same as yours:
>
> //JavaScript:
> function displayStatus(theStatus){
> var msg = theStatus;
> window.status = msg;
> }
>
> Bear in mind though that this will not work in Firefox (and possibly
> Safari - havent checked on a mac) - on these browsers, Javascript
> cannot be used to change the status bar unless the user has
> specifically allowed it...
>
> hth
>
> PBH
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Attach MC with a custom Class

2006-01-11 Thread Bruno Mosconi
How do I attach a MC from lib with a custom class?

 

Thanks,

Bruno

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


[Flashcoders] Flash 8 – Immediate Help

2006-01-11 Thread Antoinette Carr

Flash programmer needed to program several web components starting ASAP,
starting tonight or tomorrow morning would be great. Must have experience
with dynamic text, making news tickers and making scrolling image
navigation bars. We have a MacG5 waiting for you to work on.

Payment will be discussed.

Contact: Antoinette 202 944 3867 or email [
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 



Antoinette Carr
Associate Producer
Digital Underground
1000 Potomac Street NW Suite B100
Washington DC 20007
tel. 202.944.3867
fax. 202.944.8588
www.digitalunderground.org

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


[Flashcoders] Flash lite 2.0 download

2006-01-11 Thread Robin Burrer
Hi there,

I was trying to download the flash new flash lite player for my Nokia
6670 yesterday. However adobe/macromedia website always linked me to the
American products store. Even though I have a Macromedia account the
order form would not accept my Australian address. 

I could not find the flash Lite player on the Asia Pacific website
either. 

How annoying is that? Anybody found a way to download the player outside
the US? Can you at least purchase it over the phone?

Robin



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


[Flashcoders] Date sorting algorithm *revised

2006-01-11 Thread elibol
A revised version of the set of date sorting functions I've posted, thanks
to the list member who helped me.

var objectArray = [ {d: new Date( 1901, 1, 1)}, {d: new Date()}, {d: new
Date(2003,1,5)}, {d: new Date(2005,3,5)}, {d: new Date(2005,3,5)}, {d: new
Date(2003,1,5)} ];
var dateArray = [ new Date( 1901, 1, 1), new Date(), new Date(2003,1,5), new
Date(2005,3,5), new Date(2005,3,5), new Date(2003,1,5) ];

//wraps Array sort() method using a compare function for Date Objects
function sortDate(a:Array, j:Boolean) {
a.sort(sortDateCompare, j*2);
}

//compare function for Date Objects, used with the Array sort() method
function sortDateCompare(a,b){
a=a.valueOf(), b=b.valueOf();
return a>b?1:a==b?0:-1;
}

//sorts an array of objects, where k points to the date object within each
containing object.
function sortOnDate(a:Array, k:String, j:Boolean) {
var c=a.length, e=-1, g, i, b, d;
while(++ed?g:i:bd?g:i:bhttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] TreeDataProvider - "There is no method with thename'addTreeNode'"

2006-01-11 Thread Johannes Nel
var myTreeDP:TreeDataProvider  = TreeDataProvider (new XML());
   myTreeDP.addTreeNode("node", 0);

thjis might just fail silently though, but should work

is an example of how we use it.
On 1/11/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
>
> > cast it.
>
> how?
>
> Could you elaborate a bit? Thanks!
>
> --
> Andreas Weber
> motiondraw.com
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Johannes
> Nel
> Sent: Mittwoch, 11. Januar 2006 21:57
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with
> thename'addTreeNode'"
>
>
> cast it.
>
> On 1/11/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
> >
> > Thanks Devendran -
> > This should do it and usually does do it...
> >
> > However in the context of my project I got the 'no method with the
> > name 'addTreeNode' error, no matter in how many even remotely related
> > classes I put the import statement. Now, after a lot of digging,
> > cursing, ASO file deleting and hair pulling I found the culprit:
> > I was publishing for Player 7. Published for Player 8 it compiles just
> > fine. (Reproducable by publishing the simple test case for Player 7 /
> 8)
> >
> > Does not make any sense to me and at the moment I'd really still
> > prefer to publish for 7...
> >
> > Cheers!
> > --
> > Andreas Weber
> > motiondraw.com
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Devendran I
> > Sent: Mittwoch, 11. Januar 2006 17:24
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with
>
> > thename 'addTreeNode'"
> >
> >
> > Hi
> >
> >   use this code in your Class file
> >   import mx.controls.Tree;
> >
> >
> >   And then compile the Movie.
> >
> >
> >   Devendran.I
> >
> >
> >
> > Andreas Weber <[EMAIL PROTECTED]> wrote:
> >   With a Tree component on stage and this framecode
> >
> > var myTreeDP:XML = new XML();
> > myTreeDP.addTreeNode("node", 0);
> >
> > the TreeDataProvider API works fine.
> >
> > However, the same code in a class
> >
> > class Test{
> > function Test(){
> > var myTreeDP:XML = new XML();
> > myTreeDP.addTreeNode("node", 0);
> > }
> > }
> >
> > instantiated from a .fla that has a Tree component on stage, throws a
> > compiler error:
> >
> > "There is no method with the name 'addTreeNode'"
> >
> > Is this a missing intrinsic class issue? Workarounds? (don't have any
> > luck with avoiding the compiler error through Array access syntax: no
> > error, but no node is added).
> >
> > Cheers!
> >
> > --
> > Andreas Weber
> > motiondraw.com
> >
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> >
> > -
> > Yahoo! Photos
> > Got holiday prints? See all the ways to get quality prints in your
> > hands ASAP. ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> j:pn
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


RE: [Flashcoders] TreeDataProvider - "There is no method with thename'addTreeNode'"

2006-01-11 Thread Andreas Weber
> cast it.

how?
 
Could you elaborate a bit? Thanks!

--
Andreas Weber
motiondraw.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: Mittwoch, 11. Januar 2006 21:57
To: Flashcoders mailing list
Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with
thename'addTreeNode'"


cast it.

On 1/11/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
>
> Thanks Devendran -
> This should do it and usually does do it...
>
> However in the context of my project I got the 'no method with the 
> name 'addTreeNode' error, no matter in how many even remotely related 
> classes I put the import statement. Now, after a lot of digging, 
> cursing, ASO file deleting and hair pulling I found the culprit:
> I was publishing for Player 7. Published for Player 8 it compiles just
> fine. (Reproducable by publishing the simple test case for Player 7 /
8)
>
> Does not make any sense to me and at the moment I'd really still 
> prefer to publish for 7...
>
> Cheers!
> --
> Andreas Weber
> motiondraw.com
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Devendran I
> Sent: Mittwoch, 11. Januar 2006 17:24
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with

> thename 'addTreeNode'"
>
>
> Hi
>
>   use this code in your Class file
>   import mx.controls.Tree;
>
>
>   And then compile the Movie.
>
>
>   Devendran.I
>
>
>
> Andreas Weber <[EMAIL PROTECTED]> wrote:
>   With a Tree component on stage and this framecode
>
> var myTreeDP:XML = new XML();
> myTreeDP.addTreeNode("node", 0);
>
> the TreeDataProvider API works fine.
>
> However, the same code in a class
>
> class Test{
> function Test(){
> var myTreeDP:XML = new XML();
> myTreeDP.addTreeNode("node", 0);
> }
> }
>
> instantiated from a .fla that has a Tree component on stage, throws a 
> compiler error:
>
> "There is no method with the name 'addTreeNode'"
>
> Is this a missing intrinsic class issue? Workarounds? (don't have any 
> luck with avoiding the compiler error through Array access syntax: no 
> error, but no node is added).
>
> Cheers!
>
> --
> Andreas Weber
> motiondraw.com
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com 
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
>
> -
> Yahoo! Photos
> Got holiday prints? See all the ways to get quality prints in your 
> hands ASAP. ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com 
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com 
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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

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


Re: [Flashcoders] lightweight flash7 color picker?

2006-01-11 Thread Rajat Paharia
Thanks Tom, Ivan!

I also found this free component:
http://www.kadazuro.com/tutoriales/xch/colorBox/index2.html
Which had some case-sensitivity and deprecated command errors that I fixed,
so it now works fine compiled for FP7 and 8, AS1.0 or 2.0.
You can get the clip here: http://www.rootburn.com/files/sampleColorBox.fla

One minor annoyance is the "dead zone" between color chips, but that could
probably be fixed pretty easily.

best, - rajat

On 1/11/06, Iv <[EMAIL PROTECTED]> wrote:
>
> Hello Rajat,
>
> http://www.dembicki.org/GradientAndSafePalette.as
>
> --
> Ivan Dembicki
>
> 
> [EMAIL PROTECTED] ||
> http://www.design.ru
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-11 Thread Sander
Think further. For years the Flash plugin on Mac has been a joke,  
partly due to the fact the market is too small to optimize the code  
further for a small platform.


That kinda changes when the Flash plugin runs on OSX86.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] TreeDataProvider - "There is no method with thename 'addTreeNode'"

2006-01-11 Thread Johannes Nel
cast it.

On 1/11/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
>
> Thanks Devendran -
> This should do it and usually does do it...
>
> However in the context of my project I got the 'no method with the name
> 'addTreeNode' error, no matter in how many even remotely related classes
> I put the import statement.
> Now, after a lot of digging, cursing, ASO file deleting and hair pulling
> I found the culprit:
> I was publishing for Player 7. Published for Player 8 it compiles just
> fine. (Reproducable by publishing the simple test case for Player 7 / 8)
>
> Does not make any sense to me and at the moment I'd really still prefer
> to publish for 7...
>
> Cheers!
> --
> Andreas Weber
> motiondraw.com
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Devendran I
> Sent: Mittwoch, 11. Januar 2006 17:24
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with
> thename 'addTreeNode'"
>
>
> Hi
>
>   use this code in your Class file
>   import mx.controls.Tree;
>
>
>   And then compile the Movie.
>
>
>   Devendran.I
>
>
>
> Andreas Weber <[EMAIL PROTECTED]> wrote:
>   With a Tree component on stage and this framecode
>
> var myTreeDP:XML = new XML();
> myTreeDP.addTreeNode("node", 0);
>
> the TreeDataProvider API works fine.
>
> However, the same code in a class
>
> class Test{
> function Test(){
> var myTreeDP:XML = new XML();
> myTreeDP.addTreeNode("node", 0);
> }
> }
>
> instantiated from a .fla that has a Tree component on stage, throws a
> compiler error:
>
> "There is no method with the name 'addTreeNode'"
>
> Is this a missing intrinsic class issue? Workarounds? (don't have any
> luck with avoiding the compiler error through Array access syntax: no
> error, but no node is added).
>
> Cheers!
>
> --
> Andreas Weber
> motiondraw.com
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
>
> -
> Yahoo! Photos
> Got holiday prints? See all the ways to get quality prints in your
> hands ASAP. ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


RE: [Flashcoders] TreeDataProvider - "There is no method with thename 'addTreeNode'"

2006-01-11 Thread Andreas Weber
Thanks Devendran -
This should do it and usually does do it...

However in the context of my project I got the 'no method with the name
'addTreeNode' error, no matter in how many even remotely related classes
I put the import statement.
Now, after a lot of digging, cursing, ASO file deleting and hair pulling
I found the culprit: 
I was publishing for Player 7. Published for Player 8 it compiles just
fine. (Reproducable by publishing the simple test case for Player 7 / 8)

Does not make any sense to me and at the moment I'd really still prefer
to publish for 7... 

Cheers!
--
Andreas Weber
motiondraw.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Devendran I
Sent: Mittwoch, 11. Januar 2006 17:24
To: Flashcoders mailing list
Subject: Re: [Flashcoders] TreeDataProvider - "There is no method with
thename 'addTreeNode'"


Hi
   
  use this code in your Class file
  import mx.controls.Tree;
   
   
  And then compile the Movie.
   
   
  Devendran.I
   
  

Andreas Weber <[EMAIL PROTECTED]> wrote:
  With a Tree component on stage and this framecode

var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);

the TreeDataProvider API works fine.

However, the same code in a class

class Test{
function Test(){
var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);
}
}

instantiated from a .fla that has a Tree component on stage, throws a
compiler error:

"There is no method with the name 'addTreeNode'"

Is this a missing intrinsic class issue? Workarounds? (don't have any
luck with avoiding the compiler error through Array access syntax: no
error, but no node is added).

Cheers!

--
Andreas Weber
motiondraw.com



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



-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your
hands ASAP. ___
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] certificate

2006-01-11 Thread grant
I have had some issue's with certificates and flash. 

I use charles which is an http proxy to intercept the requests between the 
browser and the server to figure out what the issue was.  1st test is really to 
create an html page and call your webservice using a form post and make sure 
the certificates are working within the browser and the webserver BEFORE you 
try and use the service from flash.

There is cheap http proxy thats better than charles but I forget who created it.

ah, here is the link http://kevinlangdon.com/serviceCapture/

Grant.

- Original Message -
From: PR Durand [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/11/06 3:08 PM
Subject: [Flashcoders] certificate

> Hi List
> It seems that I found antoher point to explain my difficulties to obtain 
> a result in connecting my WS.
> The server has a Double-side certificate. I installed the certificate on 
> firefox, so I can call correctly the https webservice via the browser, 
> on the 8448 port without any problem,
> but maybe flash can't communicate correctly?
> I thought that the browser holding the swf was the only concerned by the 
> certificate, as flash isn't seen by the servers, but only the webpage 
> holding it... am I wrong? Can Flash have problems with the certificate?
> 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


Re: [Flashcoders] certificate

2006-01-11 Thread Campbell Anderson
My understanding was that the broswer took care of all requests ...thus
flash requests tooand handeled certificates for flash.

Will have to have a think about this one.

Cam

> Hi List
> It seems that I found antoher point to explain my difficulties to obtain 
> a result in connecting my WS.
> The server has a Double-side certificate. I installed the certificate on 
> firefox, so I can call correctly the https webservice via the browser, 
> on the 8448 port without any problem,
> but maybe flash can't communicate correctly?
> I thought that the browser holding the swf was the only concerned by the 
> certificate, as flash isn't seen by the servers, but only the webpage 
> holding it... am I wrong? Can Flash have problems with the certificate?
> 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] certificate

2006-01-11 Thread PR Durand

Hi List
It seems that I found antoher point to explain my difficulties to obtain 
a result in connecting my WS.
The server has a Double-side certificate. I installed the certificate on 
firefox, so I can call correctly the https webservice via the browser, 
on the 8448 port without any problem,

but maybe flash can't communicate correctly?
I thought that the browser holding the swf was the only concerned by the 
certificate, as flash isn't seen by the servers, but only the webpage 
holding it... am I wrong? Can Flash have problems with the certificate?

thanks a lot
PR

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


RE: [Flashcoders] Text not showing up in Flash Player 7 with Flash 8SWF

2006-01-11 Thread Battershall, Jeff
Maybe this is too obvious, but the font rendering engine is completely
different in Flash 8 - could explain the observed behavior.  A solution
might be to generate two versions of the movie (7,8) and leverage MM's
new detection script to deliver the version which will run on the user's
machine.

Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howard
Nager
Sent: Wednesday, January 11, 2006 1:02 PM
To: Flashcoders mailing list; Flashcoders mailing list
Subject: RE: [Flashcoders] Text not showing up in Flash Player 7 with
Flash 8SWF


Are you trying to publish a somewhat backwards compatible flash movie?
All the bells and whistles when viewed in f8 but stilla cceptable in f7?
I ran in to the same issue when trying to do the same. The swf runs fine
in the 7 player but the text doesnt show. 


-Original Message-
From: [EMAIL PROTECTED] on behalf of Martin
Weiser
Sent: Wed 1/11/2006 12:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Text not showing up in Flash Player 7 with
Flash 8SWF
 
default font, was in flash 7, unde font tag, in flash 8 i cannot see it 
anymore,
so always have to add face="*fontName*" to 

MW

- Original Message - 
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, January 11, 2006 6:36 PM
Subject: Re: [Flashcoders] Text not showing up in Flash Player 7 with
Flash 
8 SWF


>
> Is the .swf compiled as a Flash 7 movie? If not, I think you have your
> answer.
>
> Miles
>
> At 12:39 PM 1/11/2006, Steven Sacks wrote:
>
>>Hey,
>>
>>Any reason why the static and dynamic text in my Flash 8 movie aren't 
>>showing up in the Flash 7 player on Windows or Linux?  Nothing Flash 8

>>about the text.  It just doesn't show up on Flash Player 7.0r14.
>>
>>-s
>>
>>
>>
>>
>>
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date:
1/10/2006
>
>
> ___
> 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: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-11 Thread eric dolecki
marked as resolved - woohoo :)

On 1/11/06, Sander <[EMAIL PROTECTED]> wrote:
>
> MM is working on the Mac Intel Flash Plugin.
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=313347
> ___
> 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: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-11 Thread Sander

MM is working on the Mac Intel Flash Plugin.

https://bugzilla.mozilla.org/show_bug.cgi?id=313347
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


SV: [Flashcoders] flash 8 security hint

2006-01-11 Thread Martin Baltzer
What about your  tag? Does it contain the following param element ?
 

 
/Martin



Fra: [EMAIL PROTECTED] på vegne af Cédric Muller
Sendt: on 11-01-2006 15:51
Til: Flashcoders@chattyfig.figleaf.com
Emne: [Flashcoders] flash 8 security hint



Could anyone tell me why A.swf can load B.swf, but B.swf cannot call 
scripts (php) ?
all of these (A.swf, B.swf and scripts.php) are sitting on
http://www.mydomain.com/anyDir/
and are Flash 8 swfs (though it is also failing with Flash 7 swfs. 
Works with Flash 6)

I know about local OR network access, but as these files are all 
residing on the same URL, I am wondering what is fail the B.swf 
scripts execution ?

?

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


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


RE: [Flashcoders] flash frame-rate in windows form applications

2006-01-11 Thread Ralph Caraveo
Currently using .net 2003 edition.  Our company unfortunately hasn't
made the switch to .net 2005 but this may seem like an option.  Anymore
info would be great.  I'll post my findings as well.

-Ralph 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Wednesday, January 11, 2006 10:48 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] flash frame-rate in windows form applications

Ralph,

I haven't done a great deal of testing, but I found that an EXE compiled
with vis studio.net 2005 performed much better with embedded swf's than
2003.  However, I also found a big difference in two machines of
comparable spec, so I need to do a great deal more testing.  

What are you using to compile your .net app?

Cheers,

Nick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ralph
Caraveo
Sent: 11 January 2006 18:23
To: Flashcoders mailing list
Subject: [Flashcoders] flash frame-rate in windows form applications

Hey group,
 
Anybody have any experience with using Flash inside of a Windows Forms
(.net) application?  My questions are:  Have you gotten the .swf to run
a reasonable/high frame rate or do you get a nasty performance penalty
for having flash embedded or "wrapped" in a .net app? 
 
I just did a test with 1000 particles using AS3.0 and got about 45 fps
with the flash player by itself.  I then popped this into my c# .net and
it crawled to almost half at 23 fps on average.
 
Just wondering if anybody has been able to squeeze out good or great
performance from this technique.
 
Thanks in advance,
 
-Ralph




Choice Internet Home Page  Choice
Internet
17785 Center Court Dr. Suite 280  
Cerritos, CA 90703  
Tel: 562 865 6886 x112   Fax: 562.865.6889
 www.choiceinternet.com
 

  Ralph Caraveo, Senior Programmer [EMAIL PROTECTED]
  

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


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


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


RE: [Flashcoders] flash frame-rate in windows form applications

2006-01-11 Thread Nick Weekes
Ralph,

I haven't done a great deal of testing, but I found that an EXE compiled
with vis studio.net 2005 performed much better with embedded swf's than
2003.  However, I also found a big difference in two machines of comparable
spec, so I need to do a great deal more testing.  

What are you using to compile your .net app?

Cheers,

Nick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ralph
Caraveo
Sent: 11 January 2006 18:23
To: Flashcoders mailing list
Subject: [Flashcoders] flash frame-rate in windows form applications

Hey group,
 
Anybody have any experience with using Flash inside of a Windows Forms
(.net) application?  My questions are:  Have you gotten the .swf to run
a reasonable/high frame rate or do you get a nasty performance penalty
for having flash embedded or "wrapped" in a .net app? 
 
I just did a test with 1000 particles using AS3.0 and got about 45 fps
with the flash player by itself.  I then popped this into my c# .net and
it crawled to almost half at 23 fps on average.
 
Just wondering if anybody has been able to squeeze out good or great
performance from this technique.
 
Thanks in advance,
 
-Ralph




Choice Internet Home Page 
Choice Internet
17785 Center Court Dr. Suite 280  
Cerritos, CA 90703  
Tel: 562 865 6886 x112   Fax: 562.865.6889
 www.choiceinternet.com
 

  Ralph Caraveo, Senior Programmer [EMAIL PROTECTED]
  

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


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


[Flashcoders] flash frame-rate in windows form applications

2006-01-11 Thread Ralph Caraveo
Hey group,
 
Anybody have any experience with using Flash inside of a Windows Forms
(.net) application?  My questions are:  Have you gotten the .swf to run
a reasonable/high frame rate or do you get a nasty performance penalty
for having flash embedded or "wrapped" in a .net app? 
 
I just did a test with 1000 particles using AS3.0 and got about 45 fps
with the flash player by itself.  I then popped this into my c# .net and
it crawled to almost half at 23 fps on average.
 
Just wondering if anybody has been able to squeeze out good or great
performance from this technique.
 
Thanks in advance,
 
-Ralph




Choice Internet Home Page 
Choice Internet
17785 Center Court Dr. Suite 280  
Cerritos, CA 90703  
Tel: 562 865 6886 x112   Fax: 562.865.6889
 www.choiceinternet.com
 

  Ralph Caraveo, Senior Programmer [EMAIL PROTECTED]
  

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


Re: [Flashcoders] Webservice and complex type class mapping

2006-01-11 Thread grant
Christophe, I've never had it map in the remoting way, but I have sucessfully 
done a cast on the dynamic object returned and then got data from it.  I think 
it works "by accident" :)

Grant

- Original Message -
From: Christophe Herreman [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/11/06 8:46 AM
Subject: [Flashcoders] Webservice and complex type class mapping

> Hi all,
> 
> does anyone know if it is possible to map an incoming complex type to a 
> AS class? With remoting Object.registerClass() does the trick but it 
> doesn't seem to work with webservices.
> 
> Any clues? Or is it simply not possible and do I have to parse the soap 
> messages myself?
> 
> thx in advance,
> Christophe
> ___
> 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] Text not showing up in Flash Player 7 with Flash 8SWF

2006-01-11 Thread Howard Nager
Are you trying to publish a somewhat backwards compatible flash movie? All the 
bells and whistles when viewed in f8 but stilla cceptable in f7? I ran in to 
the same issue when trying to do the same. The swf runs fine in the 7 player 
but the text doesnt show. 


-Original Message-
From: [EMAIL PROTECTED] on behalf of Martin Weiser
Sent: Wed 1/11/2006 12:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 8SWF
 
default font, was in flash 7, unde font tag, in flash 8 i cannot see it 
anymore,
so always have to add face="*fontName*" to 

MW

- Original Message - 
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, January 11, 2006 6:36 PM
Subject: Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 
8 SWF


>
> Is the .swf compiled as a Flash 7 movie? If not, I think you have your 
> answer.
>
> Miles
>
> At 12:39 PM 1/11/2006, Steven Sacks wrote:
>
>>Hey,
>>
>>Any reason why the static and dynamic text in my Flash 8 movie aren't
>>showing up in the Flash 7 player on Windows or Linux?  Nothing Flash 8 
>>about
>>the text.  It just doesn't show up on Flash Player 7.0r14.
>>
>>-s
>>
>>
>>
>>
>>
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: 1/10/2006
>
>
> ___
> 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] Text not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Martin Weiser
default font, was in flash 7, unde font tag, in flash 8 i cannot see it 
anymore,

so always have to add face="*fontName*" to 

MW

- Original Message - 
From: "Miles Thompson" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, January 11, 2006 6:36 PM
Subject: Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 
8 SWF





Is the .swf compiled as a Flash 7 movie? If not, I think you have your 
answer.


Miles

At 12:39 PM 1/11/2006, Steven Sacks wrote:


Hey,

Any reason why the static and dynamic text in my Flash 8 movie aren't
showing up in the Flash 7 player on Windows or Linux?  Nothing Flash 8 
about

the text.  It just doesn't show up on Flash Player 7.0r14.

-s





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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: 1/10/2006


___
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] Wierd Video

2006-01-11 Thread Mike Boutin

Hi All,

I have a FLVPlayback component in flash 8 with the skinAutoHide set to 
true.  In Firefox everything works fine, when you roll over the video, 
the player controls come up and then go away when you roll off.  In 
Internet Explorer once you roll over the video the controller stays and 
doesn't go away when you roll off.  Has anyone else had this happen?


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


Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Miles Thompson


Is the .swf compiled as a Flash 7 movie? If not, I think you have your answer.

Miles

At 12:39 PM 1/11/2006, Steven Sacks wrote:


Hey,

Any reason why the static and dynamic text in my Flash 8 movie aren't
showing up in the Flash 7 player on Windows or Linux?  Nothing Flash 8 about
the text.  It just doesn't show up on Flash Player 7.0r14.

-s





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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: 1/10/2006


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


Re: FW: [Flashcoders] Multi Color Gradient

2006-01-11 Thread Ryan Matsikas
look up beginGradientFill() and the rest of the drawing api.

On 1/11/06, rishi <[EMAIL PROTECTED]> wrote:
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
> Kumar
> Sent: Tuesday, January 10, 2006 6:35 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Multi Color Gradient
>
> Hi All,
>
>
>
> I want to create a multicolored gradient dynamically where I can specify
> ratios for each color in my gradient fill.
>
> Any suggestion will be great help to me
>
>
>
>
>
> Regards
>
> Sumeet Kumar
>
>
>
>
>
> ___
> 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] https and webservices - additional information

2006-01-11 Thread PR Durand

Nope... I tryied to excplicitly write the :443 in my uri and it worked...
8443 and 1234 did not
is there a port restiction list?
PR

PR Durand a écrit :


Thanks Dave,
As I can't change anything on the java server, wich is located by the 
customer, I tryied on my test server.

And the https://testdomain:1234/ doesn't work more than the 8443
It seems that as soon as I write a port, it fails.
when I let my server listening to the 443 port, and don't specify any 
port in my flash script, everything works, but when I write those ":" 
I receive an error...

PR

Dave Watts a écrit :


Yes, as we can acces the service within the browser.
I think the problem comes from the port, as it works on 443, but not 
on 8443. We can't change the server port and flash doesn't seem to 
enjoy this connection.
Is it also normal, that trying to view the service methods in the 
Webservice panel in the flash IDE doesn't work with an https?


maybe is there a different way to tell flash that we use https, a 
particular port, etc??
  



I don't know if this is the cause of your problem, but I think that 
Breeze

will use port 8443 as an alternative connection port for Breeze Meeting.
Perhaps there's something built into the Flash player that's 
preventing you

from using it for HTTPS because of this?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
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] https and webservices - additional information

2006-01-11 Thread PR Durand

Thanks Dave,
As I can't change anything on the java server, wich is located by the 
customer, I tryied on my test server.

And the https://testdomain:1234/ doesn't work more than the 8443
It seems that as soon as I write a port, it fails.
when I let my server listening to the 443 port, and don't specify any 
port in my flash script, everything works, but when I write those ":" I 
receive an error...

PR

Dave Watts a écrit :


Yes, as we can acces the service within the browser.
I think the problem comes from the port, as it works on 443, 
but not on 8443. We can't change the server port and flash 
doesn't seem to enjoy this connection.
Is it also normal, that trying to view the service methods in 
the Webservice panel in the flash IDE doesn't work with an https?


maybe is there a different way to tell flash that we use 
https, a particular port, etc??
   



I don't know if this is the cause of your problem, but I think that Breeze
will use port 8443 as an alternative connection port for Breeze Meeting.
Perhaps there's something built into the Flash player that's preventing you
from using it for HTTPS because of this?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
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] Vector shapes not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Ryan Matsikas
If the shapes are drawn in the 8 IDE.. there's a good chance yer using the
new stroke/drawing stuff, which is very much not backwards compatible.

If your publishing for 7 you should have got some warnings about the new
features not working in 7.

On 1/11/06, Steven Sacks <[EMAIL PROTECTED]> wrote:
>
> Wow. It looks like vector shapes aren't showing up in Flash player 7 from
> a
> Flash 8 swf either.  I swore that there was a certain amount of backwards
> compatibility.
>
> What gives?
>
> ___
> 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] https and webservices - additional information

2006-01-11 Thread Dave Watts
> Yes, as we can acces the service within the browser.
> I think the problem comes from the port, as it works on 443, 
> but not on 8443. We can't change the server port and flash 
> doesn't seem to enjoy this connection.
> Is it also normal, that trying to view the service methods in 
> the Webservice panel in the flash IDE doesn't work with an https?
> 
> maybe is there a different way to tell flash that we use 
> https, a particular port, etc??

I don't know if this is the cause of your problem, but I think that Breeze
will use port 8443 as an alternative connection port for Breeze Meeting.
Perhaps there's something built into the Flash player that's preventing you
from using it for HTTPS because of this?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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


[Flashcoders] Vector shapes not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Steven Sacks
Wow. It looks like vector shapes aren't showing up in Flash player 7 from a
Flash 8 swf either.  I swore that there was a certain amount of backwards
compatibility.

What gives?

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


Re: [Flashcoders] reducing build times

2006-01-11 Thread Yehia Shouman
But still for non-developers this seems like a good trick,
I have been programming in flash for 4 yrs now, I still can't depend on 3rd
party compilers (atleast with commercial projects that I do for my company)

On 1/11/06, Steven Sacks <[EMAIL PROTECTED]> wrote:
>
> 3rd party compilers are reported to be ridiculously faster than the IDE.
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Nathan Derksen
> > Sent: Wednesday, January 11, 2006 8:09 AM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] reducing build times
> >
> > In the Flash IDE, you can convert movie clips in the library into
> > compiled clips. Select your movie clips, right click, and select
> > Convert to Compiled Clip. This will pre-compile these movie clips,
> > and their linkage IDs (if any) will also remain intact. I've done
> > this in the past with movie clips for custom skins, and it saved a
> > heap load of time from the compile process. I had one movie
> > clip as a
> > placeholder that contained a copy of all the other movie clips.
> > Compiling the one movie clip automatically included all the other
> > ones in the compiled clip. The one thing is that make sure you save
> > your original movie clips in another file, as once you convert then
> > delete the original clip, the compiled clip is not editable.
> >
> > Nathan
> > http://www.nathanderksen.com
> >
> >
> > On Jan 8, 2006, at 4:49 PM, Mark Winterhalder wrote:
> >
> > > On 1/9/06, Uri <[EMAIL PROTECTED]> wrote:
> > >> i'm trying to reduce build (publish) times for a project i'm
> > >> working on. I
> > >> have many vector symbols that have AS2 classes assigned to them.
> > >> Since i'm
> > >> working with complex vector symbols, it takes flash quite a while
> > >> to publish
> > >> the swf of the movie each time.
> > >>
> > >> Could anyone suggest a way to have the symbols' graphic vector
> > >> data compiled
> > >> once, so that i can later change their AS2 class code without
> > >> compiling the
> > >> vector data for them over and over again?
> > >>
> > >> thanks
> > >> Uri
> > >> ___
> > >> 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] looking for combobox w/ autocomplete

2006-01-11 Thread Bart Wttewaall
I have exactly what you're looking for. I made some methods that
responded to the change-event and such and created a
"intellisense"-combobox. Mail me offlist if you're insterested in the
code.

2006/1/6, Nick Appelmans <[EMAIL PROTECTED]>:
> Can anyone point me in the direction of a combobox with autocomplete like
> that offered as a Dreamweaver extension MX Widgets by interaktonline.com?
> I'm not looking for the interface so much as an example of how to create a
> combobox that would select a matching item from a list (based on the first
> few letters) as you typed until you began to type a unique word at which
> point you'd be entering a new item.
>
> Thanks for any help.
>
>
>
> Nick
>
> ___
> 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] https and webservices - port test

2006-01-11 Thread PR Durand
Has anyone already connected a webservice from flash to a 
https://domain:8443/ url ??

if yes, how? since flash doesn't seem to like this port.
thanks a lot
PR

PR Durand a écrit :


Hi Danny,
thanks for your answer,
I would like this, Danny, but I don't think so cause:
My script works with another webservice
The service wich doesn't work in flash with the same script works well 
in the browser, and I copied-pasted the url

PR

Danny Kodicek a écrit :

Just a quick thought as this has caught me out a few times: have you 
checked that everything is in the right case? Linu-based servers are 
usually case-sensitive and I wouldn't be surprised if you've got an 
erroneous capital letter in there somewhere.


Danny


- Original Message - From: "PR Durand" 
<[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, January 11, 2006 4:14 PM
Subject: Re: [Flashcoders] https and webservices - additional 
information



I've just seen that if I try to acces my working https aspx webservice
through the 8443 port instead of 443, it doesn't work anymore
"Error opening URL etc etc"
PR.


PR Durand a écrit :


Thanks David, for your answer,
but if you mind by "complete path", that I've got to enter the whole 
url, then it's already what I do:

var sURI:String = "https://domain:port/path/service?WSDL";;

new data in my tests :
With the same script, I can reach another https webservice on 
another domain. so the problem can be others.

to resume what can work:
- connecting my https java webservice from the browser and calling a 
method (so the java service works)
- connecting an https or http (both work) aspx webservice from flash 
and calling a method (so my flash script works)


what I cannot do:
- connecting the https java webservice from flash.

++
PR



Brunswick, David a écrit :


You need to define the complete path
David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or 
Log
The same configuration works with an http method, but as soon as I 
turn it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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




___
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] https and webservices - additional information

2006-01-11 Thread PR Durand

Hi Danny,
thanks for your answer,
I would like this, Danny, but I don't think so cause:
My script works with another webservice
The service wich doesn't work in flash with the same script works well 
in the browser, and I copied-pasted the url

PR

Danny Kodicek a écrit :

Just a quick thought as this has caught me out a few times: have you 
checked that everything is in the right case? Linu-based servers are 
usually case-sensitive and I wouldn't be surprised if you've got an 
erroneous capital letter in there somewhere.


Danny


- Original Message - From: "PR Durand" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, January 11, 2006 4:14 PM
Subject: Re: [Flashcoders] https and webservices - additional information


I've just seen that if I try to acces my working https aspx webservice
through the 8443 port instead of 443, it doesn't work anymore
"Error opening URL etc etc"
PR.


PR Durand a écrit :


Thanks David, for your answer,
but if you mind by "complete path", that I've got to enter the whole 
url, then it's already what I do:

var sURI:String = "https://domain:port/path/service?WSDL";;

new data in my tests :
With the same script, I can reach another https webservice on another 
domain. so the problem can be others.

to resume what can work:
- connecting my https java webservice from the browser and calling a 
method (so the java service works)
- connecting an https or http (both work) aspx webservice from flash 
and calling a method (so my flash script works)


what I cannot do:
- connecting the https java webservice from flash.

++
PR



Brunswick, David a écrit :


You need to define the complete path
David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I 
turn it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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




___
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] Text not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Steven Sacks
Hey,

Any reason why the static and dynamic text in my Flash 8 movie aren't
showing up in the Flash 7 player on Windows or Linux?  Nothing Flash 8 about
the text.  It just doesn't show up on Flash Player 7.0r14.

-s





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


Re: [Flashcoders] https and webservices - additional information

2006-01-11 Thread Danny Kodicek
Just a quick thought as this has caught me out a few times: have you checked 
that everything is in the right case? Linu-based servers are usually 
case-sensitive and I wouldn't be surprised if you've got an erroneous 
capital letter in there somewhere.


Danny


- Original Message - 
From: "PR Durand" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, January 11, 2006 4:14 PM
Subject: Re: [Flashcoders] https and webservices - additional information


I've just seen that if I try to acces my working https aspx webservice
through the 8443 port instead of 443, it doesn't work anymore
"Error opening URL etc etc"
PR.


PR Durand a écrit :


Thanks David, for your answer,
but if you mind by "complete path", that I've got to enter the whole url, 
then it's already what I do:

var sURI:String = "https://domain:port/path/service?WSDL";;

new data in my tests :
With the same script, I can reach another https webservice on another 
domain. so the problem can be others.

to resume what can work:
- connecting my https java webservice from the browser and calling a 
method (so the java service works)
- connecting an https or http (both work) aspx webservice from flash and 
calling a method (so my flash script works)


what I cannot do:
- connecting the https java webservice from flash.

++
PR



Brunswick, David a écrit :


You need to define the complete path
David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I turn 
it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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




___
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] https and webservices - additional information

2006-01-11 Thread PR Durand

Yes, as we can acces the service within the browser.
I think the problem comes from the port, as it works on 443, but not on 
8443. We can't change the server port and flash doesn't seem to enjoy 
this connection.
Is it also normal, that trying to view the service methods in the 
Webservice panel in the flash IDE doesn't work with an https?


maybe is there a different way to tell flash that we use https, a 
particular port, etc??


PR


Brunswick, David a écrit :


Have you checked permissions on the server and folder structure?

David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PR Durand
Sent: Wednesday, January 11, 2006 11:15 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] https and webservices - additional information

I've just seen that if I try to acces my working https aspx webservice 
through the 8443 port instead of 443, it doesn't work anymore

"Error opening URL etc etc"
PR.


PR Durand a écrit :

 


Thanks David, for your answer,
but if you mind by "complete path", that I've got to enter the whole 
url, then it's already what I do:

var sURI:String = "https://domain:port/path/service?WSDL";;

new data in my tests :
With the same script, I can reach another https webservice on another 
domain. so the problem can be others.

to resume what can work:
- connecting my https java webservice from the browser and calling a 
method (so the java service works)
- connecting an https or http (both work) aspx webservice from flash 
and calling a method (so my flash script works)


what I cannot do:
- connecting the https java webservice from flash.

++
PR



Brunswick, David a écrit :

   


You need to define the complete path
David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I 
turn it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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


   



___
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] TreeDataProvider - "There is no method with the name 'addTreeNode'"

2006-01-11 Thread Devendran I
Hi
   
  use this code in your Class file
  import mx.controls.Tree;
   
   
  And then compile the Movie.
   
   
  Devendran.I
   
  

Andreas Weber <[EMAIL PROTECTED]> wrote:
  With a Tree component on stage and this framecode

var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);

the TreeDataProvider API works fine.

However, the same code in a class

class Test{
function Test(){
var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);
}
}

instantiated from a .fla that has a Tree component on stage, throws a
compiler error:

"There is no method with the name 'addTreeNode'"

Is this a missing intrinsic class issue? Workarounds? (don't have any luck
with avoiding the compiler error through Array access syntax: no error, but
no node is added).

Cheers!

--
Andreas Weber
motiondraw.com



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



-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] https and webservices - additional information

2006-01-11 Thread Brunswick, David
Have you checked permissions on the server and folder structure?

David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110

 
222 W. Oglethorpe Ave
Savannah, GA 31419

 
A fish out of water thinks out of the bowl!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PR Durand
Sent: Wednesday, January 11, 2006 11:15 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] https and webservices - additional information

I've just seen that if I try to acces my working https aspx webservice 
through the 8443 port instead of 443, it doesn't work anymore
"Error opening URL etc etc"
PR.


PR Durand a écrit :

> Thanks David, for your answer,
> but if you mind by "complete path", that I've got to enter the whole 
> url, then it's already what I do:
> var sURI:String = "https://domain:port/path/service?WSDL";;
>
> new data in my tests :
> With the same script, I can reach another https webservice on another 
> domain. so the problem can be others.
> to resume what can work:
> - connecting my https java webservice from the browser and calling a 
> method (so the java service works)
> - connecting an https or http (both work) aspx webservice from flash 
> and calling a method (so my flash script works)
>
> what I cannot do:
> - connecting the https java webservice from flash.
>
> ++
> PR
>
>
>
> Brunswick, David a écrit :
>
>> You need to define the complete path
>> David Brunswick
>> Training Specialist II
>> Education Services
>> [EMAIL PROTECTED]
>> Direct: 912.527.4110
>>
>>
>> 222 W. Oglethorpe Ave
>> Savannah, GA 31419
>>
>>
>> A fish out of water thinks out of the bowl!
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of PR
>> Durand
>> Sent: Wednesday, January 11, 2006 10:57 AM
>> To: Flashcoders mailing list
>> Subject: [Flashcoders] https and webservices
>>
>> Hi List,
>>
>> My Application is located on a domain, and my java server on another
>> one.
>> I call a webservice (with the Webservice class)  from flash through 
>> https, on a specific port, and nothing comes back, also no Fault or Log
>> The same configuration works with an http method, but as soon as I 
>> turn it into https, no more result.
>> Can anyone send me a link or explain how I can make it run, please?
>>
>> many thanks,
>>
>> 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
>
>

___
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] https and webservices - additional information

2006-01-11 Thread PR Durand
I've just seen that if I try to acces my working https aspx webservice 
through the 8443 port instead of 443, it doesn't work anymore

"Error opening URL etc etc"
PR.


PR Durand a écrit :


Thanks David, for your answer,
but if you mind by "complete path", that I've got to enter the whole 
url, then it's already what I do:

var sURI:String = "https://domain:port/path/service?WSDL";;

new data in my tests :
With the same script, I can reach another https webservice on another 
domain. so the problem can be others.

to resume what can work:
- connecting my https java webservice from the browser and calling a 
method (so the java service works)
- connecting an https or http (both work) aspx webservice from flash 
and calling a method (so my flash script works)


what I cannot do:
- connecting the https java webservice from flash.

++
PR



Brunswick, David a écrit :


You need to define the complete path
David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I 
turn it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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




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


RE: [Flashcoders] reducing build times

2006-01-11 Thread Steven Sacks
3rd party compilers are reported to be ridiculously faster than the IDE.

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Nathan Derksen
> Sent: Wednesday, January 11, 2006 8:09 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] reducing build times
> 
> In the Flash IDE, you can convert movie clips in the library into  
> compiled clips. Select your movie clips, right click, and select  
> Convert to Compiled Clip. This will pre-compile these movie clips,  
> and their linkage IDs (if any) will also remain intact. I've done  
> this in the past with movie clips for custom skins, and it saved a  
> heap load of time from the compile process. I had one movie 
> clip as a  
> placeholder that contained a copy of all the other movie clips.  
> Compiling the one movie clip automatically included all the other  
> ones in the compiled clip. The one thing is that make sure you save  
> your original movie clips in another file, as once you convert then  
> delete the original clip, the compiled clip is not editable.
> 
> Nathan
> http://www.nathanderksen.com
> 
> 
> On Jan 8, 2006, at 4:49 PM, Mark Winterhalder wrote:
> 
> > On 1/9/06, Uri <[EMAIL PROTECTED]> wrote:
> >> i'm trying to reduce build (publish) times for a project i'm  
> >> working on. I
> >> have many vector symbols that have AS2 classes assigned to them.  
> >> Since i'm
> >> working with complex vector symbols, it takes flash quite a while  
> >> to publish
> >> the swf of the movie each time.
> >>
> >> Could anyone suggest a way to have the symbols' graphic vector  
> >> data compiled
> >> once, so that i can later change their AS2 class code without  
> >> compiling the
> >> vector data for them over and over again?
> >>
> >> thanks
> >> Uri
> >> ___
> >> 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] https and webservices

2006-01-11 Thread PR Durand

Thanks David, for your answer,
but if you mind by "complete path", that I've got to enter the whole 
url, then it's already what I do:

var sURI:String = "https://domain:port/path/service?WSDL";;

new data in my tests :
With the same script, I can reach another https webservice on another 
domain. so the problem can be others.

to resume what can work:
- connecting my https java webservice from the browser and calling a 
method (so the java service works)
- connecting an https or http (both work) aspx webservice from flash and 
calling a method (so my flash script works)


what I cannot do:
- connecting the https java webservice from flash.

++
PR



Brunswick, David a écrit :

You need to define the complete path 


David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110


222 W. Oglethorpe Ave
Savannah, GA 31419


A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I turn 
it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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] reducing build times

2006-01-11 Thread Nathan Derksen
In the Flash IDE, you can convert movie clips in the library into  
compiled clips. Select your movie clips, right click, and select  
Convert to Compiled Clip. This will pre-compile these movie clips,  
and their linkage IDs (if any) will also remain intact. I've done  
this in the past with movie clips for custom skins, and it saved a  
heap load of time from the compile process. I had one movie clip as a  
placeholder that contained a copy of all the other movie clips.  
Compiling the one movie clip automatically included all the other  
ones in the compiled clip. The one thing is that make sure you save  
your original movie clips in another file, as once you convert then  
delete the original clip, the compiled clip is not editable.


Nathan
http://www.nathanderksen.com


On Jan 8, 2006, at 4:49 PM, Mark Winterhalder wrote:


On 1/9/06, Uri <[EMAIL PROTECTED]> wrote:
i'm trying to reduce build (publish) times for a project i'm  
working on. I
have many vector symbols that have AS2 classes assigned to them.  
Since i'm
working with complex vector symbols, it takes flash quite a while  
to publish

the swf of the movie each time.

Could anyone suggest a way to have the symbols' graphic vector  
data compiled
once, so that i can later change their AS2 class code without  
compiling the

vector data for them over and over again?

thanks
Uri
___
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] https and webservices

2006-01-11 Thread Brunswick, David
You need to define the complete path 

David Brunswick
Training Specialist II
Education Services
[EMAIL PROTECTED]
Direct: 912.527.4110

 
222 W. Oglethorpe Ave
Savannah, GA 31419

 
A fish out of water thinks out of the bowl!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR
Durand
Sent: Wednesday, January 11, 2006 10:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] https and webservices

Hi List,

My Application is located on a domain, and my java server on another
one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I turn 
it into https, no more result.
Can anyone send me a link or explain how I can make it run, please?

many thanks,

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] https and webservices

2006-01-11 Thread PR Durand

Hi List,

My Application is located on a domain, and my java server on another one.
I call a webservice (with the Webservice class)  from flash through 
https, on a specific port, and nothing comes back, also no Fault or Log
The same configuration works with an http method, but as soon as I turn 
it into https, no more result.

Can anyone send me a link or explain how I can make it run, please?

many thanks,

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


Re: [Flashcoders] Independent Date sorting algorithm

2006-01-11 Thread elibol
Hi zwetan,

The valueOf method is key, I would probably have to say that I had alot of
fun writing my solution, but your solution makes much more sense. I
appreciate your response :)

H

On 1/10/06, zwetan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> >
> > I wrote a portable date sorting algorithm, I thought it might be of
> > interest
> > to my peers since I've only seen date sorting implementations for data
> > grids.
> >
> > //the following sorts an array of Date objects:
> >
> > function sortDateArray(a:Array, j:Boolean) {
> > var
> > b=['getYear','getMonth','getDate','getTime'],c=a.length,d=b.length,e
> > = -1,f,g,h,i;
> > while(++e > i = c-e-1;
> > for(g=-1;++g > for(f=-1;++f > h=[a[i][b[f]](),a[g][b[f]]()];
> > if(h[0]!=h[1])
> > if(h[0] > else break;
> > else continue;
> > }
> > a.push(a.splice(i, 1)[0]);
> > }
> > if(j)a.reverse();
> > }
> >
> [snip]
> > Please feel free to mangle,
> >
>
> Without wanting to mangle too much
> But the language already provide a sort function for arrays
> that you could reuse
>
> also the valueOf() method of the Date object could
> simplify a lot the comparison of values
>
> list = [ new Date( 1901, 1, 1), new Date(), new Date(2003,1,5), new
> Date(2005,3,5) ];
>
> function sortDateArray2( a, b )
> {
> a = a.valueOf();
> b = b.valueOf();
>
> if( a > b )
> {
> return 1;
> }
> else if( a == b )
> {
> return 0
> }
>
> return -1;
> }
>
>
> list.sort( sortDateArray2 );
> trace( list.join( "\n" ) );
>
> 
> Fri Feb 1 00:00:00 UTC+0100 1901
> Wed Feb 5 00:00:00 UTC+0100 2003
> Tue Apr 5 00:00:00 UTC+0200 2005
> Wed Jan 11 03:07:31 UTC+0100 2006
> 
>
> zwetan
>
>
>
> ___
> 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] lightweight flash7 color picker?

2006-01-11 Thread Iv
Hello Rajat,

http://www.dembicki.org/GradientAndSafePalette.as

-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

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


RE: [Flashcoders] lightweight flash7 color picker?

2006-01-11 Thread Tom Versweyveld
The color picker in the Bit components set
(http://www.flashloaded.com/flashcomponents/bitcomponentset/) is about a
third in size of the MM one, and it works just fine for me...

t
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rajat
Paharia
Sent: woensdag 11 januari 2006 9:08
To: Flashcoders mailing list
Subject: [Flashcoders] lightweight flash7 color picker?

Anyone know where I can find one? Hate to reinvent the wheel...

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


[Flashcoders] TreeDataProvider - "There is no method with the name 'addTreeNode'"

2006-01-11 Thread Andreas Weber
With a Tree component on stage and this framecode

var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);

the TreeDataProvider API works fine.

However, the same code in a class

class Test{
function Test(){
var myTreeDP:XML = new XML();
myTreeDP.addTreeNode("node", 0);
}
}

instantiated from a .fla that has a Tree component on stage, throws a
compiler error:

"There is no method with the name 'addTreeNode'"

Is this a missing intrinsic class issue? Workarounds? (don't have any luck
with avoiding the compiler error through Array access syntax: no error, but
no node is added).

Cheers!

--
Andreas Weber
motiondraw.com



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


[Flashcoders] V2 components loose skin when published to fp8

2006-01-11 Thread Tom Versweyveld
Hi all,

When I publish my app with skinned V2 comps to fp7, everything works
fine. The moment it is published to fp8, some of the skins are no longer
applied, styles still work fine though...
I manually skinned them using the MMdefault assets in the
sampleTheme.fla that was in FlashMX 2004.
Anybody know a solution to this?

Thnx,
Tom

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


[Flashcoders] flash 8 security hint

2006-01-11 Thread Cédric Muller
Could anyone tell me why A.swf can load B.swf, but B.swf cannot call  
scripts (php) ?

all of these (A.swf, B.swf and scripts.php) are sitting on
http://www.mydomain.com/anyDir/
and are Flash 8 swfs (though it is also failing with Flash 7 swfs.  
Works with Flash 6)


I know about local OR network access, but as these files are all  
residing on the same URL, I am wondering what is fail the B.swf  
scripts execution ?


?

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


Re: [Flashcoders] SEO, flash site, url and text in this movie tags

2006-01-11 Thread Ian Thomas
This seems a pretty relevant link:

http://www.webpronews.com/ebusiness/seo/wpn-4-20040907GoogleCanNowIndexFlashAnInterviewwithMichaelMarshall.html

HTH,
  Ian

On 1/11/06, Alan MacDougall <[EMAIL PROTECTED]> wrote:

>
> No way. Google is way too smart these days. White text on a white
> background,  tag text, text in comments, text anywhere a user
> can't read it -- Google ignores it all. Maybe it would work on other
> search spiders, but if you're not convincing Google, what's the point?
>
> The only way to get a good rank in Google is to have a lot of clearly
> visible, highly relevant, informative text, ideally with links to and
> links from reputable and well-traveled sites. Anything else is just a
> scam, and even if it works one month, it'll fail the next time Google
> rearranges their algorithms.
>
> Didn't I hear once that there was some way of letting Google search
> inside Flash files, though? Maybe someone else knows a better way of
> getting your Flash-based site ranked.
> ___
> 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] SetInterval Magic

2006-01-11 Thread Alan MacDougall

Dhiraj Girdhar wrote:


Hi Guys,

I am using second option of setInterval, but I am not able to 
understand the scope issue here.
 

If you pass a function, the function is not called as part of its 
original class. An example:


class myClass
{
   private var myNumber = 5;

   public function doSomething()
   {
   trace("myNumber is " + myNumber);
   }
}

With setInterval(doSomething, 1000), you'll trace "myNumber is 
undefined" once a second, because the function is not being called as a 
method of myClass, so it doesn't have access to the other members of the 
class.


With setInterval(this, doSomething, 1000), it works. Or 
setInterval(someOtherClassObject, otherFunction, 1000).


Imagine that if you don't specify the parent object of the method, the 
method is "uprooted" from the object, and forced to exist as an 
anonymous function.



Is there any solution other than Delegates? As, I am working for Flash 6 also.
 

Before Flash 7, I think people wrote their own Delegate classes. Perhaps 
someone can provide sample code. I know that when I worked with Flash 5 
and 6, I didn't know about Delegates at all, so I cursed the scope rules 
daily.

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


Re: [Flashcoders] SEO, flash site, url and text in this movie tags

2006-01-11 Thread Alan MacDougall

Martin Weiser wrote:


Hello,

does these tags really work for search bots?




No way. Google is way too smart these days. White text on a white 
background,  tag text, text in comments, text anywhere a user 
can't read it -- Google ignores it all. Maybe it would work on other 
search spiders, but if you're not convincing Google, what's the point?


The only way to get a good rank in Google is to have a lot of clearly 
visible, highly relevant, informative text, ideally with links to and 
links from reputable and well-traveled sites. Anything else is just a 
scam, and even if it works one month, it'll fail the next time Google 
rearranges their algorithms.


Didn't I hear once that there was some way of letting Google search 
inside Flash files, though? Maybe someone else knows a better way of 
getting your Flash-based site ranked.

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


RE: [Flashcoders] SetInterval Magic

2006-01-11 Thread Dhiraj Girdhar
Hi Guys,

I am using second option of setInterval, but I am not able to 
understand the scope issue here.
Is there any solution other than Delegates? As, I am working for Flash 6 also.

'D'

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alias
Sent: Wednesday, January 11, 2006 6:09 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] SetInterval Magic

Hi guys,

It's important to realise that setInterval has two different ways to call it.

The first, and most commonly used, is this:

setInterval(functionReference:Function, interval:Number,
[param1:Object, param2, ..., paramN]) : Number

The second, which is less well known, but substantially more reliable, is this:

setInterval(objectReference:Object, methodName:String,
interval:Number, [param1:Object, param2, ..., paramN]) : Number



Although the first example will work, the function will execute in the
wrong scope.
The second, however, because it allows you to specify the scope in
which it executes, is far more reliable.

For example, if I'm inside a class, and want to call a public method
of that same class every 1000 ms, I would use:

setInterval(this,"myFunction",1000);

What's important to understand here is the difference between passing
the name of the function, and *the function itself* - which is what's
happening in the first example. There has been a lot of confusion
about this over the past few years, mostly due to ambiguous
documentation. Have a look here for a well written piece of
documentation on the subject:

http://livedocs.macromedia.com/flash/8/main/1766.html

Hope this helps,
Alias


On 1/11/06, Sönke Rohde <[EMAIL PROTECTED]> wrote:
> Hi,
> This is a scope-issue. Try
>
> import mx.utils.Delegate
> ...
> setInterval(Delegate.create(this, func), 2000);
>
> Cheers,
> Sönke
>
> > Hi Coders,
> >
> >   In following code, I am creating a new dynamic movie clip (in
> > function N1 of script object) and associating the handler for unload
> > event. Next I am deleting the same movie clip in function N3 of script
> > object. But if we are calling the function N3 through setInterval
> > function, movieclip unload event is not called.
> >
> > Now if we are calling the same function N3 directly without
> > setInterval,
> > unload event will be called.
> >
> > Someone please tell me what is happening here?
> >
> >
> >
> > script = new Object();
> >
> > Delay = new Object();
> >
> >
> >
> > // Delay Object
> >
> > Delay.delay = function(obj, func)
> >
> > {
> >
> >   this.mObj = obj;
> >
> >   this.mFunc = func;
> >
> >   // Calling function after an interval of 2 seconds.
> >
> >   setInterval(this.func, 2000, this);
> >
> > }
> >
> >
> >
> > Delay.func = function(obj)
> >
> > {
> >
> >   var temp = obj;
> >
> >   // Calling function N3 of class script.
> >
> >   temp.mObj[temp.mFunc]();
> >
> > }
> >
> >
> >
> > // Script Object
> >
> > script.N1 = function()
> >
> > {
> >
> >   // Creating a new movie clip.
> >
> >   _root.createEmptyMovieClip("Dhiraj", 1);
> >
> >
> >
> > // Associating unload event with it.
> >
> >   _root.Dhiraj.onUnload = function()
> >
> >   {
> >
> > trace("Dhiraj Unload");
> >
> >   }
> >
> >
> >
> >   // Storing the movie clip instance in member variable.
> >
> >   this.mMC = _root.Dhiraj;
> >
> >
> >
> >   // Calling next function of script.
> >
> >   this.N2();
> >
> > }
> >
> >
> >
> > script.N2 = function()
> >
> > {
> >
> > // Calling N3 after some delay.
> >
> >   Delay.delay(this, "N3");
> >
> > }
> >
> >
> >
> > script.N3 = function()
> >
> > {
> >
> >   this.mMC.removeMovieClip();
> >
> > }
> >
> >
> >
> > script.N1();  // Calling first function of script.
> >
> >
> >
> > Regards:
> >
> > Dhiraj
> >
> > ___
> > 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] Webservice and complex type class mapping

2006-01-11 Thread Christophe Herreman

Hi all,

does anyone know if it is possible to map an incoming complex type to a 
AS class? With remoting Object.registerClass() does the trick but it 
doesn't seem to work with webservices.


Any clues? Or is it simply not possible and do I have to parse the soap 
messages myself?


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


Re: [Flashcoders] SetInterval Magic

2006-01-11 Thread Alias
Hi guys,

It's important to realise that setInterval has two different ways to call it.

The first, and most commonly used, is this:

setInterval(functionReference:Function, interval:Number,
[param1:Object, param2, ..., paramN]) : Number

The second, which is less well known, but substantially more reliable, is this:

setInterval(objectReference:Object, methodName:String,
interval:Number, [param1:Object, param2, ..., paramN]) : Number



Although the first example will work, the function will execute in the
wrong scope.
The second, however, because it allows you to specify the scope in
which it executes, is far more reliable.

For example, if I'm inside a class, and want to call a public method
of that same class every 1000 ms, I would use:

setInterval(this,"myFunction",1000);

What's important to understand here is the difference between passing
the name of the function, and *the function itself* - which is what's
happening in the first example. There has been a lot of confusion
about this over the past few years, mostly due to ambiguous
documentation. Have a look here for a well written piece of
documentation on the subject:

http://livedocs.macromedia.com/flash/8/main/1766.html

Hope this helps,
Alias


On 1/11/06, Sönke Rohde <[EMAIL PROTECTED]> wrote:
> Hi,
> This is a scope-issue. Try
>
> import mx.utils.Delegate
> ...
> setInterval(Delegate.create(this, func), 2000);
>
> Cheers,
> Sönke
>
> > Hi Coders,
> >
> >   In following code, I am creating a new dynamic movie clip (in
> > function N1 of script object) and associating the handler for unload
> > event. Next I am deleting the same movie clip in function N3 of script
> > object. But if we are calling the function N3 through setInterval
> > function, movieclip unload event is not called.
> >
> > Now if we are calling the same function N3 directly without
> > setInterval,
> > unload event will be called.
> >
> > Someone please tell me what is happening here?
> >
> >
> >
> > script = new Object();
> >
> > Delay = new Object();
> >
> >
> >
> > // Delay Object
> >
> > Delay.delay = function(obj, func)
> >
> > {
> >
> >   this.mObj = obj;
> >
> >   this.mFunc = func;
> >
> >   // Calling function after an interval of 2 seconds.
> >
> >   setInterval(this.func, 2000, this);
> >
> > }
> >
> >
> >
> > Delay.func = function(obj)
> >
> > {
> >
> >   var temp = obj;
> >
> >   // Calling function N3 of class script.
> >
> >   temp.mObj[temp.mFunc]();
> >
> > }
> >
> >
> >
> > // Script Object
> >
> > script.N1 = function()
> >
> > {
> >
> >   // Creating a new movie clip.
> >
> >   _root.createEmptyMovieClip("Dhiraj", 1);
> >
> >
> >
> > // Associating unload event with it.
> >
> >   _root.Dhiraj.onUnload = function()
> >
> >   {
> >
> > trace("Dhiraj Unload");
> >
> >   }
> >
> >
> >
> >   // Storing the movie clip instance in member variable.
> >
> >   this.mMC = _root.Dhiraj;
> >
> >
> >
> >   // Calling next function of script.
> >
> >   this.N2();
> >
> > }
> >
> >
> >
> > script.N2 = function()
> >
> > {
> >
> > // Calling N3 after some delay.
> >
> >   Delay.delay(this, "N3");
> >
> > }
> >
> >
> >
> > script.N3 = function()
> >
> > {
> >
> >   this.mMC.removeMovieClip();
> >
> > }
> >
> >
> >
> > script.N1();  // Calling first function of script.
> >
> >
> >
> > Regards:
> >
> > Dhiraj
> >
> > ___
> > 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] SetInterval Magic

2006-01-11 Thread Sönke Rohde
Hi,
This is a scope-issue. Try

import mx.utils.Delegate
...
setInterval(Delegate.create(this, func), 2000);

Cheers,
Sönke

> Hi Coders,
> 
>   In following code, I am creating a new dynamic movie clip (in
> function N1 of script object) and associating the handler for unload
> event. Next I am deleting the same movie clip in function N3 of script
> object. But if we are calling the function N3 through setInterval
> function, movieclip unload event is not called.
> 
> Now if we are calling the same function N3 directly without 
> setInterval,
> unload event will be called.
> 
> Someone please tell me what is happening here?
> 
>  
> 
> script = new Object();
> 
> Delay = new Object();
> 
>  
> 
> // Delay Object
> 
> Delay.delay = function(obj, func)
> 
> {
> 
>   this.mObj = obj;
> 
>   this.mFunc = func;
> 
>   // Calling function after an interval of 2 seconds.
> 
>   setInterval(this.func, 2000, this);
> 
> }
> 
>  
> 
> Delay.func = function(obj)
> 
> {
> 
>   var temp = obj;
> 
>   // Calling function N3 of class script.
> 
>   temp.mObj[temp.mFunc]();
> 
> }
> 
>  
> 
> // Script Object
> 
> script.N1 = function()
> 
> {
> 
>   // Creating a new movie clip.
> 
>   _root.createEmptyMovieClip("Dhiraj", 1);
> 
>  
> 
> // Associating unload event with it.
> 
>   _root.Dhiraj.onUnload = function()
> 
>   {
> 
> trace("Dhiraj Unload");
> 
>   }
> 
>  
> 
>   // Storing the movie clip instance in member variable.
> 
>   this.mMC = _root.Dhiraj;
> 
>  
> 
>   // Calling next function of script.
> 
>   this.N2();
> 
> }
> 
>  
> 
> script.N2 = function() 
> 
> {
> 
> // Calling N3 after some delay.
> 
>   Delay.delay(this, "N3");
> 
> }
> 
>  
> 
> script.N3 = function()
> 
> {
> 
>   this.mMC.removeMovieClip();
> 
> }
> 
>  
> 
> script.N1();  // Calling first function of script.
> 
>  
> 
> Regards:
> 
> Dhiraj
> 
> ___
> 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] SEO, flash site, url and text in this movie tags

2006-01-11 Thread Martin Weiser

Hello,

does these tags really work for search bots?



even if not generated by flash, because links and texts are mostly dynamic, 
so i suggested to put these links to the tags by some server site, php for 
example.

will it work for indexing?

thanks
Martin


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


SV: [Flashcoders] MM Scrollpane issue/constraint

2006-01-11 Thread Martin Baltzer
Problem solved :) !

/Martin



-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Martin Baltzer
Sendt: 11. januar 2006 08:56
Til: Flashcoders mailing list
Emne: SV: [Flashcoders] MM Scrollpane issue/constraint

Thanks alot that actually works :-)
And I didn't need to change anything in the mx classes.

The only issue is that it scrolls about 20 px to much vertically if the 
browserwindow is to small to begin with and the scrollpane thus starts with 
scrollbars on. But as soon as I do a resize on the browser window myself it 
works fine. Horisontally there are no problems

I have tried to execute my stage listener as soon as the swf content are loaded 
into the scrollpane in hope of that would fix it but and I also placed a dummy 
fill mc of 1024*585 in the content swf but sofar it does not help! It seems 
like it needs a "real" stage resize event before it adjusts properly.

Any ideas?

Cheers
Martin



-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Yehia Shouman
Sendt: 11. januar 2006 02:35
Til: Flashcoders mailing list
Emne: Re: [Flashcoders] MM Scrollpane issue/constraint

Hi Martin

try using

myScrollPane_sp.setScrollProperties(1024,1,585,1);

you might have to make that method public if it was private, check the
ScrollPane.as class in your

c:\documents and settings\[userName]\local settings\application
data\macromedia\flash 8\en\configuration\classes\mx\containers

its conceptual, but I think it could work ! try it
good luck,
Yehia Shouman 


On 1/10/06, Martin Baltzer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using the Scrollpane component in a flash 8 movie and it works
> fine.
> My scrollpane size is set equal to the Stage size everytime its being
> resized.
>
> If stage size gets below 1020*585 I've set it up to show the scrollbars
> because I know for sure that my content requires that minimum size.
>
> My question is:
>
> Event though the visible content area is 1020*585 the content itself may
> be way larger due bigger material that have been masked off etc, and
> then the scrollpane detect that size and scrolls way to much.
>
> When the scrollbars are turned on I only want to scroll up to max
> 1020*585 even if my content is 10 times that size.
>
> Is this possible and if not does anyone knows of another way to handle
> this without spending many days on building a new scrollpane component?
>
> Thanks in advance
>
> /Martin
> ___
> 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] Dowloading Flex 2 alpha

2006-01-11 Thread Nick Weekes
I think its your connection, I get around 300kb/s from Macromedia using 2Mb
dsl here in the uk...maybe use a download manager to recover broken
connections?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rui Duarte
Silva
Sent: 11 January 2006 08:57
To: FlashCoders Mailing List
Subject: [Flashcoders] Dowloading Flex 2 alpha

Hi,

Is there another place from wich I can doenload the Flex Builder 2 alpha,
eclipse plugin and charting components? The macromedia site is
slowww and connection breaks up in the middle of the
download.. Grr

Thanks,

Rui Duarte Silva

Senior Flash Developer / User Experience Developer
MNI - ALERT

www.alert-er.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] Dowloading Flex 2 alpha

2006-01-11 Thread Mark Winterhalder
On 1/11/06, Rui Duarte Silva <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there another place from wich I can doenload the Flex Builder 2 alpha,
> eclipse plugin and charting components?

no.

> The macromedia site is
> slowww and connection breaks up in the middle of the
> download.. Grr

maybe the load is a bit heavy because adobe lightroom public "beta"
has just been released. try something that can resume interrupted
downloads, like wget.

hth,
mark

--
http://snafoo.org/
jabber: [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] SetInterval Magic

2006-01-11 Thread Dhiraj Girdhar
Hi Coders,

  In following code, I am creating a new dynamic movie clip (in
function N1 of script object) and associating the handler for unload
event. Next I am deleting the same movie clip in function N3 of script
object. But if we are calling the function N3 through setInterval
function, movieclip unload event is not called.

Now if we are calling the same function N3 directly without setInterval,
unload event will be called.

Someone please tell me what is happening here?

 

script = new Object();

Delay = new Object();

 

// Delay Object

Delay.delay = function(obj, func)

{

  this.mObj = obj;

  this.mFunc = func;

  // Calling function after an interval of 2 seconds.

  setInterval(this.func, 2000, this);

}

 

Delay.func = function(obj)

{

  var temp = obj;

  // Calling function N3 of class script.

  temp.mObj[temp.mFunc]();

}

 

// Script Object

script.N1 = function()

{

  // Creating a new movie clip.

  _root.createEmptyMovieClip("Dhiraj", 1);

 

// Associating unload event with it.

  _root.Dhiraj.onUnload = function()

  {

trace("Dhiraj Unload");

  }

 

  // Storing the movie clip instance in member variable.

  this.mMC = _root.Dhiraj;

 

  // Calling next function of script.

  this.N2();

}

 

script.N2 = function() 

{

// Calling N3 after some delay.

  Delay.delay(this, "N3");

}

 

script.N3 = function()

{

  this.mMC.removeMovieClip();

}

 

script.N1();  // Calling first function of script.

 

Regards:

Dhiraj

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


[Flashcoders] Dowloading Flex 2 alpha

2006-01-11 Thread Rui Duarte Silva
Hi,

Is there another place from wich I can doenload the Flex Builder 2 alpha,
eclipse plugin and charting components? The macromedia site is
slowww and connection breaks up in the middle of the
download.. Grr

Thanks,

Rui Duarte Silva

Senior Flash Developer / User Experience Developer
MNI - ALERT

www.alert-er.com


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


[Flashcoders] lightweight flash7 color picker?

2006-01-11 Thread Rajat Paharia
Anyone know where I can find one? Hate to reinvent the wheel...

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