Re: [Flashcoders] Invalid gateway URL

2006-08-10 Thread Todd Hivnor


In AS2.0, the Remotinng Connection object has an onStatus method which can be 
overridden. If the server is unreachable, the onStatus method will get called.

See http://sourceforge.net/mailarchive/message.php?msg_id=15173267


David Rorex [EMAIL PROTECTED] wrote: Perhaps when your compent loads, have it 
call a remote method like
ping or test or something, and if that method is not successful,
show an error saying can't connect to gateway

-David R

On 8/8/06, Wade Arnold  wrote:
 I am looking for actually detecting it in the program. I have a couple of
 components that use remoting and people always seem to not place the proper
 remoting URL into the inspectable property. This leaves us with a lot of
 the component doesn't work

 Wade


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold
 Sent: Wednesday, August 02, 2006 2:56 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Invalid gateway URL

 I was wondering if there is a way to capture the error that happens when you
 do not have a proper gateway URL for flash remoting. Flash just traces out
 that it can not open the url. Is there a way to do this or should I try and
 use getURL before I run the remoting service?



 Thanks;

 Wade

 ___
 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



-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
___
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] Loading Flash 6 .swf files into a Flash 7 .swf

2006-07-05 Thread Todd Hivnor

I have a Flash application which loads in external .swf files for drawing 
charts. My main .swf is compiled for the Flash 7 player, while the loaded .swf 
files are compiled for the Flash 6 player. The Flash 6 .swf is not able to 
access variables or functions which are defined in the _global context of the 
Flash 7 .swf file. But if I have two Flash 7 movies, or two  Flash 6 movies, 
things work fine.

Is there some known interaction I should know about? Specifically, shouldn't 
two .swf files compiled for different versions player still share the same 
_global scope?


As an example, I've created flash6.fla and flash7.fla. They have the following 
action script:


---flash7.fla---

_global.callbackFunction = function() { trace(Got Callback); }

loader_mc = _root.createEmptyMovieClip(loader_mc, 3);
loader_mc.loadMovie(flash6.swf);

---flash6.fla---

trace(Loaded Flash6.swf);
trace(_global.callbackFunction:  + _global.callbackFunction);

---

The trace function shows me that _global.callbackFunction is defined if 
flash6.fla is published for Flash 7 players. But if I republish, targeting the 
Flash 6 player, the function is longer defined. It is like they have totally 
separate _global scopes. If I switch from _global to _root, however, things 
work fine. So, I can work around the issue. But it strikes me as real odd that 
the two .swf files don't share the same _global variable space. 

Clues?


-
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] ServiceCapture or Charles?

2006-07-03 Thread Todd Hivnor
Service Capture has a 15 day trial, so I would start with that.

I use Service Capture because it does a great job with Flash Remoting traffic. 
It lets you drill into the nested data, even displaying things correctly if 
there duplicate references to the same object. It tells you the data and data 
types, and is generally pretty usable.

With VERY large Remoting messages it slows way down when trying to display the 
message, and basically locks up. I am usually able to reduce the message size 
to find the bug I'm after. I doubt this would be an issue for many people... I 
have big messages with lots of cross references. 

One watchout: Service Capture acts as an HTTP proxy. On startup and shutdown, 
it configures MSIE's proxy settings. This generally works well. But if Service 
Capture is shutdown prematurely, it will leave MSIE with bad proxy settings. It 
will appear that 'the internet is broken' ;) You need to restart Service 
Capture or reset the proxy settings in MSIE to fix this. This is something to 
keep in mind if using a local proxy server.

Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: I�ve been using Charles 
for some time, and now I can�t live without a HTTP
traffic analiser/debugger. I just discovered ServiceCapture but haven�t had
the time to experiment with it. I�m seriously thinking about buying a
license of one of them, but before, I would love to know your opinions on
what would be the best cost/benefict?

Cheers,

Marcelo.


-
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Good component sets? (was: Re: XP Components gone bad)

2006-06-21 Thread Todd Hivnor
I just posted a similar question, look for the thread with subject line 
Best component set for Flash 8 / MTASC development?

Quickly, tho, I'm feeling the same way: 
 There seems to be a lack of good component 
sets these days.

The XP components look very comprehensive, 
and have good keyboard control. But they don't 
seem to be under active development. 
The lead developer has responded to my initial questions,
but seems to be in a far east timezone so responses
take full day to get. The documenation is detailed, 
but there is so much stuff in the  XP components
that the documenation would have to be massive 
to cover it all. I haven't spent too much time with them,
but haven't been able to get a lot done in the time
I've spent. 

There are a couple of open source projects under
development, but are in either alpha or beta state. 

Ghostwire has poor keyboard control. 

David Rorex [EMAIL PROTECTED] wrote: There seems to be a lack of good 
component sets these days.

Ghostwire: Maybe the best, but done in old-style AS1
mCom: Pretty good, but a couple showstopper bugs, little to no support from
developer. poor documentation.
XP: see previous message
MM v2: bloated, bugs
Flex 2: requires flash 9

What am I missing here? Are there any other full component sets I don't know
about?

-David R


-
Sneak preview the  all-new Yahoo.com. It's not radically different. Just 
radically better. 
___
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] Best component set for Flash 8 / MTASC development?

2006-06-19 Thread Todd Hivnor
I'm trying to locate a good component set for my application. 
I'm sure this topic has been discussed before, but I've 
searched the archives and haven't found what I'm looking for.


My requirements: I don't mind paying for the component set, 
on a per-developer basis. I must come with sourcecode that 
I can compile with  TASC. The component set should cover the 
basics: I need comboboxes, 
radio buttons, scrollbars, numeric steppers, scrollpanes, dialogs, and 
so on. I'd like one complete set of unified components, rather then 
getting a combobox here and a numeric stepper from somewhere else. They 
components *must* respond to keyboard control. For example a combobox 
should respond to up-arrow key when the list is pulled down. They need 
to support tabbing and should have an indicator that shows when they 
have focus. I have a tab controller, the component simply needs to 
accept focus and update itself visually. It needs to handle onKillFocus 
events. I'm targeting Flash Player 7, edit my .fla in Flash 8, and 
compile with MTASC.


I've looked at several components sets:

1) The Macromedia V2 component set isn't working well for me. There are 
a number of undesirable behaviors I can't fix. I won't go into detail 
here, as I'm guessing folks know what I'm talking about.


2) Many people have recommended http://ghostwire.com on this list. The 
components are written in AS1.0, but apparently compile fine under 
MTASC. They don't seem to respond well to keyboard control. For example 
the combobox does respond to up arrow keys. From the FAQ, the 
components do not support tabbing (focus management). So unfortunately 
I don't think I can use these.


3) Folks have had lots of documenation and support problems with mCom 
(http://www.metaliq.com/mCOM/). I don't have time for that. 'nuff said.


4) I've been trying out http://www.xpcomponents.com/. They don't 
have an eval so I coughed up the money to buy them. They seem to 
have great keyboard control and autosizing features. They seem 
to work fine, but it has the feel of an abandoned project. There 
doesn't seem to be much of a user community, and there haven't 
been any updates in awhile. They sent version 3.0 when 3.1 is 
the most current version. Worst of all, I've been unable to 
get the sourcecode, so I can't compile under MTASC. 
Anyway, this might work out, but for now I'm actively looking for 
alternatives.


5) There are a lot of components at http://www.flashcomponents.net/. 
But I haven't found the comprehensive component set that I'm 
looking for. It seems most of the components on the site are 
from 2002-2003.



So  does anyone know of a component set that works well, and meets 
my requirements?


- Todd Hivnor


___
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