[flexcoders] Determining Domain In Flex

2007-04-09 Thread John Kirby

I think I know the answer to this ... but hoping there is a better way.

I have an application which connects to various SOAP services *outside* 
my application domain.  No problem, I use a Proxy service from my domain 
to handle it.  However, like most application url's  I can launch 
via using www.myhost.com or myhost.com.  The security sandbox looks at 
these as separate domains when the Flex client tries to connect to the 
Proxy service.   So to get the correct domain from where the application 
was launched (www.myhost.com or myhost.com) I use a Java servlet or PHP 
to actually launch the application.  The server side component passes 
the "correct" domain (based upon the HTTP request) as a parameter to the 
SWF so it knows the "exact" domain name to use when connecting to the proxy.


It seems there should be a better way to do this *without* having to use 
a servlet/PHP on the server side?


Any ideas?

.j
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Flash Video On Mobile Devices

2007-02-24 Thread John Kirby

Maybe someone from Adobe can comment on this...

What are the plans/road map for extending Flash Lite to support 
Streaming Video (e.g., Flash 9 codec)? 


Thanks,

.j


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Flex UG in Denver?

2007-02-01 Thread John Kirby

Anyone know of a Flex Users Group in Denver... or would like to start one?

.j
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Drag-Resize MDI Example

2007-01-29 Thread John Kirby

Yes!... but it looks like the source is not available

Dave Carabetta said the following:


Do you mean something like this?

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=enhanced_flex_mdi_interface 
<http://www.cynergysystems.com/blogs/page/andrewtrice?entry=enhanced_flex_mdi_interface>


Regards,
Dave.
Cynergy Systems, Inc.

On 1/14/07, *John Kirby* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Anyone know of a Flex 2 Drag-Resize MDI/Panel example?

-- 
/Whether you think that you can, or that you can't, you are

usually right./
 - Henry Ford


 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Drag-Resize MDI Example

2007-01-29 Thread John Kirby

Michael -

Any beta to look at now?

Michael Schmalle said the following:


Also,

I have a high octane tab navigator being released commercially in a 
month or two.


http://www.flex2components.com/f2cblog/2007/01/18/flex-2-mdipanefx-not-a-pain/ 
<http://www.flex2components.com/f2cblog/2007/01/18/flex-2-mdipanefx-not-a-pain/>


Peace, Mike

On 1/23/07, *Dave Carabetta* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Do you mean something like this?


http://www.cynergysystems.com/blogs/page/andrewtrice?entry=enhanced_flex_mdi_interface

<http://www.cynergysystems.com/blogs/page/andrewtrice?entry=enhanced_flex_mdi_interface>

Regards,
Dave.
Cynergy Systems, Inc.

    On 1/14/07, *John Kirby* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

Anyone know of a Flex 2 Drag-Resize MDI/Panel example?

-- 
/Whether you think that you can, or that you can't, you are

usually right./
 - Henry Ford





--
Teoti Graphix
http://www.teotigraphix.com <http://www.teotigraphix.com>

Blog - Flex2Components
http://www.flex2components.com <http://www.flex2components.com>

You can find more by solving the problem then by 'asking the question'.
 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Setting Initial NetStream Sound Volume

2007-01-25 Thread John Kirby
I am trying to dynamically set the sound volume when different video is 
played via:


stream = new NetStream(nc);
var st:SoundTransform = stream.soundTransform;
st.volume =( 40) * .01;
_volume = st.volume;


Here is the  volume control
thumbDrag="updateVolume(event)"  minimum="0" maximum="100" 
value="{_volume}"  dataTipPlacement=" right"  tickColor="white"  
allowTrackClick="true"  liveDragging="true"  toolTip="Slide to 
increase/decrease sound"  showTrackHighlight="true" 
borderColor="#FF" width="27"  x="15" y="10"/>


However it always defaults to 100% volume.  What am I doing wrong here?

.j
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Animated Gif Loader

2007-01-19 Thread John Kirby
Doug McCune has just posted an animated gif loader which works like 
SWFLoader.  No more IFrame hacks.



--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Drag-Resize MDI Example

2007-01-14 Thread John Kirby

Anyone know of a Flex 2 Drag-Resize MDI/Panel example?
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Flex/Flash on The iPhone ?

2007-01-09 Thread John Kirby
After seeing the Steve Jobs MacWorld demo 
(http://events.apple.com.edgesuite.net/j47d52oo/event) of the new iPhone 
which runs a Mac OS X (light)... I can't help but think that flex apps 
can't be far behind?  I can't wait to start!


Anyone at Adobe care to comment on a flash/flex mobile version for the 
iPhone.


This is one very cool device/platform!

.j


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Re: Compiling modules

2007-01-08 Thread John Kirby

Thanks for the examples.

Question... if you are passing parameters to a module I assume your url 
syntax is the same as a SWFLoader (myswf.swf?foo=bar) ... but module has 
no parameter property?  How do access passed parameters to a module?


phillips1021 said the following:


See:
http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of-Using-Modules-In-Flex-201 



for a simple example.

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Since flex 2.0.1

2007-01-08 Thread John Kirby

Dave -

Thanks.  I have solved my problems thanks to this link:

<http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=582&threadid=1230484&enterthread=y>

Not sure this is only a Mac issue but I uninstalled then reinstalled 
and everything worked except  I had to change  mx.effects.EffectInstance 
to mx.effects.IEffectInstance.  This was well documented.


The bottom line to Mac users going from Beta to 2.0.1... Uninstall beta 
then reinstall 2.0.1


.j

Dave Carabetta said the following:


John,

This link should give you all the info you need as far as what is 
changed and fixed in the new release:


http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex201_sdk.html 
<http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex201_sdk.html>


Further, and I'm not saying it will definitely fix your problems, but 
you may want to make sure you do a "clean" build just to make sure all 
remnants of the 2.0 build are removed in favor of the 2.0.1 code base. 
That's found under "Project -> Clean..." in Flex Builder.


Regards,
Dave.
Cynergy Systems, Inc.


On 1/8/07, * John Kirby* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


I don't know the cause of these errors but I have my own recompile
errors since moving to 2.0.1 (Mac).

It would be nice if someone from Adobe would post documentation on
what has changed in the API since the last release so we can all
debug our "legacy" applications. 


I for one have an application which is "crippled" since moving to
2.0.1... moving back to 2.0.0 until I can debug what the solution
should be?

.j

maikelsibbald said the following:


I've updated today to flex 2.0.1

And now I suddenly get these errors? doe anybody know what the
problem is.

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at

org.panda.gpn.view.workspace.results::OverView/__admin_sort_xml_collectionChange()
at

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.collections::ListCollectionView/dispatchEvent()
at mx.collections::ListCollectionView/::internalRefresh()
at mx.collections::ListCollectionView/refresh()
at mx.collections::ListCollectionView/initialized()
at
org.panda.gpn.view.workspace.results::OverView/::_XMLListCollection1_i()
at org.panda.gpn.view.workspace.results::OverView$iinit()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.containers::ViewStack/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded
<http://www.adobe.com/2006/flex/mx/internal::childAdded>()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded
<http://www.adobe.com/2006/flex/mx/internal::childAdded>()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at org.panda.gpn.view.workspace::WorkspaceView/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded
<http://www.adobe.com/2006/flex/mx/internal::childAdded>()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded
<http://www.adobe.com/2006/flex/mx/internal::childAdded>()



-- 
/Whether you think that you can, or that you can't, you are

usually right./
 - Henry Ford


 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Since flex 2.0.1

2007-01-08 Thread John Kirby
I don't know the cause of these errors but I have my own recompile 
errors since moving to 2.0.1 (Mac).


It would be nice if someone from Adobe would post documentation on what 
has changed in the API since the last release so we can all debug our 
"legacy" applications. 

I for one have an application which is "crippled" since moving to 
2.0.1... moving back to 2.0.0 until I can debug what the solution should be?


.j

maikelsibbald said the following:


I've updated today to flex 2.0.1

And now I suddenly get these errors? doe anybody know what the problem is.

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at
org.panda.gpn.view.workspace.results::OverView/__admin_sort_xml_collectionChange()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.collections::ListCollectionView/dispatchEvent()
at mx.collections::ListCollectionView/::internalRefresh()
at mx.collections::ListCollectionView/refresh()
at mx.collections::ListCollectionView/initialized()
at
org.panda.gpn.view.workspace.results::OverView/::_XMLListCollection1_i()
at org.panda.gpn.view.workspace.results::OverView$iinit()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.containers::ViewStack/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded 
()

at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded 
()

at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at org.panda.gpn.view.workspace::WorkspaceView/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded 
()

at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded 
()


 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] New signature of IFlexModuleFactory.create() in 2.0.1 ?

2007-01-05 Thread John Kirby


I have a compile error in 2.0.1 Mac but not in Mac Beta :

1144: Interface method create in namespace mx.core:IFlexModuleFactory is 
implemented with an incompatible signature in class 
_weathercharts_mx_managers_SystemManager.   

Has the API been "tweaked" in this area since Beta?  I  do use in my 
code the mx.managers SystemManager which is an implementor of 
IFlexModuleFactory.  Is this a bug?


.j

--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Re: flex 2.0.1 feedback from the trenches

2007-01-05 Thread John Kirby
Not very clear messages in debugging when taking a 2.0 project and 
recompiling with 2.0.1.  I have two types of errors:



1023: Incompatible override.   


This maps to and import statement:

import com.iml.weatherflex.Forecast;

I assume it is catching the "tighter" types passed via a function?  It 
would be nice to tell me what method?



1144: Interface method create in namespace mx.core:IFlexModuleFactory is 
implemented with an incompatible signature in class 
_weathercharts_mx_managers_SystemManager.


This maps to  the style below


.barometerGauge {frameSkin:   
Embed(source="/images/gauges/red-barometric_gauge.png");}
  


Not sure on the relationship between this error and a style definition?

Also it would be nice if the current version (2.0.1) was included in the 
download file names so you now what version your are installing before 
you start?



bsdensmore said the following:


I just upgraded my windows version to 2.0.1. All went well but there
is one very odd issue.

My datagrid has a few columns that have visible="false" but they are
still showing up. And a few of my fields that I have set
editable="false" are allowing me to go into and edit.

Anyone else run into this?

Ben

--- In flexcoders@yahoogroups.com 
, "fuad_kamal" <[EMAIL PROTECTED]> 
wrote:

>
> Today I switched from the Mac beta to the 2.0.1 release version of
> Flex Builder, here's my initial feedback, be glad to see others':
>
> -installed without uninstalling the beta, still worked fine, and my
> flex projects were preserved although in the known issues it said they
> wouldn't
>
> -typing '//' in the code editor doesn't crash FB like it did in the
> Beta. Yay
>
> -Is flash type turned on by default as it is in Flash 8? Otherwise
> how do we implement it?
>
> -The launch application link in the Flex Store example is gone...I
> assume b/c they're still getting it ready, right guys?
>
> -My hibernate started throwing exceptions when I started tomcat,
> particularly that the port was already in use...I already had FB open.
> This was right after the install. I rebooted, started my tomcat
> first, and then FB, and there were no problems. Oops...noticed later
> that FDS has been updated, too. Guess I should replace the WAR files
> in WebApps...
>
> -How do I optimize memory usage for FB on the Mac? There isn't any
> FlexBuilder.ini file on my Macbook Pro!
>
> thanks Flex team for a great product!
>

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders]Eclipse 3.2.1 installed now how to install Flex Builder 2.0.1 plugin

2007-01-05 Thread John Kirby
I see there is an updater for 2.0.1 for Windows.  So where do you get 
the Mac version 2.0.1?   I still just see the trial version (which I 
already have) Also any word on the transferring the windows license to Mac?


.j

Kevin Newman said the following:


I was able to get Flex Builder 2.0 running on Java 6.0 using the -vm 
switch (in a shortcut):
"C:\Program Files\Adobe\Flex Builder 2\FlexBuilder.exe" -vm 
"C:\Program Files\Java\jre1.6.0\bin\javaw.exe"


This disabled the windows xp theme in Flex Builder, so I copied 
javaw.exe.manifest from Flex's jre/bin directory to the jre1.6.0/bin 
directory. That fixed it up nice. :-)


I haven't tried Eclipse standalone, or Flex Builder 2.0.1 yet.

Kevin N.


Sascha wrote:

Also Flex installs it's own JRE in the Flex install dir. No matter if 
you choose the PlugIn version or the full builder. However according 
to Adobe Flex will also run with the JRE 5.0 so you can remove the 
Flex JRE if you like and redirect any path to a installed 5.0 one 
(env vars on Windows etc).


However: I'm using Eclipse 3.2 and the Flex Eclipse PlugIn version 
and JRE 5 and I have to say that Flex 2.0 is not fully compatible 
with Eclipse 3.2+ (or JRE 5??).


For example after working for a while in Eclipse , code hinting and 
 typing support (keyword suggestions etc) stop working, especially 
when having more than one project is opened. When that happens I have 
to close and reopen Eclipse. Has anyone experienced similar problems? 
I do hope that this got fixed in 2.0.1 and they made it more 
compatible with Eclipse 3.2.x!


 


Sascha

 

 

 




*From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On Behalf Of *Shannon Hicks

*Sent:* Saturday, 06 January, 2007 01:51
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders]Eclipse 3.2.1 installed now how to install 
Flex Builder 2.0.1 plugin


 

If you already have Eclipse installed, just install the Eclipse 
Plugin version. It's the same installer, just a different option 
right at the beginning.


Also, 2.0.1 was released very very late last night, but then it turns 
out that it wasn't, exactly. The Mac version seems to be out, but the 
Windows version is missing in action.


Here's my parody of what I think happened:

1/4/2007 @ 11:01 CST
Adobe Employee 1: "Ok, Flex 2.0.1 has been launched! We can all go 
home now!"
Adobe Employee 2: "Great! Let's test the download links, make sure 
they're working."

...
Adobe Employee 2: "The Windows version doesn't seem to be downloading 
properly. It's still the old one."

Adobe Employee 1: "What Windows version?"
Adobe Employee 3: (from across the room) "I thought you were writing 
the Windows version."
Adobe Employee 1: "Since I got my MacBook Pro, I haven't been using 
Windows. Why would I be writing the Windows version?"
Adobe Employee 2: "We *all* got MacBook Pro's. Has anyone been using 
Windows?"


Yes, I'm certain that the entire Flex team was blinded by the 
goodness of Apple's hardware and software that they clean forgot to 
produce 2.0.1 for Windows :)


Shan



dorkie dork from dorktown wrote:

It took me a while to get Eclipse 3.2.1 up and installed the way I 
want it (newbie to eclipse) and I would like to install the Flex 
Builder plugin but I don't want to screw up my existing setup. I'm 
running the installer and it looks like it will over write the Java 
Runtime Environment.


This page has a install guide, "**To install Flex Builder 2 Eclipse 
plug-in**:" but it doesn't mention anything about if you already 
have Eclipse installed.
http://www.adobe.com/support/documentation/en/flex/2/install.html 



so in one word that sums up all my feelings, help!

ps Flex 2.0.1 was released today!!!
http://www.onflex.org/ted/2007/01/1-one-solid-flex-release-201.php 



 





 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Flex 2 for Mac Release Coming Within 7 Days

2007-01-02 Thread John Kirby
I understand your Windows license is transferable to Mac for the 
upcoming commercial release?  Is this still true? (Matt)

.j

Paul Whitelock said the following:


I received the reply copied below regarding the problem that I had 
with the beta for Flex 2 Mac expiring unexpectedly and thought I'd 
pass it on.


Paul

---
Paul Whitelock
Denver, Colorado

Hi,

The commercial version of Flex Builder for the Mac will be available
within the next 7 days, so your problem should be solved shortly.
Sorry for the slight gap. I hope you are enjoying Flex ;-)

Phil Costa
Group Product Manager, Flex

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Programmatic load of SWFLoader Not working

2007-01-02 Thread John Kirby



I have an application with multiple tabs.  Inside one tab (via Canvas) I 
have a SWFLoader to a chart component.


I want to have the option to either load the SWF via clicking on the 
chart tab, or jump to a particular chart (under this tab) via another 
component in another tab (via a button clicked?)


This all works fine if I click on the chart tab FIRST then go back and 
click a button which changes tabs and displays the chart.  I tried 
setting autoload ="false" in the SWFLoader then try  a load via a 
SWFLoader_id.load("mySWF.swf").  The problem is I get a null reference 
on the SWFLoader id.  It has not been initialized.


So the question is how can I initialize/load the SWFLoader (without 
clicking on the tab) on the fly from another tab via a button? 


This is an infrequently used component  so I want to do deferred loads.

.j
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Re: Disable Application Blur in Popup window

2006-12-15 Thread John Kirby
That worked!  Also if you add modalTransparencyBlur = "0" you get an 
unblured background.


Perfect... thank you!

.j

camlinaeizerous said the following:


it works perfectly is you do it on the mxml page of the title window.



--- In flexcoders@yahoogroups.com 
<mailto:flexcoders%40yahoogroups.com>, "Simon Janssens" 
<[EMAIL PROTECTED]> wrote:

>
> Hi John,
>
> I haven't done it personally, but you might have some luck using the
> styleManager.
>
>
mx.styles.StyleManager.getStyleDeclaration("style_name").setStyle("modaltransparencyblur",
> 0);
>
> Cheers,
>
> Simon
>
> On 12/14/06, John Kirby <[EMAIL PROTECTED]> wrote:
> >
> > Doug -
> >
> > Tried this after the PopUp create
> >
> > Application.application.setStyle("modalTransparencyBlur", 0);
> >
> > Still a blur
> >
> > Doug Lowder said the following:
> >
> > There's a style on mx.core.Application called modalTransparencyBlur
> > that seems promising. You might be able to set setStyle() to switch
> > values back and forth.
> >
> > --- In flexcoders@yahoogroups.com 
<mailto:flexcoders%40yahoogroups.com> , John

> > Kirby  wrote:
> > >
> > > I'm sure this is a simple answer... (hopefully). I have some
> > > TitleWindows launched via the PopUpManager. If the modal is set
> > to true
> > > it blurs the Application.
> > >
> > > What I want to do is have the modal functionality of a window
> > without
> > > the blur sometimes?
> > >
> > > Can this be done? How?
> > >
> > > .j
> > > --
> > > /Whether you think that you can, or that you can't, you are
> > usually right./
> > > - Henry Ford
> > >
> >
> >
> > --
> > *Whether you think that you can, or that you can't, you are
usually right.
> > *
> > - Henry Ford
> >
> >
> >
>

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Re: Disable Application Blur in Popup window

2006-12-13 Thread John Kirby

Doug -

Tried this after the PopUp create

Application.application.setStyle("modalTransparencyBlur", 0);

Still a blur

Doug Lowder said the following:


There's a style on mx.core.Application called modalTransparencyBlur
that seems promising. You might be able to set setStyle() to switch
values back and forth.

--- In flexcoders@yahoogroups.com 
<mailto:flexcoders%40yahoogroups.com>, John Kirby <[EMAIL PROTECTED]> wrote:

>
> I'm sure this is a simple answer... (hopefully). I have some
> TitleWindows launched via the PopUpManager. If the modal is set
to true
> it blurs the Application.
>
> What I want to do is have the modal functionality of a window
without
> the blur sometimes?
>
> Can this be done? How?
>
> .j
> --
> /Whether you think that you can, or that you can't, you are
usually right./
> - Henry Ford
>

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Disable Application Blur in Popup window

2006-12-13 Thread John Kirby
I'm sure this is a simple answer... (hopefully).  I have some 
TitleWindows launched via the PopUpManager.  If the modal is set to true 
it blurs the Application.


What I want to do is have the modal functionality of a window without 
the blur sometimes?


Can this be done?  How?

.j
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] FLV Duration

2006-12-04 Thread John Kirby
Via onMetaData you should be able to get duration.  Have you tried 
something like this?


private function playStream():void {
  
 
   stream = new NetStream(nc);
  
   stopTimer();
  
  videoHolder = new UIComponent();

  videoHolder.setActualSize(defaultWidth, defaultHeight);
  video = new Video(defaultWidth, defaultHeight);
 
  video.attachNetStream(stream);
 
  stream.play(streamVideoURL);
 
   stream.addEventListener(NetStatusEvent.NET_STATUS, 
streamStatusHandler);

   var client:Object = new Object();
   client.onMetaData = onMetaData;
 
   stream.client = client
  
   }
  
   public function onMetaData(info:Object):void {

   duration = info.duration;
   fRate = info.framerate;
   totalBytes = info.bytesTotal;
   metaWidth = info.width;
   metaHeight = info.height;
}

john_69_11 said the following:


Is there an easy way to figure out the duration of an FLV thati s
being played? I have been looking at the NetStream object and the
onMetaData event, but it seems like the FLV does not always have the
metadata set. The FLVs I want to play are created my other people, so
there is no way to force them to add the metadata. is there any way
to easily get around this?

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] To Adobe - new release improvements??

2006-11-28 Thread John Kirby
When the  2.01 update comes out... will it be for BOTH Mac and Windows?  
Does anyone know if they are now on the same release train?


leds usop said the following:


Im not from Adobe but thanks to Matt CHotin, I have
been given the oppportunity to play with the
prerelease 2.01 update... They say it's not a major
release but for me, the inclusion of the mx:module
support/framework is one big help... think of the
capability of 'breaking apart' your big apps into
modular ones which the user will only have to download
once on demand - all that while having the framework
take care of most of the communication between the
modules and the shell application or other modules. On
top of that, you can still leverage on using RSL's,
externs, fzip and any other file size/download time
management methods adn tehcniques. And oh yeah, they
have several bugs fixed already.

Again thans Matt.

Id' say but Numberous bugs have been fixed

--- Daniel Wabyick <[EMAIL PROTECTED] 
> wrote:


> Hey Adobe guys,
>
> Is it possible for you to address some of the major
> (or non-major)
> improvements in the coming Flex release?
>
> In particular, I am keen to know if there were
> significant improvements
> made to Flexbuilder itself. Stuff like increased
> compiler performance,
> ease of use with relative paths, etc would be of
> interest to me. A
> close second would be roughly the number of bugs
> fixed in the actually
> Flex UI framework.
>
> As my project continues to grow, I am definitely
> getting antsy for a new
> release!
>
>
> Thanks,
> -Daniel
>

__
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com 

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Re: Custom Tooltips in actionscript - Correction

2006-11-24 Thread John Kirby
Correction here.  Replace in  
wToolTip.setComponentClass(AreaCodeSearchWindow) with 
wToolTip.setComponentObject(AreaCodeSearchWindow);


John Kirby said the following:


Below is how I handle custom components in a tooltip.

weather.WeatherToolTipManager extends ToolTipManager. WeatherToolTip 
Extend ToolTip .  Just create a WeatherToolTip object and use the 
setComponentClass(UiComponent) to store the custom componet. Then pass 
the tooltip to the create custom tooltip to allow you to view your 
component inside a tooltip.




backgroundColor="0xFF" xmlns:mx="http://www.adobe.com/2006/mxml";  
layout="absolute" >








There is a destroy method to close/remove the tooltip.  This could be 
called by a button component inside the tooltip or handled via a 
rollover/out event.



public class WeatherToolTipManager extends ToolTipManager{
   
   public static var toolTipOpen:Boolean = false;

   public static var currentToolTip:IToolTip;
  
 
   public static function createCustomToolTip(x:Number, y:Number,

 wToolTip:ToolTip,
 errorTipBorderStyle:String = 
null,
 context:IUIComponent = 
null):void{


   var sm:ISystemManager = context ?
   context.systemManager :
   Application.application.systemManager;
   
 
   sm.toolTipChildren.addChild(wToolTip);
 
  
   if (errorTipBorderStyle){

  wToolTip.setStyle("borderStyle", errorTipBorderStyle);
   }
  
  
   currentToolTip = wToolTip;

   wToolTip.move(x, y);
   toolTipOpen = true;
   }
  
  


   public static function destroyToolTip(toolTip:IToolTip):void{
   var sm:ISystemManager = toolTip.systemManager;
   sm.toolTipChildren.removeChild(DisplayObject(toolTip));  
   toolTipOpen = false;
   
   }

}

public class WeatherToolTip extends ToolTip {
   private var tipClass:Class;
   private var tipX:int;
   private var tipY:int;
 
   private var classInstance:Object;
  
   public function WeatherToolTip(){

   super();
  // Make the ToolTip invisible to the mouse so that it doesn't
  // interfere with the ToolTipManager's mouse-tracking.
  mouseEnabled = false;
   }
  
   public function getTipComponent():Object{

  return this.classInstance;
   }
 
   public function setComponentClass(tipClass:Class):void{ 
  this.tipClass = tipClass;

   }
  
   public function setComponentObject(objClass:Object):void{ 
  this.classInstance = objClass;

   }
  
   public function setCoordinates(x:int,y:int):void{

this.tipX = x;
this.tipY = y;
   
   }
 
   override protected function createChildren():void {

  super.createChildren();
   
  classInstance.parentTip = this;

  classInstance.x = this.tipX;
  classInstance.y = this.tipY;
  classInstance.addEventListener("closeTip",destroyTip);
  addChild(DisplayObject(classInstance));
}
   
public function destroyTip():void {

WeatherToolTipManager.destroyToolTip(this);
}
}
}




richmcgillicuddy said the following:


John,

Searched through the docs and it doesn't quite answer my question. So
I have a descendant of ITooltip that is a more complex toolTip with
multiple pieces of information on it. I only want this complex tooltip
to show up for certain types of objects, others I want the standard
tooltip to show up. These objects get created and placed dynamically.
I'll check the createToolTip event and see if that will override the
standard event but the examples I saw so far all created this
functionality using MXML which works great. I'd rather use the toolTip
functionality than try to override everything on a rollover, rollout
command.


s via email: Switch delivery to Daily Digest 
<mailto:[EMAIL PROTECTED]:%20Digest> 
| Switch format to Traditional 
<mailto:[EMAIL PROTECTED]:%20Traditional> 

Visit Your Group 
<http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlaWpycXBtBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE2NDMzNDQ5Nw--> 
| Yahoo! Groups Terms of Use <http://docs.yahoo.com/info/terms/> | 
Unsubscribe <mailto:[EMAIL PROTECTED]>

.



--
/Whether you think that you can, or that you can't, you are usually 
right./

 - Henry Ford
 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


Re: [flexcoders] Re: Custom Tooltips in actionscript -With effects

2006-11-24 Thread John Kirby
Some have asked me for the full blown with the sound effects.  This is 
similar to the Jamjar demo



backgroundColor="0xFF" xmlns:mx="http://www.adobe.com/2006/mxml";  
layout="absolute" >




source="@Embed(source='Sounds.swf',symbol='openPodSoundSymb')" />
source="@Embed(source='Sounds.swf',symbol='closePodSoundSymb')" />
heightTo="230"/>












John Kirby said the following:


Below is how I handle custom components in a tooltip.

weather.WeatherToolTipManager extends ToolTipManager. WeatherToolTip 
Extend ToolTip .  Just create a WeatherToolTip object and use the 
setComponentClass(UiComponent) to store the custom componet. Then pass 
the tooltip to the create custom tooltip to allow you to view your 
component inside a tooltip.




backgroundColor="0xFF" xmlns:mx="http://www.adobe.com/2006/mxml";  
layout="absolute" >








There is a destroy method to close/remove the tooltip.  This could be 
called by a button component inside the tooltip or handled via a 
rollover/out event.



public class WeatherToolTipManager extends ToolTipManager{
   
   public static var toolTipOpen:Boolean = false;

   public static var currentToolTip:IToolTip;
  
 
   public static function createCustomToolTip(x:Number, y:Number,

 wToolTip:ToolTip,
 errorTipBorderStyle:String = 
null,
 context:IUIComponent = 
null):void{


   var sm:ISystemManager = context ?
   context.systemManager :
   Application.application.systemManager;
   
 
   sm.toolTipChildren.addChild(wToolTip);
 
  
   if (errorTipBorderStyle){

  wToolTip.setStyle("borderStyle", errorTipBorderStyle);
   }
  
  
   currentToolTip = wToolTip;

   wToolTip.move(x, y);
   toolTipOpen = true;
   }
  
  


   public static function destroyToolTip(toolTip:IToolTip):void{
   var sm:ISystemManager = toolTip.systemManager;
   sm.toolTipChildren.removeChild(DisplayObject(toolTip));  
   toolTipOpen = false;
   
   }

}

public class WeatherToolTip extends ToolTip {
   private var tipClass:Class;
   private var tipX:int;
   private var tipY:int;
 
   private var classInstance:Object;
  
   public function WeatherToolTip(){

   super();
  // Make the ToolTip invisible to the mouse so that it doesn't
  // interfere with the ToolTipManager's mouse-tracking.
  mouseEnabled = false;
   }
  
   public function getTipComponent():Object{

  return this.classInstance;
   }
 
   public function setComponentClass(tipClass:Class):void{ 
  this.tipClass = tipClass;

   }
  
   public function setComponentObject(objClass:Object):void{ 
  this.classInstance = objClass;

   }
  
   public function setCoordinates(x:int,y:int):void{

this.tipX = x;
this.tipY = y;
   
   }
 
   override protected function createChildren():void {

  super.createChildren();
   
  classInstance.parentTip = this;

  classInstance.x = this.tipX;
  classInstance.y = this.tipY;
  classInstance.addEventListener("closeTip",destroyTip);
  addChild(DisplayObject(classInstance));
}
   
public function destroyTip():void {

WeatherToolTipManager.destroyToolTip(this);
}
}
}




richmcgillicuddy said the following:


John,

Searched through the docs and it doesn't quite answer my question. So
I have a descendant of ITooltip that is a more complex toolTip with
multiple pieces of information on it. I only want this complex tooltip
to show up for certain types of objects, others I want the standard
tooltip to show up. These objects get created and placed dynamically.
I'll check the createToolTip event and see if that will override the
standard event but the examples I saw so far all created this
functionality using MXML which works great. I'd rather use the toolTip
functionality than try to override everything on a rollover, rollout
command.


s via email: Switch delivery to Daily Digest 
<mailto:[EMAIL PROTECTED]:%20Digest> 
| Switch format to Traditional 
<mailto:[EMAIL PROTECTED]:%20Traditional> 

Visit Your Group 
<http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlaWpycXBtBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE2NDMzNDQ5Nw--> 
| Yahoo! Groups Terms of Use <http://docs.yahoo.com/info/terms/> | 
Unsubs

Re: [flexcoders] Re: Custom Tooltips in actionscript

2006-11-23 Thread John Kirby

Below is how I handle custom components in a tooltip.

weather.WeatherToolTipManager extends ToolTipManager. WeatherToolTip 
Extend ToolTip .  Just create a WeatherToolTip object and use the 
setComponentClass(UiComponent) to store the custom componet. Then pass 
the tooltip to the create custom tooltip to allow you to view your 
component inside a tooltip.




backgroundColor="0xFF" xmlns:mx="http://www.adobe.com/2006/mxml";  
layout="absolute" >








There is a destroy method to close/remove the tooltip.  This could be 
called by a button component inside the tooltip or handled via a 
rollover/out event.



public class WeatherToolTipManager extends ToolTipManager{
  
  public static var toolTipOpen:Boolean = false;

  public static var currentToolTip:IToolTip;
 

  public static function createCustomToolTip(x:Number, y:Number,

wToolTip:ToolTip,
errorTipBorderStyle:String = null,
context:IUIComponent = null):void{

  var sm:ISystemManager = context ?
  context.systemManager :
  Application.application.systemManager;
  

  sm.toolTipChildren.addChild(wToolTip);

 
  if (errorTipBorderStyle){

 wToolTip.setStyle("borderStyle", errorTipBorderStyle);
  }
 
 
  currentToolTip = wToolTip;

  wToolTip.move(x, y);
  toolTipOpen = true;
  }
 
 


  public static function destroyToolTip(toolTip:IToolTip):void{
  var sm:ISystemManager = toolTip.systemManager;
  sm.toolTipChildren.removeChild(DisplayObject(toolTip));  
  toolTipOpen = false;
  
  }

   }

public class WeatherToolTip extends ToolTip {
  private var tipClass:Class;
  private var tipX:int;
  private var tipY:int;

  private var classInstance:Object;
 
  public function WeatherToolTip(){

  super();
 // Make the ToolTip invisible to the mouse so that it doesn't
 // interfere with the ToolTipManager's mouse-tracking.
 mouseEnabled = false;
  }
 
  public function getTipComponent():Object{

 return this.classInstance;
  }

  public function setComponentClass(tipClass:Class):void{ 
 this.tipClass = tipClass;

  }
 
  public function setComponentObject(objClass:Object):void{ 
 this.classInstance = objClass;

  }
 
  public function setCoordinates(x:int,y:int):void{

   this.tipX = x;
   this.tipY = y;
  
  }


  override protected function createChildren():void {
 super.createChildren();
  
 classInstance.parentTip = this;

 classInstance.x = this.tipX;
 classInstance.y = this.tipY;
 classInstance.addEventListener("closeTip",destroyTip);
 addChild(DisplayObject(classInstance));
   }
  
   public function destroyTip():void {

   WeatherToolTipManager.destroyToolTip(this);
   }
   }
}




richmcgillicuddy said the following:


John,

Searched through the docs and it doesn't quite answer my question. So
I have a descendant of ITooltip that is a more complex toolTip with
multiple pieces of information on it. I only want this complex tooltip
to show up for certain types of objects, others I want the standard
tooltip to show up. These objects get created and placed dynamically.
I'll check the createToolTip event and see if that will override the
standard event but the examples I saw so far all created this
functionality using MXML which works great. I'd rather use the toolTip
functionality than try to override everything on a rollover, rollout
command.


s via email: Switch delivery to Daily Digest 
 
| Switch format to Traditional 
 

Visit Your Group 
 
| Yahoo! Groups Terms of Use  | 
Unsubscribe 

Recent Activity

   *
   56
  New Members
  


Visit Your Group 
 


SPONSORED LINKS

* Software development tool
  


Re: [flexcoders] Custom Tooltips in actionscript

2006-11-23 Thread John Kirby

Rich -

There is a good example in the Flex docs under "Using the ToolTip Manager"

Basically you create an listener on the UIControl which catches the 
toolTipShow event and fires a callback method.  Do what you need to do 
in the call back




myButton.addEventListener("toolTipShow", myCallBack)

private function myCallBack(event:ToolTipEvent):void{

ToolTipManager.currentToolTip.text = "some custom text";

// Do some more custom stuff


}

This will display "some custom text" when you hover over the button.

You can take this even further by using the 
ToolTipManager.createToolTip() to really enhance the tip with fonts, 
styles, etc.


There are examples of this in the Using the ToolTip Manager.

If you want to add components to your tooltip... let me know.  I have 
created some classes which extend toolTip so you can add panels, 
TitleWindows, etc to your tooltip.


.j

richmcgillicuddy said the following:


I've looked at the various ways to create custom tooltips and they
work great if the custom tooltip is defined in the MXML code with a
format similar to:
toolTip=" " toolTipCreate="event.toolTip=this.createTip()"

If I create an UIComponent via Actionscript and want to
use the custom toolTip, how would I do this? How do I associate the
toolTipCreate event in ActionScript?

var myLabel : Label;
myLabel.toolTipCreate = 

Any help would be greatly appreciated.

Rich

 


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford


[flexcoders] Custom Progress Bar

2006-11-05 Thread John Kirby
Title: quote






I want to use the Progress Bar as component in a video player to show
how much of the movie has played.

Can you subclass the Progress Bar to do this?  I was planning on
creating a timer and a listener to update the progress bar.

Has anyone done something like this?

Thanks.
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] JUST SAY NO to creationPolicy="all" !

2006-10-31 Thread John Kirby
Title: quote






Greg -

I was thinking more "in depth" discussion along this like there is in
the Java community.  But I know Flex is young... I'd just like to see
more detail on the hows and whys?  Also it would be nice if  the
ActionScript  profiler
(http://www.adobe.com/devnet/flex/articles/profiler.html) could also
profile your "non-ActionScript" code such as the creationPolicy
impacts.  I don't believe the profiler mentioned here does this?
(please correct if I'm wrong?).

I've been working with Java since day one.  I was blown away when it
came out.  I get the same feeling about Flex... hopefully it will
follow a similar path to make the same impact on web development?

.j



  
  
  
  
I believe what John is referring to is:
  
BOOK:  Building and Deploying Flex 2 Applications 
CHAPTER 6: Improving Startup Performance
  http://livedocs.macromedia.com/flex/2/docs/1424.html
  
This chapter includes sections on:
  About
startup order
  Using
deferred creation
  Creating
deferred components
  
This chapter should be required reading before setting
creationPolicy="All"  :-)
  
Regrettably setting creationPolicy="All" is the switch that turns off
deferred creation.  The only time this makes sense is for small,
odd out applications in Flex.
  
For anything more involved, I found that as I started to use Cairngorm,
the temptation to use creationPolicy="All" went away altogether :-)
  
hth,
  
g
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] JUST SAY NO to creationPolicy="all" !

2006-10-30 Thread John Kirby
Title: quote






Gordon -

Good comments.   Your first statement is correct. My "subSWFs" are
applications composed of Charts/Reports which the user may or may not
use and a Flex--> Flash of Yahoo maps which the user might never use.

So what you are saying makes sense... defer the swf loading via
removing creationPolicy='all'.

There's a book somewhere here on best practices and performance/tuning
to address issues like this.  As a Flex neophite I'm a little concerned
that an enterprise Flex application can quickly get "out of hand" by
being  too "bloated" from a lack of understanding.  Understanding more
of the "inards" of Flex helps with the design.

Hopefully as Flex matures Adobe will start addressing some of the best
practices. 

.j

Gordon Smith said the following:


  
  
  
  
  I'm not
clear on what you're doing. It
sounds like you have two panes in which the only child is a SWFLoader,
and
you're setting creationPolicy="all" in order to get these loaders to
load their subSWFs at startup.
   
  To me that
sounds like a lot of stuff
happening at startup, which wouldn't scale well if you had a lot of
panes doing
this. Assuming these subSWFs are s, they have a
lot of
the same framework code as your main app. So you're downloading a lot
more over
the wire at startup than if everything was in a single main SWF with
deferred
instantiation. And the player is having to create a lot of invisible
DisplayObjects for the panes that haven't been navigated to.
   
  I'm not an
expert on loading
sub-applications into a main application, but I don't think this
generally pays
off unless you delay the loading until the user navigates to the
appropriate
part of the app. The question of whether the creation of the SWFLoader
itself
should be deferred is less important, but I see no reason not to.
   
  When I wrote
"complications" I
was just thinking of relatively minor things like having to build
multiple SWFs
and having to include the "content" property when you "dot
down" to access something in those panes from the main app. We've also
had
a fair number of framework bugs that turn up only when you load an app
into
another app, although I think we've fixed most of those that we're
aware of.
   
  - Gordon 
   
  
  
  
  From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of John Kirby
  Sent: Monday, October
30, 2006
4:18 PM
  To: [EMAIL PROTECTED]ups.com
  Subject: Re:
[flexcoders] JUST SAY
NO to creationPolicy="all" !
  
   
  
  
  
  Can you
give me an example of "complications"?  For example I have
6 tabs in my application.   Two of the tabs load SWF files.  So
in this case a user may never select the tab which loads a swf.  Is
this a
case to say no to creationpolicy=all?
  
Gordon Smith said the following: 
  


Yes, but
that introduces more complications, so I'd tend to go that
route only on a very large app where the user may never navigate to
some
functionality.
 
- Gordon
 



From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of John
Kirby
Sent: Monday,
October 30, 2006
3:05 PM
To: [EMAIL PROTECTED]ups.com
Cc: Matt
Horn
Subject: Re:
[flexcoders] JUST SAY
NO to creationPolicy="all" !

 



Gordon -

Good advice.   I also assume that there are even greater savings
(load time) if one of these controls uses a SWF loader?

Gordon Smith said the following: 

  
  
  
   
  Several
times a week someone complains that they can't seem to set
data into controls on the second, third, etc. pane of a ViewStack,
Accordion,
or TabNavigator because these controls don't get created until the user
navigates to the pane they're on.
   
  Inevitably
there are multiple replies "solving" this
problem by setting creationPolicy="all". Inevitably I reply that
Adobe doesn't recommend doing this because it defeats the entire
purpose of the
deferred instantiation feature, which is to minimize startup time by
not
creating visual components until they need to be seen.
   
  A much
better technique is to use event handlers to get the
appropriate data into the controls after they get created. For example,
you can
use the 'initialize' event on each pane, which won't get dispatched
until after
that pane's controls exist.
   
     

     

     
/>
     

     

     
/>
     

     

   
  Using
databinding is another good technique. The bindings will
occur after the controls get created.
   
 

Re: [flexcoders] JUST SAY NO to creationPolicy="all" !

2006-10-30 Thread John Kirby
Title: quote






Can you give me an example of "complications"?  For example I have 6
tabs in my application.   Two of the tabs load SWF files.  So in this
case a user may never select the tab which loads a swf.  Is this a case
to say no to creationpolicy=all?

Gordon Smith said the following:


  
  
  
  
  Yes, but
that introduces more
complications, so I'd tend to go that route only on a very large app
where the
user may never navigate to some functionality.
   
  - Gordon
   
  
  
  
  From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of John Kirby
  Sent: Monday, October
30, 2006
3:05 PM
  To: [EMAIL PROTECTED]ups.com
  Cc: Matt Horn
  Subject: Re:
[flexcoders] JUST SAY
NO to creationPolicy="all" !
  
   
  
  
  
  Gordon -
  
Good advice.   I also assume that there are even greater savings
(load time) if one of these controls uses a SWF loader?
  
Gordon Smith said the following: 
  



 
Several
times a week someone complains that they can't seem to set
data into controls on the second, third, etc. pane of a ViewStack,
Accordion,
or TabNavigator because these controls don't get created until the user
navigates to the pane they're on.
 
Inevitably
there are multiple replies "solving" this
problem by setting creationPolicy="all". Inevitably I reply that
Adobe doesn't recommend doing this because it defeats the entire
purpose of the
deferred instantiation feature, which is to minimize startup time by
not
creating visual components until they need to be seen.
 
A much
better technique is to use event handlers to get the
appropriate data into the controls after they get created. For example,
you can
use the 'initialize' event on each pane, which won't get dispatched
until after
that pane's controls exist.
 
   

   

   
/>
   

   

   
/>
   

   

 
Using
databinding is another good technique. The bindings will
occur after the controls get created.
 
I've never
seen a case where it is necessary to push data into the
controls before they exist. If you must put the data somewhere in the
meantime,
store it in data vars, which have none of the startup cost of a visual
component, and then move it into the controls after they get created.
 

 
- Gordon,
the Flex framework engineer who designed and implemented
the deferred instantiation feature, so listen to me on this one!
 


  

   

  
  -- 
  Whether
you think that you can, or that you can't, you are usually right.
 - Henry Ford 
  
  
  
  

  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] JUST SAY NO to creationPolicy="all" !

2006-10-30 Thread John Kirby
Title: quote






Gordon -

Good advice.   I also assume that there are even greater savings (load
time) if one of these controls uses a SWF loader?

Gordon Smith said the following:


  
  
  
  
  
   
  Several
times a week someone complains
that they can't seem to set data into controls on the second, third,
etc. pane
of a ViewStack, Accordion, or TabNavigator because these controls don't
get
created until the user navigates to the pane they're on.
   
  Inevitably
there are multiple replies "solving"
this problem by setting creationPolicy="all". Inevitably I reply that
Adobe doesn't recommend doing this because it defeats the entire
purpose of the
deferred instantiation feature, which is to minimize startup time by
not
creating visual components until they need to be seen.
   
  A much
better technique is to use event
handlers to get the appropriate data into the controls after they get
created.
For example, you can use the 'initialize' event on each pane, which
won't get
dispatched until after that pane's controls exist.
   
     

     

     

     

     

     

     

     

   
  Using
databinding is another good technique.
The bindings will occur after the controls get created.
   
  I've never
seen a case where it is
necessary to push data into the controls before they exist. If you must
put the
data somewhere in the meantime, store it in data vars, which have none
of the
startup cost of a visual component, and then move it into the controls
after
they get created.
   
  
   
  - Gordon,
the Flex framework engineer who
designed and implemented the deferred instantiation feature, so listen
to me on
this one!
   
  
 



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Unzip On The Fly With AS3

2006-10-29 Thread John Kirby
Title: quote






I came across this very cool Unzip framework for ActionScript 3

http://codeazur.com.br/lab/fzip

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex/Eclipse Performance Tuning

2006-10-27 Thread John Kirby
Title: quote






I have been playing with the Flexbuilder.ini to get better performance.

I found this article:

http://eclipsezone.com/eclipse/forums/t61618.html

I have a robust environment with plenty of memory (4.5 Mb) and I found
this author's recommendation spot on.  So if you have a similar
environment as mine and want Eclipse/Flex to crank... try playing with
your settings.   

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] CVS in Flex...Fixed

2006-10-27 Thread John Kirby
Title: quote






Well I'm answering my own questions here.  Never used Eclipse before so
I found out you first have to "share" your project by right mouse click
on the project then select ---> Team -->share project.  This will
then bring up a wizard.  Don't know how I missed this step.  Once that
is done all the other options for commits etc appear.

If you don't have a CVS repository I discovered this
(http://freepository.com).   It is free but if you want it integrated
with Eclipse/Flex you'll need the $5/month service (1 GB storage).  You
also need to download  their key and a plugin for cvs-sserver.  For Mac
users you'll need a current version of OpenSSL which was already there
for me :-).  No sure what Windows uses... but it works with windows and
the info is on the site.

Also I found this:

http://andrei.gmxhome.de/skins/links.html

Nice Theme extension for Eclipse/Flex.

.j

John Kirby said the following:


  
  I'm trying to set up my first commits to my CVS repository.  I
have my
CVS view repository enabled and I can see my repository.  According to
the docs you commit by right-mouse click on the resource in the
Navigator.  From here it says go to either Team-->Commit or Team
--> Synchronize with Repository.  I don't see these options  just
Apply Patch... and Local History?  
  
I 'm using the Mac Beta 2.  What am I missing here?
  
Thanks.
  
.j
  
  -- 
  
  Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 
  
  
  



-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] CVS in Flex

2006-10-26 Thread John Kirby
Title: quote






I'm trying to set up my first commits to my CVS repository.  I have my
CVS view repository enabled and I can see my repository.  According to
the docs you commit by right-mouse click on the resource in the
Navigator.  From here it says go to either Team-->Commit or Team
--> Synchronize with Repository.  I don't see these options  just
Apply Patch... and Local History?  

I 'm using the Mac Beta 2.  What am I missing here?

Thanks.

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex 2 Mac Beta Hanging ... Solved

2006-10-26 Thread John Kirby






This was an interesting journey... it was definitely the Flash player. 
The problem of hanging seemed to only affect a Flex app?   It even hung
on the Flex Explorer app. Other non-Flex Flash sites worked fine.  

So to finally make it work I  did another uninstall of the Flash
player.  Then another uninstall/install of Flex with the flash player
that comes with Flex beta.

Then I did a reboot... repaired permissions and life is good now. 
Apparently the key to this was the reboot.  It seems that the previous
uninstalls of the flash player  didn't work until the reboot. 

Of course why the flash player got hosed in the first place I haven't a
clue.  After all that's why they call it Beta?

.j
-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex 2 Mac Beta Hanging In Browsers... Go back to Windows?

2006-10-26 Thread John Kirby
Title: quote






OK... I had this running last night.  Today when I compile my
application then run on either Safari or FireFox 2.0 the application
hangs with the spinning wheel of death.  I'm on 10.4.8

So I did a clean uninstall/install.  Made a hello world simple
app/project of a panel with a button.  Again it totally hangs in any
browser.

So I'm thinking maybe my flash player is bad?  So I reinstall 9.0 r16

I'm compiling with 1.5

java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_06-112
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Apple Computer, Inc.
java.vendor.url="" class="moz-txt-link-freetext" href="http://apple.com/">http://apple.com/
java.vendor.url.bug=http://developer.apple.com/java/
java.version=1.5.0_06

I want to use this on my Mac... I hate to go back to windows.

Some one from Adobe have a clue?

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex 2 Mac Beta Hanging In Browsers... Looks Like The Flash Player

2006-10-26 Thread John Kirby
Title: quote






I copied  my test program to Windows... runs perfectly.  The Windows
version is also Flash 9.0 r16

So some how the flash player on Mac  appears to be causing the
problem.  So I ran the flash uninstaller program then installed the 9.0
r 16 debug version from  the Adobe site.

Dam... still hangs ?

What version of the flash player should we be using with this?


.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex 2 Beta Mac Performance

2006-10-25 Thread John Kirby
Title: quote






Is anyone having sluggish performance...especially while editing?  I
've already crashed?

Configuration: 10.4.8 G5  dual 2.7 with 4.5 mb memory.

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Re: Flex for mac public beta install error

2006-10-25 Thread John Kirby
Title: quote






No on the install.  If you look at a typical mac install ... like a
package install... if the installing application needs write
permissions to the Application folder you get prompted with a dialog
box to enter user/password.  On the install program it tells you don't
have permission.  IMHO this shouldn't happen...

.j

jrunrandy said the following:


  
  It may not be the same thing, but...
  
Are you getting this error as part of the Flex Builder install or the 
Flash Player Plugin install? When I installed, the Flex Builder install
  
works fine, but I get an Access Error at the very end of the Flash 
Player Plugin install. Flex Builder and the Player seem to work fine, 
though.
  
HTH
Randy Nielsen
Flex Documentation Manager
  
--- In [EMAIL PROTECTED]ups.com,
John Kirby <[EMAIL PROTECTED]> wrote:
>
> Anyone else getting the error that the installer can't install in
the 
> Application folder because of permissions? The installer should 
prompt 
> you for user/password (like a regular install)?
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Flex for mac public beta is out!

2006-10-25 Thread John Kirby
Title: quote






Thank God!   Now I can develop on my Mac.

Ditto on the license transfer... I hope so :-)

.j

Stefan Ernst said the following:


  
  Awesome!
  
Now it'd be interesting to know if I'm going to be able to use my 
Windows license for the mac version later. :p
  
Cheers,
Stefan.
  
> Flexbuilder for the mac beta is out!!!
>
> http://labs.adobe.com/technologies/flexbuilder2/
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex for mac public beta install error

2006-10-25 Thread John Kirby
Title: quote






Anyone else getting the error that the installer can't install in the
Application folder because of permissions?  The installer should prompt
you for user/password (like a regular install)?

.j

Stefan Ernst said the following:


  
  Awesome!
  
Now it'd be interesting to know if I'm going to be able to use my 
Windows license for the mac version later. :p
  
Cheers,
Stefan.
  
> Flexbuilder for the mac beta is out!!!
>
> http://labs.adobe.com/technologies/flexbuilder2/
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Flex Deployment Best Practices

2006-10-24 Thread John Kirby
own code, but if the flex
framework's
dependecies are such that for anything meaningful you need to load
300-400k of
library then none of my modularization makes much difference because my
code is
small relative to the size of the library. While he acknowledges the
problem, I
can't find where Roger discusses much about whether all of the flex
framework
really needs to be dragged in the way it is now, and if his new stuff
helps to
fix this. 

Regards
Hank

On 10/23/06, David
Mendels <[EMAIL PROTECTED]com>
wrote:

Hello,
 
Roger's blog
might be helpful: 
http://blogs.adobe.com/rgonzalez/flex/
 
    -David
 


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of John
Kirby
Sent: Monday,
October 23, 2006
7:58 AM
To: [EMAIL PROTECTED]ups.com
Subject:
[flexcoders] Flex
Deployment Best Practices

I'm about to deploy my first Flex application.

I have tried to modularize my components as much as
possible.

What I'm looking for is some best practices on when/why
you
create RSLs, SWFs, etc to "break up" your application so it runs
efficiently.  I know there are some trade-offs here... just looking for
some reference guidelines for the "ilities" ( scalability,
maintainability,
etc.).

Thanks.

.j

-- 
Whether
you think that you can, or that you can't, you are usually right.
 - Henry Ford 




 








  
  
  
  
  
  
  
  






-- 
::| Carlos Rovira
::| 
http://www.carlosrovira.com
::| http://www.madeinflex.com

  
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Flex Deployment Best Practices

2006-10-23 Thread John Kirby
Title: quote






I'm about to deploy my first Flex application.

I have tried to modularize my components as much as possible.

What I'm looking for is some best practices on when/why you create
RSLs, SWFs, etc to "break up" your application so it runs efficiently. 
I know there are some trade-offs here... just looking for some
reference guidelines for the "ilities" ( scalability, maintainability,
etc.).

Thanks.

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Security Sandbox and SWF Loader

2006-10-23 Thread John Kirby
Title: quote






The crossdomain.xml file needs to be on the server providing the rss
feed.

I have have a similar application.  What I did is have the flex app
fetch the rss feed and using local connection pass the data to the
yahoo map  ( I do some data manipulation).  

I use a proxy  (http://www.troywolf.com/articles) to get around the
cross domain security issue.  Or you could have the SWF file access the
the rss feed directly via the proxy?


.j

mindmillmedia said the following:


  
  I am working on a Yahoo Maps app in Flex 2. Because the Yahoo Maps
API doesn't yet fully support Flex 2 - I am making the map (and its
API calls) in Flash 8. This Flash file also pulls data from an RSS
feed (to make markers on the map). There are no security errors when
I run the SWF.
  
However, when I load the SWF into the Flex app, I get security sandbox
errors all over the place (for the Map and for the RSS feed - two
different domains).
  
I have the following set in the Flex application:
  
Security.allowDomain("domain1.com");
Security.allowDomain("domain2.com");
_context = new LoaderContext (true, ApplicationDomain.currentDomain,
SecurityDomain.currentDomain);
yahooMap.loaderContext = _context;
  
I have the following set in the Flash SWF:
  
System.security.allowDomain("domain1.com");
System.security.allowDomain("domain2.com");
  
I have the following Cross Domain Policy File:
  
?>

policy>
from domain="*" />
policy>
  
What am I missing?
  
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Re: Set Focus on TextInput

2006-10-18 Thread John Kirby
Title: quote






Figured it out.

You need to set focus to the TextInput  reference at the container
level via creationComplete.



boy_trike said the following:


  
  This does NOT seem to work for a popup. Is there another trick to
setFocus on a text field in 
a popup?
  
Thanks
Bruce
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Set Focus on TextInput

2006-10-17 Thread John Kirby
Title: quote






Claus -

Thanks!

Claus Wahlers said the following:


  
  
> I'm having a brain f*rt. In 1.5 you could do a 
> Selection.setFous() from a show attribute
for the 
> container where the TextInput component resided. This would place
the 
> cursor inside the TextInput field
> 
> How is this done in Flex 2.0?
  
8"?>
http://www.adobe.com/2006/mxml">





  
Cheers,
Claus.
  
-- 
claus wahlers
côdeazur brasil
  http://codeazur.com.br
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Set Focus on TextInput

2006-10-17 Thread John Kirby
Title: quote






I'm having a brain f*rt.  In 1.5 you could do a
Selection.setFous() from a show attribute for the
container where the TextInput component resided.  This would place the
cursor inside the TextInput field

How is this done in Flex 2.0?


Thanks.

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Mouse Events in Flash with Yahoo Maps

2006-10-08 Thread John Kirby
Title: quote






I have created a SWF (flash 8) for a Yahoo map where so far when you
double click on the map it sets a marker and records the lat/long and
can pass that info to my flex app via local connection.

This double click trapping is done through a myMap.
which uses some getTimer() to calculate the times between clicks.

However trapping this event disables the ability for the other mouse
events... i.e., the ability to single click on the NavWidget or drag
the map.

I'm assuming I need to dispatch some events in my onPress function to
allow "normal functions" of the mouse in the event of a non-double
click event.

Not sure how this would work?

Any tips appreciated :-)

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Reverse Geocoding

2006-10-06 Thread John Kirby
Title: quote






And I found another free one :-)




Igor Costa said the following:


  
  John good link I've added here to favorites.
  
  
Really good to point this one, and really sure that it's good for GPS
locations. maps for flash lite for example.
  
  
thanks man
  
  
  On 10/3/06, John Kirby <[EMAIL PROTECTED]net>
wrote:
  




I did find this for free:

http://geocoder.ca

It returns back an xml document.  I was hoping since Yahoo/Google
derived lat/long from address they could provide reverse geocoding?  I
was hoping for a more "integrated" solution?

Rich Tretola said the following:


  
  I found one for $5,but the link in on my machine at the
office.  I
will send it tomorrow.
  
Rich
  
  
  
  
  On 10/3/06, Shannon Hicks <
[EMAIL PROTECTED]com> wrote:
  

I don't know if Yahoo or Google do it, but I
know that the
lat/long information is usually tied to city/state/zip through zip code
database subscriptions. I never did find anyone giving it away for
free, but that were more than reasonable.
 
Shan


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of John Kirby
Sent: Tuesday, October 03, 2006 2:54 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Reverse Geocoding




Does anyone know how in either Yahoo or Google maps to have
the
lat/long and then do a reverse Geocode to get a city, state, zip?

Thanks

-- 
Whether you think that you can, or
that
you can't, you are usually right.
 - Henry Ford 




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006
 

  
  
  
  
-- 
Rich Tretola

  http://www.EverythingFlex.com
  


-- 
Whether you think that you can, or that
you
can't, you are usually right.
 - Henry Ford 







  
  
  
  
  
-- 

Igor Costa
  www.igorcosta.com
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Reverse Geocoding

2006-10-03 Thread John Kirby
Title: quote






I did find this for free:

http://geocoder.ca

It returns back an xml document.  I was hoping since Yahoo/Google
derived lat/long from address they could provide reverse geocoding?  I
was hoping for a more "integrated" solution?

Rich Tretola said the following:


  
  I found one for $5,but the link in on my machine at the office.  I
will send it tomorrow.
  
Rich
  
  
  
  
  On 10/3/06, Shannon Hicks <
[EMAIL PROTECTED]com> wrote:
  

I don't know if Yahoo or Google do it, but I know that the
lat/long information is usually tied to city/state/zip through zip code
database subscriptions. I never did find anyone giving it away for
free, but that were more than reasonable.
 
Shan


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
    On Behalf Of John Kirby
Sent: Tuesday, October 03, 2006 2:54 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Reverse Geocoding




Does anyone know how in either Yahoo or Google maps to have the
lat/long and then do a reverse Geocode to get a city, state, zip?

Thanks

-- 
Whether you think that you can, or that
you can't, you are usually right.
 - Henry Ford 




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006
 

  
  
  
  
-- 
Rich Tretola

  http://www.EverythingFlex.com
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Reverse Geocoding

2006-10-03 Thread John Kirby
Title: quote






Does anyone know how in either Yahoo or Google maps to have the
lat/long and then do a reverse Geocode to get a city, state, zip?

Thanks
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Re: loading animated gifs at runtime

2006-10-03 Thread John Kirby
Title: quote






There is a hack for this:



By creating an IFRAME you can load an animated gif.  I did it here:

  Click on
Radar.

This is still under construction but check out dieitte's blog... he has
some source to amke it happen

.j

Andrew Bourne said the following:


  
  Thanks, though not the answer I was hoping for I can work around
it in
this instance. 
  
Cheers, 
Andrew
  
  
passive_thoughts wrote:
  
  
I took the official Adobe Flex class back in August and the instructor
told us that animated gifs were not supported.

V

--- In [EMAIL PROTECTED]ups.com, Andrew Bourne <[EMAIL PROTECTED]> wrote:
  

  Is it possible to load and display animated gifs at runtime?

I have been unsuccessful in using the Loader, SWFLoader or Image 
components to display these. Livedocs nor other sites make any mention 
of whether this is possible. Any help would be much appreciated.

Cheers,
Andrew









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:flexcoders-[EMAIL PROTECTED]ps.com 
mailto:flexcoders-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscr[EMAIL PROTECTED]com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






  
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Problem with IFrame

2006-10-01 Thread John Kirby
Title: quote






I tried using Brian's example in a TabNavigator except the html appears
at the bottom of the page instead og inside the tab containing the
IFrame.

Paul Andrews said the following:


  
  - Original Message - 
From: "Ali Mills" <[EMAIL PROTECTED]com>
To: <[EMAIL PROTECTED]ups.com>
Sent: Wednesday, September 27, 2006 9:14 PM
Subject: Re: [flexcoders] Problem with IFrame
  
> Tim,
>
> IFrame isn't an MXML element. It's HTML. So, the "type not found
> error" MXMLC is throwing makes sense.
  
Actually it's both an HTML element and a custom mxml component (a
subclass 
of canvas)..
  
Paul
  
>The Coenraets example you using
> as a guide works by using _javascript_ to overlay an IFrame in HTML
over
> the SWF's OBJECT/EMBED location in HTML. The example's been updated
> by Brian Deitte for Flex 2, and the updated version can be found at
> http://www.deitte.com/archives/2006/08/finally_updated.htm.
>
> This is a tricky feature to get just right. Good luck with it!
>
>
> Ali
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
> 
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] adding effects in action script

2006-09-25 Thread John Kirby
Title: quote






I think this should work?

var imageFade:mx.effects.EffectsInstance;
imageFade = fadeIn.createInstance(imgNewImage);
imageFade.play();

David Harris said the following:


  
  Hi
  
I am creating an Image in Script and then adding it to a tile.
I have added an event listner to the "complete" event of the image
that switches visible to "true"
  
I would like to add a showEffect to the image, but can't see how to do
it...
  
Here is a snippet of code:
=
var imgNewImage:Image = new mx.controls.Image();
  
imgNewImage.addEventListener("complete",imageCompleteHandler);
  
imgNewImage.source = "[Source URL of Image]";
  
imgNewImage.height = 75;
imgNewImage.width = 75;
  
imgNewImage.visible = false;
  
//add it to the tile
imageDisplayTile.addChild(imgNewImage);
=
I looked in the docs and see that an image has a showEffect value,
which you call in the tag like this:
 />
and you declare the effect like this (as per docs example):
/>
  
How do I assign my "fadeIn" fade effect to my imgNewImage in script?
imgNewImage.showEffect doesn't work.
  
Any ideas anyone?
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] TitleWindow Close Button

2006-09-25 Thread John Kirby
Title: quote






I am try do trap an event when the mouse is over the close button (x)
on a TitleWindow.

Anyone know how to reference this object?

Thanks
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Re: private constructors in flex

2006-09-22 Thread John Kirby
Title: quote






But if your goal is to create a Singleton pattern...check this out:



Gordon Smith said the following:


  
  
  
  
  I'm afraid
that AS3 doesn't allow a
constructor to be private.
   
  - Gordon
   
  
  
  
  From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of pauland2513
  Sent: Friday,
September 22, 2006
4:29 PM
  To: [EMAIL PROTECTED]ups.com
  Subject: [flexcoders]
Re: private
constructors in flex
  
   
  
  
  
  --- In [EMAIL PROTECTED]ups.com,
"zenwarden" <[EMAIL PROTECTED]> wrote:
>
> Sometimes in Java I declare a constructor private ( I think this is
> called the nullington pattern). Ex: utility classes that have all
> static methods or constants.
> 
> 
> 
> Can and should the same thing be done in flex?
> 
> Chris
  
Yes, it's an OO design pattern not a Java specific one. I haven't
heard of the nullington pattern, but private constructors are used for
the Singleton pattern.
  
Paul
  
  
  

  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Re: ToolTip Timers

2006-09-19 Thread John Kirby
Title: quote






Tim -

I have it working now with custom components and effects (just like
JamJar).  I have it setup now where I can create as many custom
tooltips as I want.  It also uses the various errorTipBorderStyles.

This what I did:

1.) I created  my own ToolTip class which extends UIComponent and
implements IToolTips.  It has a constructor and empty get/set text
methods.

2.) I create my custom component classes which always extend my custom
ToolTip class.  I overrride several methods the two most important are 
createChildren() and updateDisplayList().  In these methods  I build my
components (createChildren) and handle the various styles including the
nice  errorTipBorderStyles.

I also have various eventListeners to handle mouse clicks to call 
destroyToolTip method.

3.)  I have a custom tooltip manager which extends ToolTipManager.  In
this class I have a createCustomToolTip and a destroyToolTip.

The createCustomToolTip is like the createToolTip signature except
instead of passing text, I just pass the class reference (in its place)
described in step 1.  The problem with createToolTip is it uses ToolTip
class in the addChild() call.  So there was no way to override it. 
This way any component class which extends my extended ToolTip class
will work.

4.) For effects I just do a createInstance passing the ToolTip returned
from the createCustomToolTip.

I'm not sure I made this more difficult that it should have been but it
is flexible and it works??

Thanks.

.j

Tim Hoff said the following:


  
  Hi John,
  
Sam's suggestion to use the ToolTipManager's createToolTip and 
destroyToolTip methods would allow you to use your custom ToolTip 
component. But, since you would manually have to position and 
destroy the component anyway, have you considered using a popup 
instead?
  
-TH
  
--- In [EMAIL PROTECTED]ups.com,
John Kirby <[EMAIL PROTECTED]> wrote:
>
> Sam -
> 
> Thanks... I've looked at that. The problem is I'm creating custom 
> components in my tooltip. So I was trapping the create event to 
use my 
> own custom tooltip which implements IToolTip. This worked fine.
> 
> Where I got stuck was on how to intercept the hide event. Nothing 
I 
> tried seem to work which would allow the tooltip to continue 
showing 
> once the mouse was moved off the target. I was trying to recreate 
the 
> tooltips used in Adobe's JamJar application.
> 
> So now my approach is to create my own class which extends 
> ToolTipManager. I want added another method (createCustomToolTip)
  
where 
> I pass the custom tooltip class and try to override some methods 
so I 
> can control when to call destroytooltip?
> 
> Not sure this is the best approach?
> 
> .j
> 
> Samuel Reuben said the following:
> > Hi J,
> > 
> > You could look into the documentation for ToolTipManager and
use 
the 
> > methods (createToolTip and destroyToolTip) that are listed
there 
to 
> > achieve what you are trying to do.
> > 
> > Hope this helps,
> > -sam
> >
> > 
> > On 9/16/06, *josiah_kirby* <[EMAIL PROTECTED] 
> > <mailto:jjkirby@...>> wrote:
> >
> > I'm building a custom tooltip (implements IToolTip) which 
will have
> > components in it. Once the tooltip is shown I want to keep 
it shown
> > until I trigger an event to hide it.
> >
> > I have created a listener on the component for the 
tooltipHide to
> > keep
> > it from hiding with no luck.
> >
> > Anyone know how keep a tooltip open until you want to 
close/hide it?
> >
> > Thanks.
> >
> > .j
> >
> >
> > 
> 
> -- 
> /Whether you think that you can, or that you can't, you are 
usually right./
> - Henry Ford
>
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] ToolTip Timers

2006-09-18 Thread John Kirby
Title: quote






Sam -

Thanks... I've looked at that.  The problem is I'm creating custom
components in my tooltip.  So I was trapping the create event to use my
own custom tooltip which implements IToolTip.  This worked fine.

Where I got stuck was on how to intercept the hide event.  Nothing I
tried seem to work which would allow the tooltip to continue showing
once the mouse was moved off the target.  I was trying to recreate the
tooltips used in Adobe's JamJar application.

So now my approach is to create my own class which extends
ToolTipManager.  I want added another method (createCustomToolTip)
where I pass the custom tooltip class and try to override some methods
so I can control when to call destroytooltip?

Not sure this is the best approach?

.j

Samuel Reuben said the following:


  
  Hi J,
   
  You could look into the documentation for ToolTipManager and use
the methods (createToolTip and destroyToolTip) that are listed there to
achieve what you are trying to do.
   
  Hope this helps,
  -sam
  
 
  On 9/16/06, josiah_kirby <[EMAIL PROTECTED]net>
wrote:
  





I'm building a custom tooltip (implements IToolTip) which will
have
components in it. Once the tooltip is shown I want to keep it shown
until I trigger an event to hide it.

I have created a listener on the component for the tooltipHide to keep

it from hiding with no luck.

Anyone know how keep a tooltip open until you want to close/hide it?

Thanks.

.j 



 



  
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Gauges in Flex Charting

2006-09-18 Thread John Kirby
Title: quote






Check this out:

http://www.maani.us/gauge

Ely Greenfield said the following:


  
  
   
   
   
  Hi Pramod.  Building a guage in
Flex/Flash should be pretty simple.  Take two assets (background +
needle), slap them together, and give the component a minimum, maximum,
and value property. Set the rotation of the needle to match the ratio
of value between min and max.
   
  Obviously, there's a lot more
you can do (labels, color, etc), but that's the basics. There's really
no functionality that you would need to leverage out of the charting
package to do this. Unless you're trying to do something more
complicated that I'm not thinking of.
   
  Ely.
  
  
  From:
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
  On Behalf Of Pramod
  Sent: Sunday, September 17, 2006 7:54 PM
  To: [EMAIL PROTECTED]ups.com
  Subject: [flexcoders] Gauges in Flex Charting
  
  
  
  Hi All,
  
Has anyone tried and implemented a Gauge or a speedometer in Flex 
Charting? What i am looking for is to implement some dashboards as in 
the link - http://www.xcelsius.com/Examples/Overview.html.
  
  
Thanks and Regards,
Pramod
  
  
  
 



-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___