Re: [Flashcoders] onPress events from within a Class

2007-07-09 Thread Muzak


>
> "One way is to create a MyButton clip in the library and attach a class
> to it."
>

+1

>
> "Instead of Delegate, use the Proxy class from Person13.com.  It will make
> you happy."
>

-1

;-) 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Seeking Experienced Developer for Connecting Flash to Databases with Java

2007-07-09 Thread Amir T Rocker

Hi ,

depends on what type of middleware you are using ... OPENAMF ? JRUN ?
usually you would ask the flash client to connect to a server - java 
classes in your case  I assume - thru something like OpenAMF

or the macromedia / adobe Implementation Flash Remoting with JRun or similar...
The actual connection to the DB is done thru a java connector - like 
a odbc / jdbc driver for oracle.
the java classes prep the data before pushing them down to the flash 
client. ( async calls )
If I may recommend the SPRING Framework for Java on the Server Side 
... it rocks  :)
I hope it helped a bit ... please feel free to contact me if you have 
any more questions.


[EMAIL PROTECTED]

Good luck and happy clicking

Amir Rocker

Certified Flash Developer
SCJP (i.t.)

Am 10:41 PM 7/6/2007 schrieben Sie:

Hello,

I'm working on a really sweet project and need some help from a fellow
freelaner.  If you are knowledgable in connecting Flash to databases (esp.
Oracle) with Java, please contact me.  Perhaps you can give me some pointers
and or work with me as a consultant.  Thanks for your help.

Kind regards,

Phil
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Opening links in new window from ListBox component

2007-07-09 Thread Dan Sherman and Bea Jackson

Hi all,
I'm trying to get the links I have entered in a ListBox component to 
open in a new window.

(think target="_blank")

I used the following code which seemed to work fine on a Mac, but didn't 
work at all on a PC.


function handler() {
  getURL(dropdown.getSelectedItem().data, "_blank");
}


Thanks in advance, I'm having trouble accessing the archives, so please 
forgive me if this has been answered before.


--dan


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] MC height/width with mask problem

2007-07-09 Thread Johnny Zen

Hi all

Sure this is a easy one but cant find the answer

I have a container MC and within I have a MC and mask MC to contain
contents within.
eg. _root.container_mc
_root.container_mc.contents_mc
_root.container_mc.contentsMask_mc

The problem I have is that if for example the container height is 100px
and the contents_mc height is 200px, the mask works fine but if I
align another movieClip underneath or above the container, there is a
invisible gap of 100px. How can I ignore the contents height?

At the moment i am aligning by saying somthing like this:

containerA._height
containerB._y = containerA._height + 10

I could have fixed the Y properties but I need the containers height
to be dynamic.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MC height/width with mask problem

2007-07-09 Thread Thomas Nordahl

Is there any SWF downloader for mac?



Den 9. jul. 2007 kl. 14.01 skrev Johnny Zen:


Hi all

Sure this is a easy one but cant find the answer

I have a container MC and within I have a MC and mask MC to contain
contents within.
eg. _root.container_mc
_root.container_mc.contents_mc
_root.container_mc.contentsMask_mc

The problem I have is that if for example the container height is  
100px

and the contents_mc height is 200px, the mask works fine but if I
align another movieClip underneath or above the container, there is a
invisible gap of 100px. How can I ignore the contents height?

At the moment i am aligning by saying somthing like this:

containerA._height
containerB._y = containerA._height + 10

I could have fixed the Y properties but I need the containers height
to be dynamic.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MC height/width with mask problem

2007-07-09 Thread Dave Mennenoh

Why not use the height of the mask?

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MC height/width with mask problem

2007-07-09 Thread Johnny Zen

ha! good point!



On 7/9/07, Dave Mennenoh <[EMAIL PROTECTED]> wrote:

Why not use the height of the mask?

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SEO Question

2007-07-09 Thread Gustavo Duenas
Try using the meta  tags in the html with your swf object, do not use  
the div section of the page  to put links there and content, we did  
it and google banned us for like three weeks, now we are in the best  
places of our cathegory in yahoo, msn, and in the first 5 of google.


Regards

Gustavvo
On Jul 7, 2007, at 2:27 PM, Jesse Graupmann wrote:


http://labs.blitzagency.com/?p=171
http://labs.blitzagency.com/?p=51


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Mennenoh
Sent: Saturday, July 07, 2007 10:11 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] SEO Question

We're developing a site in Flash - it's all Flash - one page, and  
I'm now
tasked with doing some SEO work for it. I'm doing the 'standard'  
way of
creating the HTML portion, for the spiders, with a div that is  
overwritten
by SWFObject. Mostly all is well, ad much of my content is database  
driven.

My question is in regards to the fact the Flash is all on one page -
index.php. However, I need multiple pages in the HTML version...  
what's the
best way to do this? Embed the Flash on all pages as well? Not care  
and just


have multiple php/html pages? My feeling is I should have the Flash  
on all
pages too, and just use a url var to bring up the correct content,  
if Flash

is viewable... Just want to be sure the best route here.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






GUSTAVO A. DUENAS
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Paul Steven
I am having trouble calling a script on a server from the Flash IDE (CS3)
using the following code. If I type the url into a browser it returns xml
and this is what I want my flash movie to do. I have tested my code using
the url of an xml file on my server http://www.mediakitchen.co.uk/output.xml
and it works fine.

Can anyone help me identify the problem please?

import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;

var loader:URLLoader;
loader = new URLLoader();

var request:URLRequest = new
URLRequest("https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99
e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&se
ssion=b02f3133503d78090ad19a1a6d4d994f");

loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
function catchIOError(event:IOErrorEvent){
trace("Error caught: "+event.type);
}

try
{
loader.load(request);
}
catch (error:ArgumentError)
{
trace("An ArgumentError has occurred.");
}
catch (error:SecurityError)
{
trace("A SecurityError has occurred.");
}


This is the error I am receiving

Error opening URL
'https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99e5092715ddc
304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f3
133503d78090ad19a1a6d4d994f'
Error caught: ioError


--
 
Paul Steven
 
Mediakitchen Limited
6 Crown Mews
Wellington
Somerset
TA21 9SZ
 
Tel: 01823 668 648
 
www.mediakitchen.co.uk

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Varun Soundararajan

Does this have something to do with security certificate? I can understand
that if you run the code from Flash IDE, you may not have enought security
certificate auth to allow you to get data from the server, in which case, it
will be encrypted..

So I suggest that you try with some other https server (try if you can
launch the same https version of the xml file from your own server ) through
your IDE. If that too fails, i think its safe to assume security certificate
to be the issue.


--
Regards
--Varun S
http://mailvarun.blogspot.com

/* This mail was sent using 100% recycled electrons */
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Dave Burnett


When I put that URL in the browser, I get an untrusted certificate dialog.
Tried it off an http protocol?



From: "Paul Steven" <[EMAIL PROTECTED]>
Reply-To: flashcoders@chattyfig.figleaf.com
To: 
Subject: [Flashcoders] Problem loading xml data from server script
Date: Mon, 9 Jul 2007 15:15:12 +0100

I am having trouble calling a script on a server from the Flash IDE (CS3)
using the following code. If I type the url into a browser it returns xml
and this is what I want my flash movie to do. I have tested my code using
the url of an xml file on my server 
http://www.mediakitchen.co.uk/output.xml

and it works fine.

Can anyone help me identify the problem please?

import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;

var loader:URLLoader;
loader = new URLLoader();

var request:URLRequest = new
URLRequest("https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99
e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&se
ssion=b02f3133503d78090ad19a1a6d4d994f");

loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
function catchIOError(event:IOErrorEvent){
trace("Error caught: "+event.type);
}

try
{
loader.load(request);
}
catch (error:ArgumentError)
{
trace("An ArgumentError has occurred.");
}
catch (error:SecurityError)
{
trace("A SecurityError has occurred.");
}


This is the error I am receiving

Error opening URL
'https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99e5092715ddc
304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f3
133503d78090ad19a1a6d4d994f'
Error caught: ioError


--

Paul Steven

Mediakitchen Limited
6 Crown Mews
Wellington
Somerset
TA21 9SZ

Tel: 01823 668 648

www.mediakitchen.co.uk

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_
Don't get caught with egg on your face. Play Chicktionary!  
http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Paul Steven
Thanks for the replies - this is really proving a bit of a nitemare
especially as I have never really done any server side stuff of this nature
before.

I have asked the client to upload an xml file to the server and the strange
thing is, when I use https in my flash file, I get the following error

Error opening URL 'https://dev01.maps-ict.com/examspec.xml'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
https://dev01.maps-ict.com/examspec.xml
at test_load_xml_fla::MainTimeline/test_load_xml_fla::frame1()

When I just use http, it appears to work.

Both URLs work in the browser

https://dev01.maps-ict.com/examspec.xml

and

http://dev01.maps-ict.com/examspec.xml


Can anyone shed any light on this and suggest what I need to do to solve the
problem.

Many thanks

Paul


--
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Burnett
Sent: 09 July 2007 15:29
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Problem loading xml data from server script


When I put that URL in the browser, I get an untrusted certificate dialog.
Tried it off an http protocol?


>From: "Paul Steven" <[EMAIL PROTECTED]>
>Reply-To: flashcoders@chattyfig.figleaf.com
>To: 
>Subject: [Flashcoders] Problem loading xml data from server script
>Date: Mon, 9 Jul 2007 15:15:12 +0100
>
>I am having trouble calling a script on a server from the Flash IDE (CS3)
>using the following code. If I type the url into a browser it returns xml
>and this is what I want my flash movie to do. I have tested my code using
>the url of an xml file on my server 
>http://www.mediakitchen.co.uk/output.xml
>and it works fine.
>
>Can anyone help me identify the problem please?
>
>import flash.display.*;
>import flash.events.*;
>import flash.net.*;
>import flash.utils.*;
>
>var loader:URLLoader;
>loader = new URLLoader();
>
>var request:URLRequest = new
>URLRequest("https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=9
9
>e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&s
e
>ssion=b02f3133503d78090ad19a1a6d4d994f");
>
>loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
>function catchIOError(event:IOErrorEvent){
> trace("Error caught: "+event.type);
>}
>
>try
>{
> loader.load(request);
>}
>catch (error:ArgumentError)
>{
> trace("An ArgumentError has occurred.");
>}
>catch (error:SecurityError)
>{
> trace("A SecurityError has occurred.");
>}
>
>
>This is the error I am receiving
>
>Error opening URL
>'https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99e5092715dd
c
>304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f
3
>133503d78090ad19a1a6d4d994f'
>Error caught: ioError
>
>---
-
>--
>
>Paul Steven
>
>Mediakitchen Limited
>6 Crown Mews
>Wellington
>Somerset
>TA21 9SZ
>
>Tel: 01823 668 648
>
>www.mediakitchen.co.uk
>
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>Brought to you by Fig Leaf Software
>Premier Authorized Adobe Consulting and Training
>http://www.figleaf.com
>http://training.figleaf.com

_
Don't get caught with egg on your face. Play Chicktionary!  
http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Dave Burnett


http://www.adobe.com/devnet/flash/articles/fplayer_security_03.html


From: "Paul Steven" <[EMAIL PROTECTED]>
Reply-To: flashcoders@chattyfig.figleaf.com
To: 
Subject: RE: [Flashcoders] Problem loading xml data from server script
Date: Mon, 9 Jul 2007 15:51:23 +0100

Thanks for the replies - this is really proving a bit of a nitemare
especially as I have never really done any server side stuff of this nature
before.

I have asked the client to upload an xml file to the server and the strange
thing is, when I use https in my flash file, I get the following error

Error opening URL 'https://dev01.maps-ict.com/examspec.xml'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
https://dev01.maps-ict.com/examspec.xml
at test_load_xml_fla::MainTimeline/test_load_xml_fla::frame1()

When I just use http, it appears to work.

Both URLs work in the browser

https://dev01.maps-ict.com/examspec.xml

and

http://dev01.maps-ict.com/examspec.xml


Can anyone shed any light on this and suggest what I need to do to solve 
the

problem.

Many thanks

Paul


--


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

Sent: 09 July 2007 15:29
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Problem loading xml data from server script


When I put that URL in the browser, I get an untrusted certificate dialog.
Tried it off an http protocol?


>From: "Paul Steven" <[EMAIL PROTECTED]>
>Reply-To: flashcoders@chattyfig.figleaf.com
>To: 
>Subject: [Flashcoders] Problem loading xml data from server script
>Date: Mon, 9 Jul 2007 15:15:12 +0100
>
>I am having trouble calling a script on a server from the Flash IDE (CS3)
>using the following code. If I type the url into a browser it returns xml
>and this is what I want my flash movie to do. I have tested my code using
>the url of an xml file on my server
>http://www.mediakitchen.co.uk/output.xml
>and it works fine.
>
>Can anyone help me identify the problem please?
>
>import flash.display.*;
>import flash.events.*;
>import flash.net.*;
>import flash.utils.*;
>
>var loader:URLLoader;
>loader = new URLLoader();
>
>var request:URLRequest = new
>URLRequest("https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=9
9
>e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&s
e
>ssion=b02f3133503d78090ad19a1a6d4d994f");
>
>loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
>function catchIOError(event:IOErrorEvent){
> trace("Error caught: "+event.type);
>}
>
>try
>{
> loader.load(request);
>}
>catch (error:ArgumentError)
>{
> trace("An ArgumentError has occurred.");
>}
>catch (error:SecurityError)
>{
> trace("A SecurityError has occurred.");
>}
>
>
>This is the error I am receiving
>
>Error opening URL
>'https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99e5092715dd
c
>304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f
3
>133503d78090ad19a1a6d4d994f'
>Error caught: ioError
>
>---
-
>--
>
>Paul Steven
>
>Mediakitchen Limited
>6 Crown Mews
>Wellington
>Somerset
>TA21 9SZ
>
>Tel: 01823 668 648
>
>www.mediakitchen.co.uk
>
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>Brought to you by Fig Leaf Software
>Premier Authorized Adobe Consulting and Training
>http://www.figleaf.com
>http://training.figleaf.com

_
Don't get caught with egg on your face. Play Chicktionary! 
http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=MGAC01


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting

Re: [Flashcoders] writing as for components

2007-07-09 Thread Amir T Rocker

:)
shouldnt the array be called 'letters' :)
var letters = new Array

amir


Am 09:43 PM 7/8/2007 schrieben Sie:

Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello:

I've found a tutorial here:http://www.adobe.com/designcenter/video_workshop/
named writing ActionScript for Components. I have done all it wants me to do
it but i got the following errors:
1120: Access of undefined property letters.  var randomIndex:uint=
Math.floor(Math.random()*letters.length);
1120: Access of undefined property letters   return
letters[randomIndex];

Can anyone tell me what is wrong?

The code:

var letter:Array= ["A","B","C","D","E","F",
  "G","H","I","J","K","L",
  "M","N","O","P","Q","R",
  "S","T","U","V","W",
  "X","Y","Z",];
function getRandomLetter():String {
   var randomIndex:uint=Math.floor(Math.random()*letters.length);
   return letters[randomIndex];
}
import fl.controls.Button;

var i:uint=o;
var j:uint=0;
var posX:uint=o;
var posY:uint=0;
var buttonSize:uint=25;

while(posYhttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Varun Soundararajan

Hi Paul,

On 7/9/07, Paul Steven <[EMAIL PROTECTED]> wrote:


Thanks for the replies - this is really proving a bit of a nitemare
especially as I have never really done any server side stuff of this
nature
before.

I have asked the client to upload an xml file to the server and the
strange
thing is, when I use https in my flash file, I get the following error

Error opening URL 'https://dev01.maps-ict.com/examspec.xml'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
https://dev01.maps-ict.com/examspec.xml
at test_load_xml_fla::MainTimeline/test_load_xml_fla::frame1()



The difference between the protocols HTTP and HTTPS is the security
certificate. If your code works in HTTP, that validates your Actionscript
and hence the functionality of your code.

If the code does not work in HTTPS, there are 2 reasons
1) The security credentials that you provide through the browser(or the
SWF's Flash VM, in this case, is Flash IDE CS3) is wrong. By wrong
credentials I mean, Missing credentials or mismatch of the security cert.

2) you are hitting a flash bug, which requires that the header of the HTTP
request DOES NOT have "no cache" in the header. It should have "cache" as
option in the header. This is a old bug in Flash Player 8 (or 9). I m sure
this bug is not applicable to you (since you are running the code in the
Flash CS3 Editor) rather than on the browser. When you run in browser, the
whole HTTP "header" stuffs comes into picture.


Okay, lets see what you can do to get out of this:
 What is your way to run the Script, I mean, are you going to run it with
the client as a standalone app or you will publish this code in some server
and run from there?

If you are going to publish this SWF in the server:
 launch the HTML which embeds this URL and use relative URL in
your Movie to load the XML in the same server.

If you are going to run as standalone app:
  always use HTTP URL for pulling any data from server, HTTPS
requests does not work without making your standalone application aware of
the location of the security certificate.

  How do you get the security certificate and how do you make your
application use that certificate? I dont know!!



When I just use http, it appears to work.


Both URLs work in the browser

https://dev01.maps-ict.com/examspec.xml

and

http://dev01.maps-ict.com/examspec.xml



Thats right, this is because, your browser is aware of security cert of the
server.




--
Regards
--Varun S
http://mailvarun.blogspot.com

/* This mail was sent using 100% recycled electrons */
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Dave Burnett


With regards these security restrictions, I assume then because I am 
testing

from the Flash IDE, this is treated as referencing an HTTPS URL where the
movie that makes the request is not served over HTTPS?



The cross-domain policy xml does not contain protocol references, so I'm not 
certain if that is the issue. If it works using HTTP, then I wouldn't think 
the domain would be the issue.


But I'm pretty newbie to Flash, so someone else can probably set it 
straight.


_
Need a brain boost? Recharge with a stimulating game. Play now!  
http://club.live.com/home.aspx?icid=club_hotmailtextlink1


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Excel Exponentiation (caret) Notation

2007-07-09 Thread g . wygonik

hey daniel

i think that means that you have three arrays of the B1:B7 Math.pow()
series, with each array being a different value in the curly-bracketed list.

That is:

B1:B7^{1,2,3} becomes

var myArray1 = [ Math.pow(B1,1),...,Math.pow(B7,1)];
var myArray2 = [Math.pow(B1,2),...,Math.pow(B7,2)];
var myArray3 = [Math.pow(B1,3),...,Math.pow(B7,3)];

B1:B7^{5,10} becomes

var myArray1 = [Math.pow(B1,5),...,Math.pow (B7,5)];
var myArray2 = [Math.pow(B1,10),...,Math.pow(B7,10)];

and so on

hth
g.





On 7/1/07, Daniel Cascais <[EMAIL PROTECTED]> wrote:


Hi,

Hi, I've stumbled upon this function call in Excel:
=LINEST(A1:A7,B1:B7^{1,2,3})

And I'm having issues with this last bit:
"B1:B7^{1,2,3}"


Let's say B1:B7 is an array from 1 to 7 considering this Excel notation:
"B1:B7"

It would look like this in ActionScript:

var n1:Number = 1;
var n2:Number = 2;
var n3:Number = 3;
var n4:Number = 4;
var n5:Number = 5;
var n6:Number = 6;
var n7:Number = 7;

var myArray:Array = [n1, n2, n3, n4, n5, n6, n7];


Now, if I change this, considering the following Excel notation:
"B1:B7^2"

It would look like this ActionScript:

var n1:Number = Math.pow(1, 2);
var n2:Number = Math.pow(2, 2);
var n3:Number = Math.pow(3, 2);
var n4:Number = Math.pow(4, 2);
var n5:Number = Math.pow(5, 2);
var n6:Number = Math.pow(6, 2);
var n7:Number = Math.pow(7, 2);

var myArray:Array = [n1, n2, n3, n4, n5, n6, n7];


But what on earth happens to the array with this Excel notation???
"B1:B7^{1,2,3}"

--Daniel



--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Paul Steven
Thanks Dave

With regards these security restrictions, I assume then because I am testing
from the Flash IDE, this is treated as referencing an HTTPS URL where the
movie that makes the request is not served over HTTPS?

To allow me to test calling an HTTPS script from the Flash IDE, will using a
cross domain policy file with a pure wildcard: * (a single asterisk) allow
me to call this script?

The final application I am making will be packaged with Zinc and will be a
standalone executable which I believe does not suffer from the same security
restrictions - can you confirm this is true?

Many thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Burnett
Sent: 09 July 2007 16:06
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Problem loading xml data from server script


http://www.adobe.com/devnet/flash/articles/fplayer_security_03.html

>From: "Paul Steven" <[EMAIL PROTECTED]>
>Reply-To: flashcoders@chattyfig.figleaf.com
>To: 
>Subject: RE: [Flashcoders] Problem loading xml data from server script
>Date: Mon, 9 Jul 2007 15:51:23 +0100
>
>Thanks for the replies - this is really proving a bit of a nitemare
>especially as I have never really done any server side stuff of this nature
>before.
>
>I have asked the client to upload an xml file to the server and the strange
>thing is, when I use https in my flash file, I get the following error
>
>Error opening URL 'https://dev01.maps-ict.com/examspec.xml'
>Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
>https://dev01.maps-ict.com/examspec.xml
>   at test_load_xml_fla::MainTimeline/test_load_xml_fla::frame1()
>
>When I just use http, it appears to work.
>
>Both URLs work in the browser
>
>https://dev01.maps-ict.com/examspec.xml
>
>and
>
>http://dev01.maps-ict.com/examspec.xml
>
>
>Can anyone shed any light on this and suggest what I need to do to solve 
>the
>problem.
>
>Many thanks
>
>Paul
>
>---
-
>--
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
>Burnett
>Sent: 09 July 2007 15:29
>To: flashcoders@chattyfig.figleaf.com
>Subject: RE: [Flashcoders] Problem loading xml data from server script
>
>
>When I put that URL in the browser, I get an untrusted certificate dialog.
>Tried it off an http protocol?
>
>
> >From: "Paul Steven" <[EMAIL PROTECTED]>
> >Reply-To: flashcoders@chattyfig.figleaf.com
> >To: 
> >Subject: [Flashcoders] Problem loading xml data from server script
> >Date: Mon, 9 Jul 2007 15:15:12 +0100
> >
> >I am having trouble calling a script on a server from the Flash IDE (CS3)
> >using the following code. If I type the url into a browser it returns xml
> >and this is what I want my flash movie to do. I have tested my code using
> >the url of an xml file on my server
> >http://www.mediakitchen.co.uk/output.xml
> >and it works fine.
> >
> >Can anyone help me identify the problem please?
> >
> >import flash.display.*;
> >import flash.events.*;
> >import flash.net.*;
> >import flash.utils.*;
> >
> >var loader:URLLoader;
> >loader = new URLLoader();
> >
> >var request:URLRequest = new
>
>URLRequest("https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=9
>9
>
>e5092715ddc304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&s
>e
> >ssion=b02f3133503d78090ad19a1a6d4d994f");
> >
> >loader.addEventListener(IOErrorEvent.IO_ERROR, catchIOError);
> >function catchIOError(event:IOErrorEvent){
> > trace("Error caught: "+event.type);
> >}
> >
> >try
> >{
> > loader.load(request);
> >}
> >catch (error:ArgumentError)
> >{
> > trace("An ArgumentError has occurred.");
> >}
> >catch (error:SecurityError)
> >{
> > trace("A SecurityError has occurred.");
> >}
> >
> >
> >This is the error I am receiving
> >
> >Error opening URL
>
>'https://dev01.maps-ict.com/services/upload/3424323432/dt/?key=99e5092715dd
>c
>
>304e08cc3392deee652b79442ce0d88fba606f97d46f857aa8f8a3801a4799&session=b02f
>3
> >133503d78090ad19a1a6d4d994f'
> >Error caught: ioError
> >
>
>---
>-
> >--
> >
> >Paul Steven
> >
> >Mediakitchen Limited
> >6 Crown Mews
> >Wellington
> >Somerset
> >TA21 9SZ
> >
> >Tel: 01823 668 648
> >
> >www.mediakitchen.co.uk
> >
> >___
> >Flashcoders@chattyfig.figleaf.com
> >To change your subscription options or search the archive:
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >Brought to you by Fig Leaf Software
> >Premier Authorized Adobe Consulting and Training
> >http://www.figleaf.com
> >http://training.figleaf.com
>
>_
>Don't get caught with egg on your face. Play Chicktionary! 
>http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2
>
>___
>Flashcoders@cha

[Flashcoders] AS 2 CellRenderer question

2007-07-09 Thread Russ Ferguson
Hi,
 i have a cell renderer MC loading into a datagrid.
 and im loading images into the movie clip using loadMovie

the problem seems to be that it only loads the first few images then repeats.
im using a for loop to load all the image url's into the cell.

is there some kind of refresh method i cant find? 
all the text is correct in the second column its just the images that are not 
right.

thanks.
 ...russ
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

RE: [Flashcoders] Problem loading xml data from server script

2007-07-09 Thread Paul Steven
Ok I have got to the bottom of the problem - it appears to be because the
client signed the security certificate themselves. When I tested with a link
to an xml file on another server with a https url, it worked fine.

Ah well - at least I can move forward now.

Thanks again for all the help

Paul


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Burnett
Sent: 09 July 2007 16:54
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Problem loading xml data from server script


>With regards these security restrictions, I assume then because I am 
>testing
>from the Flash IDE, this is treated as referencing an HTTPS URL where the
>movie that makes the request is not served over HTTPS?


The cross-domain policy xml does not contain protocol references, so I'm not

certain if that is the issue. If it works using HTTP, then I wouldn't think 
the domain would be the issue.

But I'm pretty newbie to Flash, so someone else can probably set it 
straight.

_
Need a brain boost? Recharge with a stimulating game. Play now!  
http://club.live.com/home.aspx?icid=club_hotmailtextlink1

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] AS3 Tween Class seems to have defects

2007-07-09 Thread asai
Has anybody noticed that with CS3, the Tween class seems to hang up if 
there's several simultaneous Tweens happening at the same time?  I've 
been developing a small picture viewer, which when I try to Tween in ten 
100x100 squares, the thing just stops in mid Tween.  I've seen this with 
other apps I've been developing, I've had to cut back on the Tweens in 
order to get them to finish,  but the weird thing is, is AS2, there was 
never any problem like that.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-09 Thread Enrique Chávez

Hi John.

Well, great news, you know, we are working to offer a API for people who 
want to develop applications in the http://desktoptwo.com "base", 
desktoptwo is full flash and we really need the Webservice Support.


And i dont want use flex. =)

Thanks.


John Dowdell escribió:

Enrique Chávez wrote:
What happened with the webservices classes in AS3/Flash CS3?  i can't 
believe they are gone.


I asked Product Manager Richard Galvan about this earlier this week, 
and I'll ping him today face-to-face to confirm. Here's where I'd 
expect info to appear first, if it isn't already among the technotes 
somewhere:

http://blogs.adobe.com/rgalvan/

I suspect that it's something like not all AS2 routines yet adapted 
for the tighter ECMAScript in AS3, but even if so this info should 
still already be available in a FAQ or other searchable resource.


I'm sorry for the hassle in the meantime, but I've got an action item 
to pursue this and get it publicly resolved. (I'll be on vacation next 
week; if it's not addressed by then please feel free to title a thread 
"JD Flakes Out!" on Flashcoders the week of the 16th to nudge my 
memory, thanks ;-)


jd











--
Enrique Chavez aka Tmeister
http://www.klr20mg.com
http://www.tmeister.net
http://desktoptwo.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Setting Dynamic Text Help

2007-07-09 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Does anyone have resources on how to set a dynamic text box between
scenes. I have defined a dynamic text box on scene 1 which I also want
to have the same value on Scene 2. How can this be done with action script

.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQEVAwUBRpJ9RnnjLHMPlkANAQJreAgAh/VjXq9tUmcalbOQ81nBPdkJT+1wUmAy
I2ggUfLbxWmmxbSlQdTjNeXS6vBxd9dk9SuesrbaalpNQEJ3UJ8p0Bev6viWGd3O
JxNciXhV4MOtoQxnTDwNmdkyMQ0JNTZ6V1FkWbO+Xf4RTXJsMz9fuz6la64nOmQZ
GMTAbez0ishvzl9SwqeYTtc3cCLGjviTHagc47YbnfHx6+2uB32tzcxTc7RSJ3/o
rLHqqGh5Wxx7CfNg2HyV5m/PZGj0+nqXiyb1GMy3qEB0TU5yH+wdQUxNjDsZvKsX
WieyVMtPTwjNyn4SFEmWyo4oe6RzfY+izVXTLVEmg0gR2nERuNEz0Q==
=nh62
-END PGP SIGNATURE-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] AS3 Tween Class seems to have defects

2007-07-09 Thread Patrick Matte|BLITZ
I've noticed that too when I was using frames. Try using seconds instead of 
frames.
Or use Tweener. http://code.google.com/p/tweener/


BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of asai
Sent: Monday, July 09, 2007 8:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS3 Tween Class seems to have defects

Has anybody noticed that with CS3, the Tween class seems to hang up if
there's several simultaneous Tweens happening at the same time?  I've
been developing a small picture viewer, which when I try to Tween in ten
100x100 squares, the thing just stops in mid Tween.  I've seen this with
other apps I've been developing, I've had to cut back on the Tweens in
order to get them to finish,  but the weird thing is, is AS2, there was
never any problem like that.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Setting Dynamic Text Help

2007-07-09 Thread gerry
Try setting the text as a variable string...

--scene 1 --
var sameText:String = "Some text that fills the textField";
textField.text = sameText;

-- scene 2 --
textField.text = sameText;

I'm sure there are other examples you'll get.

-Gerry


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Does anyone have resources on how to set a dynamic text box between
> scenes. I have defined a dynamic text box on scene 1 which I also want
> to have the same value on Scene 2. How can this be done with action script
>
> .
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.4 (MingW32)
> Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQEVAwUBRpJ9RnnjLHMPlkANAQJreAgAh/VjXq9tUmcalbOQ81nBPdkJT+1wUmAy
> I2ggUfLbxWmmxbSlQdTjNeXS6vBxd9dk9SuesrbaalpNQEJ3UJ8p0Bev6viWGd3O
> JxNciXhV4MOtoQxnTDwNmdkyMQ0JNTZ6V1FkWbO+Xf4RTXJsMz9fuz6la64nOmQZ
> GMTAbez0ishvzl9SwqeYTtc3cCLGjviTHagc47YbnfHx6+2uB32tzcxTc7RSJ3/o
> rLHqqGh5Wxx7CfNg2HyV5m/PZGj0+nqXiyb1GMy3qEB0TU5yH+wdQUxNjDsZvKsX
> WieyVMtPTwjNyn4SFEmWyo4oe6RzfY+izVXTLVEmg0gR2nERuNEz0Q==
> =nh62
> -END PGP SIGNATURE-
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SEO Question

2007-07-09 Thread Gustavo Duenas
well Dave, we just did as the information said, we place html content  
in the div instead of the message for the flash plug-in, the content  
was mostly text
with links, like 12 or less, and that was everything we did, so  
then , the next day we've just seen how we were from page one 4 place  
to nowhere in google.
Assuming we did something wrong, try not to abuse of the links in the  
div section of the swf object page.



Regards


gustavo
On Jul 9, 2007, at 1:57 PM, Dave Mennenoh wrote:

do not use the div section of the page  to put links there and  
content, we did  it and google banned us for like three weeks...


Well, you must've done something wrong as that is the accepted way  
to do it. Just using metatags are decidedly not the right way.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






GUSTAVO A. DUENAS
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SEO Question

2007-07-09 Thread Dave Mennenoh
do not use the div section of the page  to put links there and content, we 
did  it and google banned us for like three weeks...


Well, you must've done something wrong as that is the accepted way to do it. 
Just using metatags are decidedly not the right way.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Handle Leaks in Flash, anyone can help?

2007-07-09 Thread Varun Soundararajan

Hi,
can anyone give some hints on how to proceed?

On 7/9/07, Varun Soundararajan <[EMAIL PROTECTED]> wrote:


Hi Flash Champs,

  I need help regarding handle leak issue. I have a Flash
movie that parses XML from the server every 1 minute. The XML file that the
SWF parses in every 1 minute interval is around 100- 200 KB. I m seeing that
IE starts leaking handles (not sure if that is related to XML parsing, but
the XML every one minute can trigger a change in the content of the movie
(ie., what objects should be visible or if a new object needs to be created
etc) ).

   When I profiled IE process, I see a lot of "token" handle leaks
(more than 2000 handles leaks per day) ( My understanding on Token Handles:
It is a handle to a security credential. Usually when IE connects to a
server it tries to send the credentials of the logged in user. These
credentials are seen as tokens in windows.)

   Are there any documented issues regarding this? If I keep IE
open for a few days (2-3 days), Flash will cause IE to either crash, or make
the system unstable.. I have disabled all Toolbars (except Adobe PDF
toolbar)..

I use HTTP to request XML data from Server (I think thats the only
non-remoting way to obtain data from server in Flash). There is JSP Session
ID based authentication to connect to server before running the SWF. Does
that have something to do with this? When I login to the server with
credentials, but dont launch the Flash movie, I dont have Handle Leaks, that
has led me to the conclusion that something in the flash movie could be the
trouble maker. How do I go ahead debugging? Thanks in advance.


Some details about the Flash Movie:
There are several Actionscript Verison 2 components in the movie all
instances of which are created at runtime using actionscript. all of my code
is in Actionscript 2 There is quite some XML parsing. There are not much
animations in the movie (the movie more has to do with parsing the XML and
representing it in the screen). Please feel free to ask more details that
are needed..


Regards
Varun





--
Regards
--Varun S
http://mailvarun.blogspot.com

/* This mail was sent using 100% recycled electrons */
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Re: Handle Leaks in Flash, anyone can help?

2007-07-09 Thread James Booth
Are you using EventDispatcher at all?  If so, are you adding listeners at
each interval?  Make sure they're added and removed properly or they'll get
lost and mount up. It's hard to help without seeing any code.  Can you give
a brief example of the code that runs at each interval?

- James

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Varun
Soundararajan
Sent: Monday, July 09, 2007 2:51 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Re: Handle Leaks in Flash, anyone can help?

Hi,
can anyone give some hints on how to proceed?

On 7/9/07, Varun Soundararajan <[EMAIL PROTECTED]> wrote:
>
> Hi Flash Champs,
>
>   I need help regarding handle leak issue. I have a Flash
> movie that parses XML from the server every 1 minute. The XML file that
the
> SWF parses in every 1 minute interval is around 100- 200 KB. I m seeing
that
> IE starts leaking handles (not sure if that is related to XML parsing, but
> the XML every one minute can trigger a change in the content of the movie
> (ie., what objects should be visible or if a new object needs to be
created
> etc) ).
>
>When I profiled IE process, I see a lot of "token" handle leaks
> (more than 2000 handles leaks per day) ( My understanding on Token
Handles:
> It is a handle to a security credential. Usually when IE connects to a
> server it tries to send the credentials of the logged in user. These
> credentials are seen as tokens in windows.)
>
>Are there any documented issues regarding this? If I keep IE
> open for a few days (2-3 days), Flash will cause IE to either crash, or
make
> the system unstable.. I have disabled all Toolbars (except Adobe PDF
> toolbar)..
>
> I use HTTP to request XML data from Server (I think thats the only
> non-remoting way to obtain data from server in Flash). There is JSP
Session
> ID based authentication to connect to server before running the SWF. Does
> that have something to do with this? When I login to the server with
> credentials, but dont launch the Flash movie, I dont have Handle Leaks,
that
> has led me to the conclusion that something in the flash movie could be
the
> trouble maker. How do I go ahead debugging? Thanks in advance.
>
>
> Some details about the Flash Movie:
> There are several Actionscript Verison 2 components in the movie all
> instances of which are created at runtime using actionscript. all of my
code
> is in Actionscript 2 There is quite some XML parsing. There are not much
> animations in the movie (the movie more has to do with parsing the XML and
> representing it in the screen). Please feel free to ask more details that
> are needed..
>
>
> Regards
> Varun
>



-- 
Regards
--Varun S
http://mailvarun.blogspot.com

/* This mail was sent using 100% recycled electrons */
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3 Tween Class seems to have defects

2007-07-09 Thread asai
For me it happens with seconds as well as frames...but thanks for the 
suggestion.



Patrick Matte|BLITZ wrote:

I've noticed that too when I was using frames. Try using seconds instead of 
frames.
Or use Tweener. http://code.google.com/p/tweener/


BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of asai
Sent: Monday, July 09, 2007 8:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS3 Tween Class seems to have defects

Has anybody noticed that with CS3, the Tween class seems to hang up if
there's several simultaneous Tweens happening at the same time?  I've
been developing a small picture viewer, which when I try to Tween in ten
100x100 squares, the thing just stops in mid Tween.  I've seen this with
other apps I've been developing, I've had to cut back on the Tweens in
order to get them to finish,  but the weird thing is, is AS2, there was
never any problem like that.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] F8 AS2 component in livepreview going invisible

2007-07-09 Thread Mike Lyda
I have a component I've created that will disappear when clicked in
livepreview.  If I click it again it appears and will remain visible even after
clicking on other objects on stage.  I have the standard set of functions in
the component class (based on Joey Lott's tute here
http://www.person13.com/articles/components/creatingcomponents.html) and it
works fine with the exception of having to click it twice instead of once.

I've put traces in all of the functions and see the correct ones getting called
when I click on it the first time (and it goes invisible).  The strange thing
is clicking it the second time yields NO traces at all.. none of my code is
called and yet the component displays.

This is ActionScript 2..  Flash 8 IDE.. 


   

Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SEO Question

2007-07-09 Thread Hans Wichman

i quote:



This is what is called "Cloaking", in Search Engine terms; see Google
Information for Webmasters :

The term "cloaking" is used to describe a website that returns altered
webpages to search engines crawling the site. In other words, the webserver
is programmed to return different content to Google than it returns to
regular users, usually in an attempt to distort search engine rankings. This
can mislead users about what they'll find when they click on a search
result. To preserve the accuracy and quality of our search results, Google
may permanently ban from our index any sites or site authors that engage in
cloaking to distort their search rankings.




On 7/9/07, Gustavo Duenas <[EMAIL PROTECTED]> wrote:


well Dave, we just did as the information said, we place html content
in the div instead of the message for the flash plug-in, the content
was mostly text
with links, like 12 or less, and that was everything we did, so
then , the next day we've just seen how we were from page one 4 place
to nowhere in google.
Assuming we did something wrong, try not to abuse of the links in the
div section of the swf object page.


Regards


gustavo
On Jul 9, 2007, at 1:57 PM, Dave Mennenoh wrote:

>>> do not use the div section of the page  to put links there and
>>> content, we did  it and google banned us for like three weeks...
>
> Well, you must've done something wrong as that is the accepted way
> to do it. Just using metatags are decidedly not the right way.
>
>
> Dave -
> Head Developer
> http://www.blurredistinction.com
> Adobe Community Expert
> http://www.adobe.com/communities/experts/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>




GUSTAVO A. DUENAS
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] as3 scrollPane, add external SWF

2007-07-09 Thread Chmielewski yarek
I want to add some external movies: movie1.swf, movie2.swf to a scrollPanel 
component.

I have done it this way, but I think it can be done easier and cleaner:

sp is an instance of scrollPanel

var numero:int=0;

function drawBox(box:MovieClip,color:uint):void {
 box.graphics.drawRect(0, 0, 1000, 100);
}

var aBox:MovieClip = new MovieClip();
drawBox(aBox, 0xFF);
//draw a white box : this is stupid but allows the scroll bars to appear ! ! !
sp.source = aBox;

function loadComplete(event:Event):void {
 trace("Complete");
}

function add_movieClip(url:String) {
 trace(numero);
 var request:URLRequest = new URLRequest(url);
 var loader:Loader = new Loader();
 loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
 loader.load(request);
 var temp_mc:MovieClip=new MovieClip();
 temp_mc.addChild(loader);
 temp_mc.x=numero*100;
 aBox.addChild(temp_mc);
 sp.refreshPane();
 numero++;
}

add_movieClip("movie1.swf");
add_movieClip("movie2.swf");
add_movieClip("movie3.swf");


THIS WORKS, but I think it is quite dirty !

Now the hardest part:

Once Movies are loaded into the scrollpane, is it possible to make them 
DRAGGABLE outside the scrollpane ?
I want people to drag one of this loaded movies on the WHOLE STAGE, not only 
inside the scrollpane !
Any way to achieve this ?

Thanks




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-09 Thread Kevin Matzdorf

There's a chapter about remoting and webservices in the Actionscript
3.0Cookbook.
http://www.oreilly.com/catalog/actscpt3ckbk/toc.html
it chapter 21.
not sure if there's a solution to your problem, I just
remember looking it over.  Hope this helps.  Pretty good book.

Kevin

On 7/9/07, Enrique Chávez <[EMAIL PROTECTED]> wrote:


Hi John.

Well, great news, you know, we are working to offer a API for people who
want to develop applications in the http://desktoptwo.com "base",
desktoptwo is full flash and we really need the Webservice Support.

And i dont want use flex. =)

Thanks.


John Dowdell escribió:
> Enrique Chávez wrote:
>> What happened with the webservices classes in AS3/Flash CS3?  i can't
>> believe they are gone.
>
> I asked Product Manager Richard Galvan about this earlier this week,
> and I'll ping him today face-to-face to confirm. Here's where I'd
> expect info to appear first, if it isn't already among the technotes
> somewhere:
> http://blogs.adobe.com/rgalvan/
>
> I suspect that it's something like not all AS2 routines yet adapted
> for the tighter ECMAScript in AS3, but even if so this info should
> still already be available in a FAQ or other searchable resource.
>
> I'm sorry for the hassle in the meantime, but I've got an action item
> to pursue this and get it publicly resolved. (I'll be on vacation next
> week; if it's not addressed by then please feel free to title a thread
> "JD Flakes Out!" on Flashcoders the week of the 16th to nudge my
> memory, thanks ;-)
>
> jd
>
>
>
>
>
>
>
>


--
Enrique Chavez aka Tmeister
http://www.klr20mg.com
http://www.tmeister.net
http://desktoptwo.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Skitch invite left

2007-07-09 Thread Peter Hall

Skitch is a drawing app for use under MacOSX (at the moment)


It sounds like an STD


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Error Question AS3

2007-07-09 Thread Charles Parcell

Yeah, I feel dumb. Class scoping is set on the class identifier rather than
the class constructor. I was looking at it the whole time.

Charles P.


On 7/7/07, Helmut Granda <[EMAIL PROTECTED]> wrote:



http://www.google.com/search?hl=en&q=1046%3A+Type+was+not+found+or+was+not+a+compile-time+constant

On 7/6/07, Charles Parcell <[EMAIL PROTECTED]> wrote:
>
> I have no answer for you. But I can say that I too am getting those
> errors,
> but in a completely different application.
>
> I have written a class and am trying to instantiate it from my Main
> document
> class. The code seems to be correct, yet I am getting this error.
>
> I will keep watching this thread in hopes to see something I might have
> over
> looked.
>
> Charles P.
>
>
> On 7/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Flash CS3 Pro
> > Win XP
> > Example from 
> >
> >
> > When trying to use the copy/paste animation from testBox to testCircle
> > using  Edit/Timeline/Copy Motion As ActionScript 3 I'm getting these
> > errors when testing:
> >
> > 1046: Type was not found or was not a compile-time constant:
testCircle.
> > 1046: Type was not found or was not a compile-time constant:
testCircle.
> >
> > Has anyone tried using this?  Does anyone on this list know what this
> > means and what to do about it or somewhere to find out?
> >
> > tia
> > Hermit
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Error Question AS3

2007-07-09 Thread hermit
And my 1046 Error was solved by hitting the "Delete ASO and Test Movie"
command.  It sounds like a generic error (catch all and confuse).


> Yeah, I feel dumb. Class scoping is set on the class identifier rather
> than
> the class constructor. I was looking at it the whole time.
>
> Charles P.

Hermit

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML loading and parsing problem

2007-07-09 Thread Omar Fouad

hey thanks folks!!!

On 7/9/07, Muzak <[EMAIL PROTECTED]> wrote:


Damn, my secret's out :(

- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To: 
Sent: Monday, July 09, 2007 1:36 AM
Subject: RE: [Flashcoders] XML loading and parsing problem


> Muzak, we all know you bought stock in Delegate back in the day - you're
> just protecting your assets. I'm still curious what the Delegate tattoo
> looks like...
>
> ;)


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

+2010 - 2346633 - +2012 - 261
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-09 Thread Muzak
There's no solution in the book.
When it talks about webservices it talks about the Flex WebService API
mx.rpc.soap.WebService

The remoting part says: Use a NetConnection object
And the example is similar to this:
http://www.oscartrelles.com/archives/as3_flash_remoting_example

regards,
Muzak

- Original Message - 
From: "Kevin Matzdorf" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 10, 2007 1:33 AM
Subject: Re: [Flashcoders] WebServices support in AS3/FLCS3


There's a chapter about remoting and webservices in the Actionscript
3.0Cookbook.
http://www.oreilly.com/catalog/actscpt3ckbk/toc.html
it chapter 21.
not sure if there's a solution to your problem, I just
remember looking it over.  Hope this helps.  Pretty good book.

Kevin



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Handle Leaks in Flash, anyone can help?

2007-07-09 Thread Varun Soundararajan

Hi James,
you are right, I use a lot of EventDispatcher in the code. Most of the
components throw events which are listened by other components in the scene.
I have lot of components, more commonly, Tree, Scrollpanes, list box,etc
etc..

in my XML if I command the object to be deleted, it gets deleted.

If it were a movieclip in a scrollpane.
i do :
scrollpane.content.unloadMovie();
scrollpane.content.removeMovieClip();

and then i unload and remove the scrollpane itself.

if say, the XML commands the object to be created, i would also add
eventHandlers for the object I created.. eg:
object.addActionListener("enter",Delegate.create(this,enterActionHandler));

I dont remember adding a removeActionListener method when the object is
deleted (the deletion command is sent through the XML, which makes the VM to
delete the object)..I will do that ASAP and see how that helps..

This is a good lead.. Are there anything else associated with Action
Listeners/Event Dipatchers that I missed out?

One more thing, New listeners are NOT added to the existing object during 1
minute intervals,
I add listeners only when I create a new object, in other words, if the
server through the XML commands the client to create an object.

Is there some profiler that will help know if any event that was dispatched
has not been caught by any component/object?

Thanks
Varun

On 7/10/07, James Booth <[EMAIL PROTECTED]> wrote:


Are you using EventDispatcher at all?  If so, are you adding listeners at
each interval?  Make sure they're added and removed properly or they'll
get
lost and mount up. It's hard to help without seeing any code.  Can you
give
a brief example of the code that runs at each interval?

- James

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Varun
Soundararajan
Sent: Monday, July 09, 2007 2:51 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Re: Handle Leaks in Flash, anyone can help?

Hi,
can anyone give some hints on how to proceed?

On 7/9/07, Varun Soundararajan <[EMAIL PROTECTED]> wrote:
>
> Hi Flash Champs,
>
>   I need help regarding handle leak issue. I have a Flash
> movie that parses XML from the server every 1 minute. The XML file that
the
> SWF parses in every 1 minute interval is around 100- 200 KB. I m seeing
that
> IE starts leaking handles (not sure if that is related to XML parsing,
but
> the XML every one minute can trigger a change in the content of the
movie
> (ie., what objects should be visible or if a new object needs to be
created
> etc) ).
>
>When I profiled IE process, I see a lot of "token" handle
leaks
> (more than 2000 handles leaks per day) ( My understanding on Token
Handles:
> It is a handle to a security credential. Usually when IE connects to a
> server it tries to send the credentials of the logged in user. These
> credentials are seen as tokens in windows.)
>
>Are there any documented issues regarding this? If I keep IE
> open for a few days (2-3 days), Flash will cause IE to either crash, or
make
> the system unstable.. I have disabled all Toolbars (except Adobe PDF
> toolbar)..
>
> I use HTTP to request XML data from Server (I think thats the only
> non-remoting way to obtain data from server in Flash). There is JSP
Session
> ID based authentication to connect to server before running the SWF.
Does
> that have something to do with this? When I login to the server with
> credentials, but dont launch the Flash movie, I dont have Handle Leaks,
that
> has led me to the conclusion that something in the flash movie could be
the
> trouble maker. How do I go ahead debugging? Thanks in advance.
>
>
> Some details about the Flash Movie:
> There are several Actionscript Verison 2 components in the movie all
> instances of which are created at runtime using actionscript. all of my
code
> is in Actionscript 2 There is quite some XML parsing. There are not much
> animations in the movie (the movie more has to do with parsing the XML
and
> representing it in the screen). Please feel free to ask more details
that
> are needed..
>
>
> Regards
> Varun
>



--
Regards
--Varun S
http://mailvarun.blogspot.com

/* This mail was sent using 100% recycled electrons */
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Regards
--Varun S
http://mailvarun.blogspot.com

/* This mail was sent using 10

Re: [Flashcoders] FLVPlayback Component on Limelight

2007-07-09 Thread grimmwerks

Hey Lori - did you figure this out?

I'm now a member of the ex-SMM as well... :P
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML loading and parsing problem

2007-07-09 Thread Steven Sacks

> It's completely wrong to insist that you have to use a delegate in all
> situations.

Delegate is teh bomb dot com.  If u don't use it, ur n00b.

;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com