RE: [flexcoders] applications that forget variables

2005-05-12 Thread Mika Kiljunen










Sorry, I’m really busy right now and
I’ve spent way too much time on this one already. I cannot post you the
code that had this problem, since you cannot run it anyway without the backend.
But I’ll try to write a piece of code to demonstrate the problem later after
I get through this busy schedule I have right now. (And of course then I cannot
reproduce it… J )

 

But I had this problem earlier also…
(see below) ..

 



 

 

Object deletion is just like in Java, we
garbage collect once there are no more references to the object.  So if
the popup window has a reference to another model, deleting the popup window
does not delete the model, it only deletes the reference.  Now if the
source object has also removed its reference, then you've now gotten rid of
both references and the object is gone.

 

I'd need to see more of an example to give
you a better sense of where things might be going wrong.  From your other
posts it looks like you've gone down the route of creating copies which may be
fine but also may be masking your problem.

 

Matt

 

-Original Message-
From: Mika Kiljunen [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 08,
2004 8:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Objects
disappear

 

Hi again J

 

I noticed some weird behaviour with
flex yesterday. Let's say I have a Model named myModel. myModel contains 'strings',
but is an object array (created from xml). Next I have a popup window that has
a model popModel. On creation popModel = myModel. Popup window binds strings
from popModel to fields and labels etc. Popup window has 2 buttons, one to
Cancel and one to DoOperation. If Cancel is pressed, popup window dies and gets
popped up again. Everything works nicely. If DoOperation is pressed, popup
window dies and operation is called (remote_object). Everything works nicely.

 

Now: If I press first Cancel and then
DoOperation AND DoOperation fails and popupwindow is displayed again ALL the
text on the labels are gone. Closer look with the debugger shows that also the
objects in the popModel that are binded on the popupwindow are gone
(=undefined). Even further, all the objects (strings) on myModel object that
are used with popupwindow are gone (all the other ones are there). Now this is
weird. I believe that this is caused by the fact that object arrays are passed
as a reference and popup window seems to destroy all the references in it when
it dies and so it destroys the original objects used by it on the original
object array (model). Is this correct and what would be a proper way to deal
with this kind of behaviour with the popup windows?

 

-Mika

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: 13. toukokuuta 2005 7:27
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
applications that forget variables



 

Can I see code that demonstrates this
problem?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen
Sent: Thursday, May 12, 2005 6:50
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] applications
that forget variables



 

Hi, you seem to be having the same problem
that I had earlier (on popup and binding ) and I faced it again yesterday. I
have an array on my main as file that contains Value objects.

I launch a popup window and the popup window
sets it’s internal variable like this iMyArray =
mx.core.Application.application.getArray();

Now this is used in a popup as a
dataprovider for a combobox. Also the popup has a binding on the combobox like
{myCombo.selectedItem.aValueField}. 

These work nicely until I choose a value,
close the popup and relaunch the popup to edit some data that was setup
earlier. Now the aValueField in the ValueObject that is contained in the array
is undefined (destroyed by flex). ValueObject is otherwise ok, only the field
that was binded on the popup is undefined. 

 

I solved this by creating a copy of the
array in the popup and using that (so that it does not reference the array on
the main app -> hence the original array will stay untouched). This way all
works fine, but it’s a real bummer that I have to make a copy of the
array (that is readonly!) so that flex won’t destroy the original
array’s object’s field.

 

I suspect, that the binding & a popup
seems to behave somewhat weird, because it really should not destroy the field
on the object of an array that is defined on the main app when the
popup/binding is destroyed.

 

-Mika

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: 12. toukokuuta 2005 16:21
To: flexcoders@yahoogroups.com
Subject: [flexcoders] applications
that forget variables



 



Is there a limit to a scope of a variable if I store it in
an array because I have done so in the past declared it public at the top of
the mxml file yet at times it seems the computer forge

Re: [flexcoders] Halo Themes List

2005-05-12 Thread Jeff Steiner
Thanks Matt!

So - for anyone interested, the possible values are:

haloGreen
haloBlue
haloOrange
haloSilver

Jeff
http://www.flexauthority.com


- Original Message - 
From: "Matt Chotin" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 12, 2005 9:53 PM
Subject: RE: [flexcoders] Halo Themes List


> In the themeColor style description of UIComponent in the ASDoc:
> http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/UIComponent.html.
>
>
>
>   _
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeff Steiner
> Sent: Thursday, May 12, 2005 9:14 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Halo Themes List
>
>
>
> Anyone know where I can find a listing of the available HALO themes?
>
> Thanks,
> Jeff
> http://www.flexauthority.com 
>
>
>
>
>
>   _
>
> Yahoo! Groups Links
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> 
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> 
>
> * Your use of Yahoo! Groups is subject to the Yahoo!
>   Terms of Service.
>
>



 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Changing the default icon of a tree

2005-05-12 Thread Matt Chotin










Item.getProperty(‘label’)
instead of item.label in your iconFunc.  Sorry if I wrote that code incorrectly
before…

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthik
Sent: Thursday, May 12, 2005 9:23
PM
To: flexcoders
Subject: [flexcoders] Changing the
default icon of a tree



 



Hai,





  I have alreadt posted a question
regarding this.. I want to change the default icon of the node of a tree
dynamically.. i am now using a iconFunction to do it, but it doesnt work.. can
anybody help me with this? 





 






http://www.macromedia.com/2003/mxml">




   
   
  
    :





    :
  
   






    















Yahoo! Messenger - Communicate
instantly..."Ping" your friends
today! Download Messenger Now











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Halo Themes List

2005-05-12 Thread Matt Chotin










In the themeColor style description of
UIComponent in the ASDoc: http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/UIComponent.html.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Steiner
Sent: Thursday, May 12, 2005 9:14
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Halo Themes
List



 

Anyone know where I can find a listing of the available HALO themes?

Thanks,
Jeff
http://www.flexauthority.com














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] HTTP service & context.root

2005-05-12 Thread Matt Chotin










Also, are you accessing the app different
when using production mode?  Pre-compiling or something?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec
Sent: Thursday, May 12, 2005 6:55
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTP
service & context.root



 

I wasn't able to fix this. Is there any way to
configure a HTTP service with {context.root} in
flex-config.xml and production-mode = true? ( see
the
config below ).

If production mode=false the apps works, if set
the
production mode to true the app won't work. Keep
the
production mode = true and replace the 
{context.root}
in the flex-config.xml with the
"myappcontext", the
application works.

Very confusing Am I missing something?

Thanks,
Valy

--- Valy Sivec <[EMAIL PROTECTED]>
wrote:
> 
> Hello,
> 
> In a flex application I have defined a
servlet as
> HTTP service ( see the conf. below ). In case
the
> "production-mode" is set
> 
> to false in the flex-config.xml everything
works
> fine. Wanted to change the production-mode
param to
> true, then I get an error
> 
> "HTTP Service Fault". I woudn't
want to hardcode the
> context root in the flex-config file.
> 
>  
> 
> production-mode= true and
> 
>  
> 
> {context.root}/MyServlet
> 
>  Won't work.
> 
> Any ideas? 
> 
> So production-mode = true and
> 
>  
> 
>
/myappcontext/MyServlet
> 
>  works.
> 
> Thanks,
> 
> Valy
> 
> 
>  
  
> -
> Do you Yahoo!?
>  Make Yahoo! your home page   


 
  
__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your
mobile phone. 
http://mobile.yahoo.com/learn/mail













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Style Question

2005-05-12 Thread Matt Chotin










headerStyle I think (Available on both
DataGrid for all columns and DataGridColumn for individual).

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola
Sent: Thursday, May 12, 2005 6:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Style
Question



 

What is the css property for changing the color of the header text of
a datagrid ?  When I change the color
property, it changes the header
text but also changes the grid text color which is
not what I need.  I
need the 2 text colors set differently.

Rich












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Wish List Item...

2005-05-12 Thread Matt Chotin










Better date parsing is definitely
something we’re hoping to get in.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tarik Ahmed
Sent: Thursday, May 12, 2005 5:32
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Wish
List Item...



 

Thx. I'll definitely bookmark that for going the other way around. But 
I'm more interesting in something like:

var myDate1 = new
ARobustDateObject("03/05/05");
var myDate2 = new
ARobustDateObject("01/01/2005 15:42:32");
var myDate3:String = "06/25/1972";

var isDate3Older =
ARobustDateObject.dateCompare(myDate3,myDate2)
var monthDifference =
ARobustDateObject.dateDiff("m",myDate2,myDate1)

The Date object expects the parts of the date as
individual parameters 
which is the part that requires extra work. This
is kinda more along the 
lines of what I was looking for:

http://www.shockwave-india.com/blog/actionscript/?asfile=getDateFromString.as




JesterXL wrote:

>http://www.darronschall.com/weblog/archives/40.cfm
>
>CF + AS2 = Yum Yum For You!
>
>- Original Message - 
>From: "Tarik Ahmed" <[EMAIL PROTECTED]>
>To: 
>Sent: Thursday, May 12, 2005 6:35 PM
>Subject: [flexcoders] Wish List Item...
>
>
>    Uhmm... In CF you can
display, compare, and format time in any way 
>imaginable with ease. I'm finding in
ActionScript that dealing with 
>Dates is pretty cumbersome. I did some
googling with no luck.. But I've 
>got to believe someone has made some kind of
DateUtil class out there so 
>you can create dates from user defined formats
("mm/dd/yy", "dd/mm/ 
>HH:mm", etc...).
>
>And in Flex 2.0 it'd be nice to add a
DateUtil class which copies 
>the code behind CF's DateFormat, DateDiff, and
DateCompare functions. 
>Those are huge time savers.
>
>Thanks!
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>















Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] MediaDisplay, can it be resized on the fly?

2005-05-12 Thread Matt Chotin










I’m pretty sure I’ve resized
the MediaDisplay before, are you setting x and y explicitly or calling setSize
or what?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of temporal_illusion
Sent: Thursday, May 12, 2005 12:41
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
MediaDisplay, can it be resized on the fly?



 

I want to programatically resize a video display on the fly (ie have
it grow when moused over), but I can't seem to get
it to resize at all
once it's been set.

Is this a limitation of the MediaDisplay control?














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] ThemeColor in CellRenderers

2005-05-12 Thread Matt Chotin










Yeah, I think you do need to write
createClassObject that way to set up the inheritance (maybe createChild in a
container would have done that for you automatically?).  Sorry, don’t
know the style mechanism all that well.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Thursday, May 12, 2005 11:05
AM
To: Flexcoders
Subject: [flexcoders] ThemeColor
in CellRenderers



 

I have the same problem in Flash.

How do I have controls used in a CellRenderer
adopt the global themeColor? 
Do I have to do like:

createClassObject(ComboBox, "my_cb",
getNextHighestDepth(), {styleName: 
owner});

Or something?

ThemeColor is "haloOrange", but the
controls default to haloGreen.

Thanks if you can help!

--JesterXL 













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] how to use a repeater question

2005-05-12 Thread Matt Chotin










I think the repeater for this would be:

 



  



 

So it’s pretty easy, though if
thrustData isn’t going to change I think it’s more efficient
code-wise to write it out by hand.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cnewroth55
Sent: Thursday, May 12, 2005 10:57
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to use a
repeater question



 

is it possible to use a repeater control to 'duplicate' a group of
checkboxes? I have this text array i would like to
have put into a
group of checkboxes;

and would like for it to be the checkboxes label.
is it faster to do a repeater or just make them up
normally..

Craig Newroth
Structures Technology - STL 
Executive Computing Support 
The Boeing Company 














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] XMLObjectOutput bug

2005-05-12 Thread Matt Chotin










We don’t have a hashCode function
now or really a good way of using object references.  Can you file this issue
at http://www.macromedia.com/go/wish?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben
Sent: Thursday, May 12, 2005 10:37
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
XMLObjectOutput bug



 

I think that the trObj method of XMLObjectOutput.as has as
problem  
where it keeps doubling the size of its internal
__stack variable  
with each new object it has.
The section which has:

// verify that we have not already seen this object

if(obj instanceof Array || obj instanceof Function || obj  
instanceof MovieClip || obj instanceof Object)
 {

var len = __stack.length;

// walk the stack and look for matches

for(var i = 0; i < len; i++)

{

if(obj == this  || __stack[i] == obj)

{

// we have a match, get out

var nSpace = "  " + spacer;

trace(spacer + " [self reference - will not  
trace]");

return;

} else {

// not found, add it to the list

__stack.push(obj);

}

}
 }

seems like it would add the object to the stack
each time it iterates  
through the for loop unless the particular object
it is searching for  
happens to be the one it is testing in that
iteration. This seems to  
be the cause of the problem where the __stack
array grows  
geometrically in size.
If you're using this to trace objects with any
depth, __stack.length  
very quickly gets up in to the thousands, self
reference or not.

Changing that section of code to:

// verify that we have not already seen this object

if(obj instanceof Array || obj instanceof Function || obj  
instanceof MovieClip || obj instanceof Object)
 {

var len = __stack.length;

// walk the stack and look for matches

for(var i = 0; i < len; i++)

{

if(obj == this  || __stack[i] == obj)

{

// we have a match, get out

var nSpace = "  " + spacer;

trace(spacer + " [self reference - will not  
trace]");

return;

}

}

// not found, add it to the list

__stack.push(obj);
 }
seems to do the trick, although I wonder if there
is a way to do this  
with hash tables instead of iterating through a
numbered array?

Is there a way of generating hash codes or using
an object reference  
as a key?

Sean McKibben
[EMAIL PROTECTED]













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Charting Multiple Selections in dataGrid

2005-05-12 Thread Matt Chotin










Are you making sure to only add the series
after that data has been retrieved from the WS (in the result handler)?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave
Sent: Thursday, May 12, 2005 10:23
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Charting
Multiple Selections in dataGrid



 

I'm stumped. I want my chart to add a series for each row selected 
from a corresponding dataGrid. I've used the
Series Selection example
(under Misc Techniques and Examples) here 
http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml
as 
the model, but it still doesn't work.

The dataGrid is getting data from a WS. When a row
is selected, the 
CATEGORY field is used to retrieve data from a
different WS. This 
works fine when "hard-coding" the
LineSeries (e.g. 
name="{Deposits.selectedItem.CATEGORY}"
xField="SCHEDDATE" 
yField="TOTALBAL"
showDataEffect="drillDownEffect" />) but I can't 
get it to work using the addSeries function. The
different 
categories will appear in the legend as rows are
multi-selected from 
the dataGrid, but the chart is a simple line
across the top and the 
dataTips are undefined.

Any ideas I know I'm close but unable to
resolve.


Thanks,

Dave














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] CurrencyFormatter

2005-05-12 Thread Matt Chotin










You also need to set the thousandsSeparator
to something other than “,” so that it doesn’t interfere.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jonbez
Sent: Thursday, May 12, 2005 8:14
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
CurrencyFormatter



 

Hi Everyone,

I need to be able to display an amount in the
following format:

15,99$

I use the following currency formatter, but it
does not seem to work.


rounding="nearest"
alignSymbol="right" decimalSeparatorFrom="."
decimalSeparatorTo=","/>

(The original amount comes in as 15.99).

The above formatter works fine if I change the
decimalSeperatorTo to
"." (which is of course not what I
want).

Any ideas?

Thank you

Jonathan














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Re: Lose reference to my Validator object after an asynchronous call

2005-05-12 Thread Matt Chotin










Or just call isValid again when the
remoteobject returns.

 

BTW, sending SQL across from your Flex app
to your remote object is generally considered a bad idea from a security
standpoint.  You want to just call a general method on your RO that can build
the SQL for you (preferably using a PreparedStatement or whatever the .Net equivalent
is).

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972
Sent: Thursday, May 12, 2005 8:16
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Lose
reference to my Validator object after an asynchronous call



 

thanks for your response. I will look at isStructureValid(). I used 
it ages ago but the example i tried from the flex
docs wasn't making 
any async calls. but i will take a look again.

--- In flexcoders@yahoogroups.com,
"jgserrault" <[EMAIL PROTECTED]> wrote:
> Could you perhaps just use/call the
isStructureValid() function of 
> the validator class whenever you return from
the remote call.  
Seems 
> like it might be the easiest way to deal with
this AND just give 
one 
> last check of the form fields.
> 
> 
> --- In flexcoders@yahoogroups.com,
"bhaq1972" <[EMAIL PROTECTED]> wrote:
> > Hi
> > 
> > I'm doing an async call (using the
Pending call procedure) in my 
> > extended TextInput (which has a
 object attached).
> > 
> > I save the validator object reference in
a class variable (so i 
can 
> > use it in the result handler later on),
but when I return to the 
> > result handler i dont get the red box
appearing.
> > 
> > I have a work around for this but i
wanted to make sure i wasn't 
> > doing something wrong.
> > 
> > Here's some test code. You will need to
make your own async call 
> > (mine's checking to see if a code exists
and returning a 
> > description...standard stuff!).
> > 
> > 
> > test.mxml
> > -
> > 
> > http://www.macromedia.com/2003/mxml"

> > xmlns:nx="*"
backgroundColor="#C0DCC2">
> > 
> >   
> > endpoint="http://localhost/flashremoting/gateway.aspx"

> >
source="FlexTestClassLibrary.Class1" showBusyCursor="true" 
> >
fault="alert(event.fault.faultstring, 'Error')"/>
> >  
> >   > > anything (except 'test') into 1st
textinput. this gives a redbox
[a 
> > synchronous validation]. (2)Enter an
invalid code into the 2nd 
> > textinput [asynchronous
validation]"/>
> > 
> >   
> > 
> >  

> >

> > 
> >  

> >

> > 
> >   
> > 
> > 
> > 
> > 
> > 
> > myTextInput.mxml
> > 
> > http://www.macromedia.com/2003/mxml"
>
> > 
> > 
> >  
{text}
> > 
> > 
> > 
> > > > event.validator, event.value )"
listener="this" />
> > 
> > 
> > 
> > 
> > 
> > 
> > 














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] HTTP service & context.root

2005-05-12 Thread Matt Chotin










Production mode shouldn’t make a
difference here.  What’s the text of the fault?  Can you turn on
debugging in flex-config for httpservice and see any obvious issues?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec
Sent: Thursday, May 12, 2005 7:00
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTP service
& context.root



 



Hello,

In a flex
application I have defined a servlet as HTTP service ( see the conf. below ).
In case the "production-mode" is set

to false
in the flex-config.xml everything works fine. Wanted to change the
production-mode param to true, then I get an error

"HTTP
Service Fault". I woudn't want to hardcode the context root in the
flex-config file.

 

production-mode=
true and

 

{context.root}/MyServlet


Won't work.

Any
ideas? 

So
production-mode = true and

 

/myappcontext/MyServlet


works.

Thanks,

Valy









Do you Yahoo!?
Make
Yahoo! your home page 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] applications that forget variables

2005-05-12 Thread Matt Chotin










Can I see code that demonstrates this
problem?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen
Sent: Thursday, May 12, 2005 6:50
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
applications that forget variables



 

Hi, you seem to be having the same problem
that I had earlier (on popup and binding ) and I faced it again yesterday. I
have an array on my main as file that contains Value objects.

I launch a popup window and the popup
window sets it’s internal variable like this iMyArray =
mx.core.Application.application.getArray();

Now this is used in a popup as a
dataprovider for a combobox. Also the popup has a binding on the combobox like
{myCombo.selectedItem.aValueField}. 

These work nicely until I choose a value,
close the popup and relaunch the popup to edit some data that was setup
earlier. Now the aValueField in the ValueObject that is contained in the array
is undefined (destroyed by flex). ValueObject is otherwise ok, only the field
that was binded on the popup is undefined. 

 

I solved this by creating a copy of the
array in the popup and using that (so that it does not reference the array on
the main app -> hence the original array will stay untouched). This way all
works fine, but it’s a real bummer that I have to make a copy of the
array (that is readonly!) so that flex won’t destroy the original
array’s object’s field.

 

I suspect, that the binding & a popup
seems to behave somewhat weird, because it really should not destroy the field
on the object of an array that is defined on the main app when the
popup/binding is destroyed.

 

-Mika

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: 12. toukokuuta 2005 16:21
To: flexcoders@yahoogroups.com
Subject: [flexcoders] applications
that forget variables



 



Is there a limit to a scope of a variable if I store it in
an array because I have done so in the past declared it public at the top of
the mxml file yet at times it seems the computer forgets the value by the time
it goes through like ten functions. Is this unusual and if so is there a way to
prevent this from happening?





 



 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] BindinManager Concept - Thoughts.

2005-05-12 Thread Scott Barnes
I would like to float a "BindingManager" concept past you all? (hope
thats ok), and would love it if anyone had any input for it as i'm
kind of a lone-coder here and in dire need of "idea bounce-offs" :)

Concept:

I basically have a situation where I want to create a BindingManager
where it allows views to bind to results in a transparent manner. An
example is when I have a mx:Tree control, and I want it to be
populated to update when I trigger a mx:RemoteObject call to
serverside.

Now, I have a way of attacking the "trigger" part, where I basically
create a RequestHandler, which inside that has the following:

[RequestHandler Object]
- resultKey
- onResult
- onFault
- screenID

When I invoke a service I basically have an inbetween step, in that i
call a Public Method -
getTreeData(callbackObject:ResultHandler,params:Object).

This getTreeData basically then invokes a relevant Remote Service. (ie
HTTPService, WebService, RemoteObject, LocalConnection etc).

It captures its own onResult/onFault if need be, but basically it may
do some minor adjustments to the data before handing to the
ResultHandler for its own processing (example taking an XML String
from CFC, cleaning up the ignoreWhite concept and then hands it to
ResultHandler.onResult())

Inside the ResultHandler.onResult, it does two things:

1) Dispatches an event stating that this object has new data (for any
that may subscribe)
2) Notifies BindManager.onData(this.resultKey,dataPacket);

The BindingManager basically iterates over its own internal Registry
for any keys that match the "resultKey" and basically sets the
destination points values to the new dataPacket.

To register a Binding in BindingManager, i have something like this:

com.SynergyFLEX.framework.managers.BindingManager extends Object {

private var _bindings:Object;
private var _maxIterations:Number;
public function BindingManager() {
this._bindings = new Object();
this._maxIterations = 10;
}

public function registerBinding(source:String, destination:String,
endpointSRC:UIObject):Boolean {
var isBindingAlreadyDefined:Boolean = false;
var binding:Object = new Object();

// Determine if the end pointer is defined.
if(endpointSRC == undefined) {

Application.FaultHandler.createException("BindingManager.registerBinding()
endpoint is undefined");
return false;
}

binding.destination = destination;
binding.endpointSRC = endpointSRC;

if(this._bindings[source] == undefined) {
this._bindings[source] = new Array();
} else {
for(var i=0; i < this._bindings[source].length; i++) {
if(this._bindings[source][i] === binding) {
return false;
}
}
}
this._bindings[source].push(binding);
return true;
}



public function onData(source:String, dataPacket,cntr):Void {
cntr = cntr || 0;

if(this._bindings[source] == undefined) {
return;
}

// Iterate over the Binding Registry to see if any exist.
for(var i=0; i < this._bindings[source].length; i++) {
var binding = this._bindings[source][i];
cntr++;

// If there is a binding chain setup, then execute.
if(this._bindings[i] !== undefined & cntr < 
this._maxIterations) {
this.onData(i,dataPacket,cntr);
}
binding.endpointSRC[binding.destination] = dataPacket;
}
}
}

In theory, if this applies and holds water, a FLEX developer should be
able to bind any number of "views/controls" to multiple results from a
RemoteService with Minimal effort.

Now to bind a view to a service, i use an XML solution like this:














What happens here, is that the event "loadCustomView" basically does
the following in sequence:


- Creates MyTreePanel via createChild(pathToViewPod). (ie var vp =
containerObj.createChild(fnTemplate,"MyTreePanel"));
- Registers the binding in BindingManager (ie
BindingManager.registerBinding('data_FromMyCFC','treeDP',vp))

- Creates MyMenuBar via createChild(pathToViewPod). (ie var vp =
containerObj.createChild(fnTemplate,"MyMenuBar"));
- Registers the binding in BindingManager (ie
BindingManager.regis

[flexcoders] Changing the default icon of a tree

2005-05-12 Thread nithya karthik



Hai,
  I have alreadt posted a question regarding this.. I want to change the default icon of the node of a tree dynamically.. i am now using a iconFunction to do it, but it doesnt work.. can anybody help me with this? 
 
http://www.macromedia.com/2003/mxml">            :
    :     
    
  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Halo Themes List

2005-05-12 Thread Jeff Steiner
Anyone know where I can find a listing of the available HALO themes?

Thanks,
Jeff
http://www.flexauthority.com




 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Wish List Item...

2005-05-12 Thread Tarik Ahmed






Now yer talkin!

JesterXL wrote:

  I LOVE Arul's parser, I use it on my blog all the time; he's da man!

How about these; you could use as is, or convert to AS2:

http://proto.layer51.com/l.aspx?p=9

- Original Message - 
From: "Tarik Ahmed" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 12, 2005 8:32 PM
Subject: Re: [flexcoders] Wish List Item...


Thx. I'll definitely bookmark that for going the other way around. But
I'm more interesting in something like:

var myDate1 = new ARobustDateObject("03/05/05");
var myDate2 = new ARobustDateObject("01/01/2005 15:42:32");
var myDate3:String = "06/25/1972";

var isDate3Older = ARobustDateObject.dateCompare(myDate3,myDate2)
var monthDifference = ARobustDateObject.dateDiff("m",myDate2,myDate1)

The Date object expects the parts of the date as individual parameters
which is the part that requires extra work. This is kinda more along the
lines of what I was looking for:

http://www.shockwave-india.com/blog/actionscript/?asfile=getDateFromString.as




JesterXL wrote:

  
  
http://www.darronschall.com/weblog/archives/40.cfm

CF + AS2 = Yum Yum For You!

- Original Message - 
From: "Tarik Ahmed" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 12, 2005 6:35 PM
Subject: [flexcoders] Wish List Item...


   Uhmm... In CF you can display, compare, and format time in any way
imaginable with ease. I'm finding in ActionScript that dealing with
Dates is pretty cumbersome. I did some googling with no luck.. But I've
got to believe someone has made some kind of DateUtil class out there so
you can create dates from user defined formats ("mm/dd/yy", "dd/mm/
HH:mm", etc...).

And in Flex 2.0 it'd be nice to add a DateUtil class which copies
the code behind CF's DateFormat, DateDiff, and DateCompare functions.
Those are huge time savers.

Thanks!





Yahoo! Groups Links








Yahoo! Groups Links










  
  





Yahoo! Groups Links







 
Yahoo! Groups Links

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

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

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



  










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.















Re: [flexcoders] HTTP service & context.root

2005-05-12 Thread Valy Sivec
I wasn't able to fix this. Is there any way to
configure a HTTP service with {context.root} in
flex-config.xml and production-mode = true? ( see the
config below ).

If production mode=false the apps works, if set the
production mode to true the app won't work. Keep the
production mode = true and replace the  {context.root}
in the flex-config.xml with the "myappcontext", the
application works.

Very confusing Am I missing something?

Thanks,
Valy

--- Valy Sivec <[EMAIL PROTECTED]> wrote:
> 
> Hello,
> 
> In a flex application I have defined a servlet as
> HTTP service ( see the conf. below ). In case the
> "production-mode" is set
> 
> to false in the flex-config.xml everything works
> fine. Wanted to change the production-mode param to
> true, then I get an error
> 
> "HTTP Service Fault". I woudn't want to hardcode the
> context root in the flex-config file.
> 
>  
> 
> production-mode= true and
> 
>  
> 
> {context.root}/MyServlet
> 
>  Won't work.
> 
> Any ideas? 
> 
> So production-mode = true and
> 
>  
> 
> /myappcontext/MyServlet
> 
>  works.
> 
> Thanks,
> 
> Valy
> 
> 
>   
> -
> Do you Yahoo!?
>  Make Yahoo! your home page   



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Wish List Item...

2005-05-12 Thread JesterXL
I LOVE Arul's parser, I use it on my blog all the time; he's da man!

How about these; you could use as is, or convert to AS2:

http://proto.layer51.com/l.aspx?p=9

- Original Message - 
From: "Tarik Ahmed" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 12, 2005 8:32 PM
Subject: Re: [flexcoders] Wish List Item...


Thx. I'll definitely bookmark that for going the other way around. But
I'm more interesting in something like:

var myDate1 = new ARobustDateObject("03/05/05");
var myDate2 = new ARobustDateObject("01/01/2005 15:42:32");
var myDate3:String = "06/25/1972";

var isDate3Older = ARobustDateObject.dateCompare(myDate3,myDate2)
var monthDifference = ARobustDateObject.dateDiff("m",myDate2,myDate1)

The Date object expects the parts of the date as individual parameters
which is the part that requires extra work. This is kinda more along the
lines of what I was looking for:

http://www.shockwave-india.com/blog/actionscript/?asfile=getDateFromString.as




JesterXL wrote:

>http://www.darronschall.com/weblog/archives/40.cfm
>
>CF + AS2 = Yum Yum For You!
>
>- Original Message - 
>From: "Tarik Ahmed" <[EMAIL PROTECTED]>
>To: 
>Sent: Thursday, May 12, 2005 6:35 PM
>Subject: [flexcoders] Wish List Item...
>
>
>Uhmm... In CF you can display, compare, and format time in any way
>imaginable with ease. I'm finding in ActionScript that dealing with
>Dates is pretty cumbersome. I did some googling with no luck.. But I've
>got to believe someone has made some kind of DateUtil class out there so
>you can create dates from user defined formats ("mm/dd/yy", "dd/mm/
>HH:mm", etc...).
>
>And in Flex 2.0 it'd be nice to add a DateUtil class which copies
>the code behind CF's DateFormat, DateDiff, and DateCompare functions.
>Those are huge time savers.
>
>Thanks!
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>






Yahoo! Groups Links







 
Yahoo! Groups Links

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

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

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




[flexcoders] Style Question

2005-05-12 Thread Rich Tretola
What is the css property for changing the color of the header text of
a datagrid ?  When I change the color property, it changes the header
text but also changes the grid text color which is not what I need.  I
need the 2 text colors set differently.

Rich


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] On the topic of Wishlists

2005-05-12 Thread John Dowdell
pk_wasp wrote:
> I know Macromedia has a page where u can submit bugs or feature request
> is there any pages on Macromedia site or livedocs to show what ppl 
> have wished/requested for (thinking of filling out some feature 
> requests for Flex 2.0 but don't really want to repeat what other 
> people might have requested)

Not on the Macromedia site, but you can pick this up from the varied 
mailing lists and weblogs... here's a Google Groups search term to pick 
up relevant threads from the Macromedia forums, for instance:
http://groups-beta.google.com/groups?q=wishlist+group%3Amacromedia.*

(Putting the results up on the site faces a series of odd problems... 
this material can't automatically go up there or it will be spammed 
(pagerank from mm.com is desirable)... trying to quantify the requests 
raises scenarios like "FeatureY got the most votes!" without realizing 
it conflicts with FeatureX... not everything which reaches that mailbox 
is relevant material... the next request is usually for commentary on 
each incoming... we haven't found a sustainable way to complete the 
feedback loop yet.)

That wishlist address is best for making sure that what you want reaches 
the right decisionmakers. For general commentary on possible future 
directions, the public lists like this are the best place.

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Wish List Item...

2005-05-12 Thread Tarik Ahmed
Thx. I'll definitely bookmark that for going the other way around. But 
I'm more interesting in something like:

var myDate1 = new ARobustDateObject("03/05/05");
var myDate2 = new ARobustDateObject("01/01/2005 15:42:32");
var myDate3:String = "06/25/1972";

var isDate3Older = ARobustDateObject.dateCompare(myDate3,myDate2)
var monthDifference = ARobustDateObject.dateDiff("m",myDate2,myDate1)

The Date object expects the parts of the date as individual parameters 
which is the part that requires extra work. This is kinda more along the 
lines of what I was looking for:

http://www.shockwave-india.com/blog/actionscript/?asfile=getDateFromString.as




JesterXL wrote:

>http://www.darronschall.com/weblog/archives/40.cfm
>
>CF + AS2 = Yum Yum For You!
>
>- Original Message - 
>From: "Tarik Ahmed" <[EMAIL PROTECTED]>
>To: 
>Sent: Thursday, May 12, 2005 6:35 PM
>Subject: [flexcoders] Wish List Item...
>
>
>Uhmm... In CF you can display, compare, and format time in any way 
>imaginable with ease. I'm finding in ActionScript that dealing with 
>Dates is pretty cumbersome. I did some googling with no luck.. But I've 
>got to believe someone has made some kind of DateUtil class out there so 
>you can create dates from user defined formats ("mm/dd/yy", "dd/mm/ 
>HH:mm", etc...).
>
>And in Flex 2.0 it'd be nice to add a DateUtil class which copies 
>the code behind CF's DateFormat, DateDiff, and DateCompare functions. 
>Those are huge time savers.
>
>Thanks!
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>





 
Yahoo! Groups Links

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

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

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




[flexcoders] On the topic of Wishlists

2005-05-12 Thread pk_wasp
I know Macromedia has a page where u can submit bugs or feature request

is there any pages on Macromedia site or livedocs to show what ppl 
have wished/requested for (thinking of filling out some feature 
requests for Flex 2.0 but don't really want to repeat what other 
people might have requested)

thanks.




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





Ok it works in our QA 
environment.
 
In both appA.mxml and appB.mxml 
I specified (I will obviously change this):
 
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
 
However appB.mxml, which is 
loaded within appA.mxml, is all streched out and takes up more space than 
the specified boundries. Looks really weird. Guess I have another problem to 
tackle now.
 
I think everything you guys 
told me to do was obviously correct, but wasn't working earlier because of my 
network config. My PC (where appA.mxml is running), is on a different network 
segment than the DEV server where appB.mxml is running from. Perhaps this has an 
effect, because everything should have worked.
 
Thanks to Peter and 
Jester!
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: Peter Farland 
[mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 4:54 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
SWFs and domains

If you move it to http://subB.bespin.com/jimmy.xml  does it 
work?
(I understand you may need a web app with the default 
context root "" to have a file at such a 
location)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, May 12, 2005 4:42 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] SWFs and 
domains

There is: 
http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
appB.mxml loads the 
cross domain file by doing System.security.loadPolicyFile( "http://subB.bespin.com/contextB/jimmy.xml" 
);
appA.mxml 
has:
 
System.security.allowDomain( "*" 
);
System.security.allowInsecureDomain( 
"*" );
 
The jimmy.xml is located at the root 
of the web 
folder.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: Peter Farland 
[mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 4:03 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
SWFs and domains

Where is the cross domain file specifically - (i.e. write 
out the full path using your naming examples of subA and subB 
below)?
 
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, May 12, 2005 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] SWFs and 
domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Wish List Item...

2005-05-12 Thread JesterXL
http://www.darronschall.com/weblog/archives/40.cfm

CF + AS2 = Yum Yum For You!

- Original Message - 
From: "Tarik Ahmed" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 12, 2005 6:35 PM
Subject: [flexcoders] Wish List Item...


Uhmm... In CF you can display, compare, and format time in any way 
imaginable with ease. I'm finding in ActionScript that dealing with 
Dates is pretty cumbersome. I did some googling with no luck.. But I've 
got to believe someone has made some kind of DateUtil class out there so 
you can create dates from user defined formats ("mm/dd/yy", "dd/mm/ 
HH:mm", etc...).

And in Flex 2.0 it'd be nice to add a DateUtil class which copies 
the code behind CF's DateFormat, DateDiff, and DateCompare functions. 
Those are huge time savers.

Thanks!




 
Yahoo! Groups Links



 



 
Yahoo! Groups Links

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

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

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




[flexcoders] Wish List Item...

2005-05-12 Thread Tarik Ahmed
Uhmm... In CF you can display, compare, and format time in any way 
imaginable with ease. I'm finding in ActionScript that dealing with 
Dates is pretty cumbersome. I did some googling with no luck.. But I've 
got to believe someone has made some kind of DateUtil class out there so 
you can create dates from user defined formats ("mm/dd/yy", "dd/mm/ 
HH:mm", etc...).

And in Flex 2.0 it'd be nice to add a DateUtil class which copies 
the code behind CF's DateFormat, DateDiff, and DateCompare functions. 
Those are huge time savers.

Thanks!




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] SWFs and domains

2005-05-12 Thread Peter Farland





If you move it to http://subB.bespin.com/jimmy.xml  does it 
work?
(I understand you may need a web app with the default 
context root "" to have a file at such a 
location)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, May 12, 2005 4:42 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] SWFs and 
domains

There is: 
http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
appB.mxml loads the 
cross domain file by doing System.security.loadPolicyFile( "http://subB.bespin.com/contextB/jimmy.xml" 
);
appA.mxml 
has:
 
System.security.allowDomain( "*" 
);
System.security.allowInsecureDomain( 
"*" );
 
The jimmy.xml is located at the root 
of the web 
folder.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: Peter Farland 
[mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 4:03 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
SWFs and domains

Where is the cross domain file specifically - (i.e. write 
out the full path using your naming examples of subA and subB 
below)?
 
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, May 12, 2005 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] SWFs and 
domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] can i save my data to a Excel spreadsheet

2005-05-12 Thread Steven Webster
Martin,

>  i would like to know if there is a way to export my data 
> from a data grid to a .xls file ..

Sure you can, but not with an MXML tag or ActionScript 2.0
code.  If you are using J2EE as your server-side, then you
need to create a Java class that given your datagrid data,
spews it into an XLS file.  There are numerous ways of
doing this for Excel; do a search on Java and Excel, or
take a look at the following Apache Jakarta project:

http://jakarta.apache.org/poi/

which provides you with aa Java API to read/write Microsoft
format files.

If you write a service that writes an Excel file, it is
then trivial to take the data from a datagrid, package it
into a client-side ActionScript object representation,
and use RemoteObject tag to invoke your server-side 
service that uses POI or similar to write to the file
format.

So ... achievable, but you'll need to do this across 
multiple tiers of a Flex app (Presentation, client-side
business tier and server-side business tier) rather than
in a single piece of code.

Hope this provides you all the hints you need to go and
do an implementation ... I don't have any code to share.

best,

Steven

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.



 
Yahoo! Groups Links

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

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

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




RE : [flexcoders] how to use a repeater question

2005-05-12 Thread CHANSOU Patrick ROSI/SICOR
Title: [flexcoders] how to use a repeater question







   
I don't know if it's faster but you can have your array populated via 
AS
or use the same array in multiple mxml.

   Message d'origine De: 
  flexcoders@yahoogroups.com de la part de cnewroth55 Date: 
  jeu. 12/05/2005 19:57 À: flexcoders@yahoogroups.com Cc: 
  Objet: [flexcoders] how to use a repeater 
  question
  is it possible to use a repeater control to 'duplicate' a 
  group ofcheckboxes? I have this text array i would like to have put into 
  agroup of checkboxes;and would like for it to be the checkboxes 
  label.is it faster to do a repeater or just make them up 
  normally..Craig NewrothStructures Technology - STLExecutive 
  Computing SupportThe Boeing CompanyYahoo! Groups 
  Links<*> To visit your group on the web, go 
  to:    http://groups.yahoo.com/group/flexcoders/<*> 
  To unsubscribe from this group, send an email to:    
  [EMAIL PROTECTED]<*> Your use of Yahoo! 
  Groups is subject to:    http://docs.yahoo.com/info/terms/









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





There is: 
http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
appB.mxml loads the 
cross domain file by doing System.security.loadPolicyFile( "http://subB.bespin.com/contextB/jimmy.xml" 
);
appA.mxml 
has:
 
System.security.allowDomain( "*" 
);
System.security.allowInsecureDomain( 
"*" );
 
The jimmy.xml is located at the root 
of the web 
folder.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: Peter Farland 
[mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 4:03 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
SWFs and domains

Where is the cross domain file specifically - (i.e. write 
out the full path using your naming examples of subA and subB 
below)?
 
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, May 12, 2005 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] SWFs and 
domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Re: FLEX and CF7..

2005-05-12 Thread Paul Lee



Yes, but somehow it's not working..  I really don't see why they just can't create an install script to handle this problem.
 
PaulTarik Ahmed <[EMAIL PROTECTED]> wrote:
Hey Paul did you follow these instructions:http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.htmlPaul Lee wrote: 

OK... here is my setup.  CFMX7 Ent.  Full Version..   Also I have Flex 1.5 Installed.
I am running CFMX7 under IIS 5 on XP... everything is great.  
 
Somehow I can see some the funtionality that flex offers in the "getting started and demo" area of coldfusion.  
 
I am pointing IIS website to a dir under coldfusionmx7/wwwroot
Works great again.
 
Coldfusion has put the "getting started apps" under my IIS wwwroot in a dir called CFIDE.. again everything is great there also.  
 
For the life of me can I get the Flex samples to work.  
 
The .mxml files load in a browser but shows the actual script (not the output). The .jsp just goes to a dead page not loading anything.
 
I am confused as to where to put the flex parts under coldfusion to work, or since I have the Ent. version how do I use the flex capabilities in my web apps.  
 
Fustrating me to death.
 
Paul
 
 
David Gassner <[EMAIL PROTECTED]> wrote:
If it's just a question of pricing, it's definitely less expensive to buy a separate JRun license - $899 - than to upgrade from CFMX Standard to CFMX Enterprise, which lists at $5,999.  The limitation is that you won't be able to wrap Flex and CFMX into a single server - the best you'll be able to do is to have them run side-by-side using different ports.As to the qualitative differences between JRun and Tomcat, it depends on what you're doing with Flex.  If the goal is to use Flex to communicate with Java classes as remote objects, I'd rather host Flex within JRun than Tomcat, if only for the more powerful administrative interface.  But if you're limiting yourself to communicating with ColdFusion CFC's through Flash Remoting, the Flex server will have minimal work to do, and JRun might be
 overkill.Either way, without CFMX Enterprise, you'll have to run a separate J2EE server, as with CFMX Standard you can't separate CF from its integrated JRun.As to why Macromedia includes Flex with CF Ent but not Flex, the 2 product management teams would be the only ones qualified to comment.And all that having been said, definitely talk to your Macromedia sales rep as Matt recommended - who knows what miracles they can accomplish?David GassnerSchooner Technical Media--- In flexcoders@yahoogroups.com, Scott Barnes <[EMAIL PROTECTED]> wrote:> For now we are going to use TomCat to tide us over until we figure> things out... you'd think for the bucks we paid, JRUN full license> would of been thrown in ;) hehe.> > > >
 On 5/12/05, Matt Chotin <[EMAIL PROTECTED]> wrote:> >  > >  > > > > Er, I don't think the JRun license is a full license with Flex, it's just a> > trial license. > > > >   > > > > Scott, I'd just talk to your sales rep and see what makes sense for your> > needs.  I have no idea how the pricing works on JRun vs. CF Enterprise. > > > >   > >  > >  > >  > > > > From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On> > Behalf Of Scott Barnes> >  Sent: Wednesday, May
 11, 2005 9:32 PM> >  To: flexcoders@yahoogroups.com> >  Subject: Re: [flexcoders] FLEX and CF7.. > > > >   > > > > well the actual legal (Commercial) FLEX license is being sent> >  (currently FEDEX) but i have the serial, and simply used the> >  downloadable version to install.> >  > >  that being said, once i provide the serial it doesn't ask how i want> >  it installed, but simply installs the WAR?> >  > >  am i missing something from this equation?> >  > >  On 5/12/05, Cliff Meyers <[EMAIL PROTECTED]> wrote:> >  > If you purchase a Flex license it comes with a full license of JRun.>
 >  > When you run the Flex installer you can either have it create a .war> >  > file to deploy to an existing J2EE server, or choose to install JRun4> >  > on your server and then put Flex on top of it.  The same is true of> >  > ColdFusion MX7: if you spring for an Enterprise license you can> >  > install CF with a full version of JRun4, or as a .war to deploy to any> >  > other J2EE server.  You could also install CFMX7 in Standalone mode,> >  > but IMHO this would be waste since you'd be sacrificing the full J2EE> >  > capability (Servlets, JSPs, EJBs, etc) as well as some other features> >  > in CFMX7 Enterprise Edition.  If you want to deploy CFMX7 and Flex on> >  > top of the same J2EE server (be it the "free" JRun you get with the> > 
 > CF/Flex licenses or any other J2EE server) you're still going to need> >  > the CFMX7 Enterprise edition.> >  > > >  > If you are looking for the most cost-effective route, you can do the> > following:> >  > > >  > (1) Buy a Flex license and install it on a box with the full version> > > >  > of JRun that's included,> >  > (2) Buy a CFMX7 Standard license and install it on

RE: [flexcoders] Internal popups

2005-05-12 Thread Jeff Beeman










Thanks, all, for your help! I’ll give this
a shot and see if it can handle my needs.

 



 

/**
* Jeff Beeman
**/











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matthew Shirey
Sent: Thursday, May 12, 2005 12:10
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Internal
popups



 

Yeah, you were just a
little quicker than me getting that one posted.  Mine is pretty much the
same solution:



http://www.macromedia.com/2003/mxml">

    
        
    
    
    
    
        
            
        
        
            
           
    
    



-- Matthew



On 5/12/05, Sreejith
Unnikrishnan <[EMAIL PROTECTED]>
wrote:



ok ... thats interesting ..





Here's an idea ... you can try it ...





 











    





    





// Your entire application goes here //





    





    





// The poup you need can go in here
preferably in another Hbox hidden initially that takes x and y coordinates that
you can pass either by mouse coordinates on Click//





    





   






    





    











 





:-)





-Original Message-
From: flexcoders@yahoogroups.com
[mailto: flexcoders@yahoogroups.com]
On Behalf Of Jeff Beeman



Sent: Friday, May 13, 2005 12:18 AM
To: flexcoders@yahoogroups.com
Subject: RE:
[flexcoders] Internal popups












Hmm… still not what I'm looking for.  I guess what I
would like is for something like this (what the previous responder sent) to
work:

 



http://www.macromedia.com/2003/mxml">

 













 






 

But
I need the TitleWindow to behave not like a standard interface element (one
that takes up space in the layout), but like a normal popup window, one that
appears above the content at a specified location.

 

It
looks like using another MXML file is the way to go…

 

 

 



 

/**
* Jeff Beeman
**/











From: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com] On Behalf Of Matt
Horn
Sent: Thursday, May 12, 2005 11:41
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal
popups



 

Here's an example that uses createPopUp() to create a
TextArea popup (no other file required):

 


http://www.macromedia.com/2003/mxml ">

import mx.managers.PopUpManager;



var app = mx.core.Application.application;
var a = mx.controls.TextArea;
var p:MovieClip;





 



function createTextAreaPopup() {
 p = PopUpManager.createPopUp(app,a,false,{ width:200,height:150,text:'Pop
goes the weasel and the weasel goes pop' });
}



 



function destroyPopup() {
 p.deletePopUp();
}




 



http://www.macromedia.com/2003/mxml"
width="500" height="200">
 
 



 

HTH,

 

matt horn

flex docs



 







From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of JesterXL 
Sent: Thursday, May 12, 2005 2:26
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Internal
popups



It's
compiled into the final SWF so there isn't technically a dependency.





 





However,
if you want a simple popup, you could use an Alert.





 





check
out Alert.show for that, and for loading internal components as popups, look up
PopUpManager.createPopUp





 





-
Original Message - 



From: Jeff Beeman 





To: flexcoders@yahoogroups.com 





Sent: Thursday, May 12, 2005 2:21 PM





Subject: RE: [flexcoders] Internal popups







 



I can't find an example or description of how to use the
TitleWindow component without it being in an external file.  Any pointers?

 



 

/**
* Jeff Beeman
**/











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Tracy Spratt 
Sent: Thursday, May 12, 2005 10:45
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal
popups



 

You probably want the TitleWindow component.

 

Tracy 

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jeff Beeman 
Sent: Thursday, May 12, 2005 12:56
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Internal
popups



 

I've
been scouring the documentation, but I can't seem to find how to do something that
should be quite simple.  How do I create a popup window that doesn't
reference an external file?  All examples point to loading in an external
mxml file, but I would like to simply create a panel that is hidden on startup
and have it hide / unhide on different events.  Is this possible?

 

 

/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/

 

 













 







Yahoo! Groups Links


 To visit your group on
 

Re: [flexcoders] SWFs and domains

2005-05-12 Thread JesterXL





Canuck beer?  Hell yeah I'd fly 
up!
 
You don't EVER see the security alert?  
WTF...
 
Alright, if your're bored please do this; have your 
B.swf access a text file on A's sub-domain via a simple LoadVars 
script:
 
var lv = new LoadVars();
lv.>
{
    trace("success: " + 
success);
}
lv.load("bdomain.txt");
 
You SHOULD see the security box... if not, let us 
know.
 
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 3:52 PM
Subject: RE: [flexcoders] SWFs and domains

Flash Player is 7,0,35,29 
running in Firefox (same occurs under IE)
No security alerts 
whatsoever.
 
Settings 
are:
 

 
Gathering from the question 
being asked, the Allow/Deny setting has nothing to do with Domain access. None 
of the other tabs relate to Domain access. Is this what you were looking for? If 
you are referring to the pop-up located on http://www.macromedia.com/devnet/mx/flash/articles/fplayer_security_print.html... 
I never see it.
 
Can you take a flight to 
Montreal? I'll buy you a beer :) Where are 23rd century transporters when you 
need them.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 3:38 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Grrr
 
hrm
 
Do you not get a security alert in the Flash Player 
in your browser at all?
 
...For the time being, try in your apps 
onLoad/init, whatever do:
 
System.showSettings();
 
What is the default settings for loading data 
across domains?  What version of the player are you using?  (I'm 
assuming 7.0.19.0) because of the sub-domain security sandbox...
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 3:09 PM
Subject: RE: [flexcoders] SWFs and domains

... 
Nope.
 
Well I have a plan B... but it 
would be nice if this worked. 
 
Don't know if you can think of 
anything else... thanks for the help Jester.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:52 PMTo: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] SWFs and domains

Darn... hrm...
 
Try 'em both without anything in the (), 
like:
 
System.security.allowDomain() 
System.security.allowInsecureDomain()
 
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:46 PM
Subject: RE: [flexcoders] SWFs and domains

Yup, I understand your 
point.
 
Ok I left the 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml ); in 
appB.
I added 
System.security.allowInsecureDomain( "*" ) to appA.mxml 
I also tried 
System.security.allowDomain( "*" ) in appA.mxml
 
Nadda the solution to this 
must be something really small that I am overlooking.
 
How much of that "tons" is 
there left? :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
T

RE: [flexcoders] SWFs and domains

2005-05-12 Thread Peter Farland





Where is the cross domain file specifically - (i.e. write 
out the full path using your naming examples of subA and subB 
below)?
 
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, May 12, 2005 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] SWFs and 
domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





Flash Player is 7,0,35,29 
running in Firefox (same occurs under IE)
No security alerts 
whatsoever.
 
Settings 
are:
 

 
Gathering from the question 
being asked, the Allow/Deny setting has nothing to do with Domain access. None 
of the other tabs relate to Domain access. Is this what you were looking for? If 
you are referring to the pop-up located on http://www.macromedia.com/devnet/mx/flash/articles/fplayer_security_print.html... 
I never see it.
 
Can you take a flight to 
Montreal? I'll buy you a beer :) Where are 23rd century transporters when you 
need them.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 3:38 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Grrr
 
hrm
 
Do you not get a security alert in the Flash Player 
in your browser at all?
 
...For the time being, try in your apps 
onLoad/init, whatever do:
 
System.showSettings();
 
What is the default settings for loading data 
across domains?  What version of the player are you using?  (I'm 
assuming 7.0.19.0) because of the sub-domain security sandbox...
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 3:09 PM
Subject: RE: [flexcoders] SWFs and domains

... 
Nope.
 
Well I have a plan B... but it 
would be nice if this worked. 
 
Don't know if you can think of 
anything else... thanks for the help Jester.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:52 PMTo: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] SWFs and domains

Darn... hrm...
 
Try 'em both without anything in the (), 
like:
 
System.security.allowDomain() 
System.security.allowInsecureDomain()
 
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:46 PM
Subject: RE: [flexcoders] SWFs and domains

Yup, I understand your 
point.
 
Ok I left the 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml ); in 
appB.
I added 
System.security.allowInsecureDomain( "*" ) to appA.mxml 
I also tried 
System.security.allowDomain( "*" ) in appA.mxml
 
Nadda the solution to this 
must be something really small that I am overlooking.
 
How much of that "tons" is 
there left? :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianni

[flexcoders] MediaDisplay, can it be resized on the fly?

2005-05-12 Thread temporal_illusion
I want to programatically resize a video display on the fly (ie have
it grow when moused over), but I can't seem to get it to resize at all
once it's been set.

Is this a limitation of the MediaDisplay control?




 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] SWFs and domains

2005-05-12 Thread JesterXL





Grrr
 
hrm
 
Do you not get a security alert in the Flash Player 
in your browser at all?
 
...For the time being, try in your apps 
onLoad/init, whatever do:
 
System.showSettings();
 
What is the default settings for loading data 
across domains?  What version of the player are you using?  (I'm 
assuming 7.0.19.0) because of the sub-domain security sandbox...
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 3:09 PM
Subject: RE: [flexcoders] SWFs and domains

... 
Nope.
 
Well I have a plan B... but it 
would be nice if this worked. 
 
Don't know if you can think of 
anything else... thanks for the help Jester.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:52 PMTo: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] SWFs and domains

Darn... hrm...
 
Try 'em both without anything in the (), 
like:
 
System.security.allowDomain() 
System.security.allowInsecureDomain()
 
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:46 PM
Subject: RE: [flexcoders] SWFs and domains

Yup, I understand your 
point.
 
Ok I left the 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml ); in 
appB.
I added 
System.security.allowInsecureDomain( "*" ) to appA.mxml 
I also tried 
System.security.allowDomain( "*" ) in appA.mxml
 
Nadda the solution to this 
must be something really small that I am overlooking.
 
How much of that "tons" is 
there left? :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Re: can i invoke an exe in windows from any event in mxml file

2005-05-12 Thread temporal_illusion
There was just a thread about a similar topic a few hours ago:

http://www.mail-archive.com/flexcoders%40yahoogroups.com/msg06893.html

If the Excel file was on the web server you could use getURL and spawn
a new browser pointing at the file.

--- In flexcoders@yahoogroups.com, "send2martin" <[EMAIL PROTECTED]>
wrote:
> hi
> 
>  i an a newbe to flexand i dont know if this question is answered 
> already if pls redirect me to that .. else help me to find if i can 
> load a windows application .. from a mxml event ... 
> 
>  i need to opena MS acess file at runtime (onclick)
> 
>  thnk in advance




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Lose reference to my Validator object after an asynchronous call

2005-05-12 Thread bhaq1972
thanks for your response. I will look at isStructureValid(). I used 
it ages ago but the example i tried from the flex docs wasn't making 
any async calls. but i will take a look again.

--- In flexcoders@yahoogroups.com, "jgserrault" <[EMAIL PROTECTED]> wrote:
> Could you perhaps just use/call the isStructureValid() function of 
> the validator class whenever you return from the remote call.  
Seems 
> like it might be the easiest way to deal with this AND just give 
one 
> last check of the form fields.
> 
> 
> --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
> > Hi
> > 
> > I'm doing an async call (using the Pending call procedure) in my 
> > extended TextInput (which has a  object attached).
> > 
> > I save the validator object reference in a class variable (so i 
can 
> > use it in the result handler later on), but when I return to the 
> > result handler i dont get the red box appearing.
> > 
> > I have a work around for this but i wanted to make sure i wasn't 
> > doing something wrong.
> > 
> > Here's some test code. You will need to make your own async call 
> > (mine's checking to see if a code exists and returning a 
> > description...standard stuff!).
> > 
> > 
> > test.mxml
> > -
> > 
> > http://www.macromedia.com/2003/mxml"; 
> > xmlns:nx="*" backgroundColor="#C0DCC2">
> > 
> >> endpoint="http://localhost/flashremoting/gateway.aspx"; 
> > source="FlexTestClassLibrary.Class1" showBusyCursor="true" 
> > fault="alert(event.fault.faultstring, 'Error')"/>
> >  
> >   
> > 
> >   
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >   
> > 
> > 
> > 
> > 
> > 
> > myTextInput.mxml
> > 
> > http://www.macromedia.com/2003/mxml"; >
> > 
> > 
> >   {text}
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Internal popups

2005-05-12 Thread Sreejith Unnikrishnan
Title: Message





Yes 
Matthew, sorry better luck next time :-)
 
One 
correction, if I understood Jeff's requirements correctly, he does not want to 
see the TitleWindow in its native form with the header,etc. So he will have to 
go with a HBox, I think.
 
Sree

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Matthew ShireySent: Friday, May 13, 2005 12:40 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Internal 
  popupsYeah, you were just a little quicker than me 
  getting that one posted.  Mine is pretty much the same 
  solution:http://www.macromedia.com/2003/mxml">    
          
          
                  
          
              
                  
          
          
          
  -- Matthew
  On 5/12/05, Sreejith 
  Unnikrishnan <[EMAIL PROTECTED]> 
  wrote:
  
ok ... thats interesting 
..
Here's an idea ... you can 
try it ...
 

    

    
// Your entire application 
goes here //
    
    
// The poup you need can go 
in here preferably in another Hbox hidden initially that takes x and y 
coordinates that you can pass either by mouse coordinates on 
Click//
    

    

    
    

 
:-)

  
  -Original Message-From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Jeff 
  Beeman
  Sent: Friday, May 13, 2005 12:18 AMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Internal popups
  
  
  Hmm… still not 
  what I'm looking for.  I guess what I would like is for something 
  like this (what the previous responder sent) to work:
   
  
  http://www.macromedia.com/2003/mxml">
   
  
   
  
   
  
   
  
   
  
   
  
   
  
  
   
  But I need the TitleWindow to 
  behave not like a standard interface element (one that takes up space in 
  the layout), but like a normal popup window, one that appears above the 
  content at a specified location.
   
  It looks like using another 
  MXML file is the way to go…
   
   
   
  
   
  /*** 
  Jeff 
  Beeman**/
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On 
  Behalf Of Matt HornSent: Thursday, May 12, 2005 11:41 
  AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popups
   
  Here's an example 
  that uses createPopUp() to create a TextArea popup (no other file 
  required):
   
  http://www.macromedia.com/2003/mxml 
  ">import 
  mx.managers.PopUpManager;
  
  var app = 
  mx.core.Application.application;var a = mx.controls.TextArea;var 
  p:MovieClip;
  
   
  function 
  createTextAreaPopup() { p = 
  PopUpManager.createPopUp(app,a,false,{ width:200,height:150,text:'Pop goes 
  the weasel and the weasel goes pop' });}
  
   
  function 
  destroyPopup() 
  { p.deletePopUp();}
  
   
  http://www.macromedia.com/2003/mxml" width="500" 
  height="200">  
   
  HTH,
   
  matt 
  horn
  flex 
  docs
  
 



From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Thursday, May 12, 2005 2:26 
PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Internal 
popups

It's compiled into the final 
SWF so there isn't technically a dependency.

 

However, if you want a 
simple popup, you could use an Alert.

 

check out Alert.show for 
that, and for loading internal components as popups, look up 
PopUpManager.createPopUp

 

- Original Message - 


From: Jeff Beeman 


To: flexcoders@yahoogroups.com 

Sent: 
Thursday, May 12, 2005 2:21 PM

Subject: RE: 
[flexcoders] Internal popups

 
I can't find an 
example or description of how to use the TitleWindow component without 
it being in an external file.  Any pointers?
 

 
/*** 
Jeff 
Beeman**/




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt 
Sent: Thursday, May 
12, 2

RE: [flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





... 
Nope.
 
Well I have a plan B... but it 
would be nice if this worked. 
 
Don't know if you can think of 
anything else... thanks for the help Jester.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:52 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Darn... hrm...
 
Try 'em both without anything in the (), 
like:
 
System.security.allowDomain() 
System.security.allowInsecureDomain()
 
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:46 PM
Subject: RE: [flexcoders] SWFs and domains

Yup, I understand your 
point.
 
Ok I left the 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml ); in 
appB.
I added 
System.security.allowInsecureDomain( "*" ) to appA.mxml 
I also tried 
System.security.allowDomain( "*" ) in appA.mxml
 
Nadda the solution to this 
must be something really small that I am overlooking.
 
How much of that "tons" is 
there left? :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Internal popups

2005-05-12 Thread Matthew Shirey



Yeah, you were just a little quicker than me getting that one posted.  Mine is pretty much the same solution:



http://www.macromedia.com/2003/mxml">

    
        
    
    
    
    
        
            
        
        
            
                
    



-- MatthewOn 5/12/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote:











ok ... 
thats interesting ..
Here's 
an idea ... you can try it ...
 

    
    

// 
Your entire application goes here //
    

    

// The 
poup you need can go in here preferably in another Hbox hidden initially that 
takes x and y coordinates that you can pass either by mouse coordinates on 
Click//
    

    

    

    

 
:-)

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of 
  Jeff BeemanSent: Friday, May 13, 2005 12:18 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popups
  
  Hmm… still not what 
  I'm looking for.  I guess what I would like is for something like this 
  (what the previous responder sent) to work:
   
  
  http://www.macromedia.com/2003/mxml">
   
  
   
  
   
  
   
  
   
  
   
  
   
  
  
   
  But I need the TitleWindow to 
  behave not like a standard interface element (one that takes up space in the 
  layout), but like a normal popup window, one that appears above the content at 
  a specified location.
   
  It looks like using another MXML 
  file is the way to go…
   
   
   
  
   
  /*** 
  Jeff 
  Beeman**/
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Matt HornSent: Thursday, May 12, 2005 11:41 
  AMTo: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal 
  popups
   
  Here's an example 
  that uses createPopUp() to create a TextArea popup (no other file 
  required):
   
  http://www.macromedia.com/2003/mxml
">import 
  mx.managers.PopUpManager;
  
  var app = 
  mx.core.Application.application;var a = mx.controls.TextArea;var 
  p:MovieClip;
  
   
  function 
  createTextAreaPopup() { p = PopUpManager.createPopUp(app,a,false,{ 
  width:200,height:150,text:'Pop goes the weasel and the weasel goes pop' 
  });}
  
   
  function 
  destroyPopup() 
  { p.deletePopUp();}
  
   
  http://www.macromedia.com/2003/mxml" 
  width="500" height="200">  
   
  HTH,
   
  matt 
  horn
  flex 
  docs
  

 



From:
 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Thursday, May 12, 2005 2:26 
PMTo: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Internal 
popups

It's compiled into the final SWF 
so there isn't technically a dependency.

 

However, if you want a simple 
popup, you could use an Alert.

 

check out Alert.show for that, 
and for loading internal components as popups, look up 
PopUpManager.createPopUp

 

- Original Message - 



From: 
Jeff 
Beeman 

To: 
flexcoders@yahoogroups.com 


Sent: 
Thursday, May 12, 2005 2:21 PM

Subject: RE: 
[flexcoders] Internal popups

 
I can't find an 
example or description of how to use the TitleWindow component without it 
being in an external file.  Any pointers?
 

 
/*** 
Jeff 
Beeman**/




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Thursday, May 12, 2005 10:45 
AMTo: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal 
popups
 
You probably want 
the TitleWindow component.
 
Tracy

 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Beeman
Sent: Thursday, May 12, 2005 12:56 
PMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] Internal 
popups
 
I've been scouring the 
documentation, but I can't seem to find how to do something that should be 
quite simple.  How do I create a popup window that doesn't reference an 
external file?  All examples point to loading in an external mxml file, 
but I would like to simply create a panel that is hidden on startup and have 
it hide / unhide on different events.  Is this 
possible?
 
 
/ 
Jeff Beeman* Digital Media & Instructional Technologies* 
Arizona 
State University***/
 
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an e

RE: [flexcoders] Internal popups

2005-05-12 Thread Sreejith Unnikrishnan
Title: Message





ok ... 
thats interesting ..
Here's 
an idea ... you can try it ...
 

    
    

// 
Your entire application goes here //
    

    

// The 
poup you need can go in here preferably in another Hbox hidden initially that 
takes x and y coordinates that you can pass either by mouse coordinates on 
Click//
    

    

    

    

 
:-)

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Jeff BeemanSent: Friday, May 13, 2005 12:18 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popups
  
  Hmm… still not what 
  I’m looking for.  I guess what I would like is for something like this 
  (what the previous responder sent) to work:
   
  
  
   
  
   
  
   
  
   
  
   
  
   
  
   
  
  
   
  But I need the TitleWindow to 
  behave not like a standard interface element (one that takes up space in the 
  layout), but like a normal popup window, one that appears above the content at 
  a specified location.
   
  It looks like using another MXML 
  file is the way to go…
   
   
   
  
   
  /*** 
  Jeff 
  Beeman**/
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt HornSent: Thursday, May 12, 2005 11:41 
  AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popups
   
  Here's an example 
  that uses createPopUp() to create a TextArea popup (no other file 
  required):
   
  http://www.macromedia.com/2003/mxml">import 
  mx.managers.PopUpManager;
  
  var app = 
  mx.core.Application.application;var a = mx.controls.TextArea;var 
  p:MovieClip;
  
   
  function 
  createTextAreaPopup() { p = PopUpManager.createPopUp(app,a,false,{ 
  width:200,height:150,text:'Pop goes the weasel and the weasel goes pop' 
  });}
  
   
  function 
  destroyPopup() 
  { p.deletePopUp();}
  
   
  http://www.macromedia.com/2003/mxml" 
  width="500" height="200">  
   
  HTH,
   
  matt 
  horn
  flex 
  docs
  
 



From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Thursday, May 12, 2005 2:26 
PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Internal 
popups

It's compiled into the final SWF 
so there isn't technically a dependency.

 

However, if you want a simple 
popup, you could use an Alert.

 

check out Alert.show for that, 
and for loading internal components as popups, look up 
PopUpManager.createPopUp

 

- Original Message - 


From: Jeff 
Beeman 

To: flexcoders@yahoogroups.com 


Sent: 
Thursday, May 12, 2005 2:21 PM

Subject: RE: 
[flexcoders] Internal popups

 
I can’t find an 
example or description of how to use the TitleWindow component without it 
being in an external file.  Any pointers?
 

 
/*** 
Jeff 
Beeman**/




From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy SprattSent: Thursday, May 12, 2005 10:45 
AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
popups
 
You probably want 
the TitleWindow component.
 
Tracy
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff BeemanSent: Thursday, May 12, 2005 12:56 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Internal 
popups
 
I’ve been scouring the 
documentation, but I can’t seem to find how to do something that should be 
quite simple.  How do I create a popup window that doesn’t reference an 
external file?  All examples point to loading in an external mxml file, 
but I would like to simply create a panel that is hidden on startup and have 
it hide / unhide on different events.  Is this 
possible?
 
 
/ 
Jeff Beeman* Digital Media & Instructional Technologies* 
Arizona 
State University***/
 
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Legend in chart.. What else is coming in 2.0?

2005-05-12 Thread Pekka Kola










Thank’s, Ely! Just wait to see
beta..

 

Pekka

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely Greenfield
Sent: 12. toukokuuta 2005 19:44
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Legend
in chart.. What else is coming in 2.0?



 

 

 

 

Pekka –

 

   
For all the usual boilerplate reasons, I can’t go into too much detail on
what is being considered for future releases for flex. I can tell you, however,
that dual y scale axes is the absolute top request for charts in flex, and we
hear you loud and clear.

 

You can put a LinearAxis on the horizontal
edge of any chart today:

 



   

   


    



 

Ely.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pekka Kola
Sent: Thursday, May 12, 2005 9:17
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Legend
in chart.. What else is coming in 2.0?
Importance: High



 

Hi!

 

What else are you considering for v.2.0? I
would like to see a line chart with double y-scale and linear x-axis for line
chart!

 

5
I
I  100

  
I   
*---   
   
I

4
I
I  
I  80

  
I   
I---*  
   
I

3
I
I-*
I  60

  
I   
I

2
I
I---*  
I  40

  
I   
I  
I

1
I
*---I  
I  20

  
I   
I

0
- 
0

   
0  0.5   
1.0   
1.5   
2.0    2.5   
3.0

 

 

 

BR, Pekka

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely
 Greenfield
Sent: 12. toukokuuta 2005 17:42
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Legend
in chart..



 

 

 

 

Yes, you can set 

 



 

And no, you can’t put the horizontal
axis for a chart at the top. It’s something we’re considering for
Flex 2.0

 

Ely.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthik
Sent: Thursday, May 12, 2005 3:21
AM
To: flexcoders
Subject: [flexcoders] Legend in
chart..
Importance: High



 



hai,





    I'd like to know if the
legend for chart can be made horizontal.. by defult the legend items are
aligned vertically, but i want it to be vertical. how to do it?





 





and how do i have the x-axis of a bar  chart at the top instead
the bottom?









Yahoo! Messenger - Communicate
instantly..."Ping" your friends
today! Download Messenger Now


 

 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] SWFs and domains

2005-05-12 Thread JesterXL





Darn... hrm...
 
Try 'em both without anything in the (), 
like:
 
System.security.allowDomain() 
System.security.allowInsecureDomain()
 
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:46 PM
Subject: RE: [flexcoders] SWFs and domains

Yup, I understand your 
point.
 
Ok I left the 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml ); in 
appB.
I added 
System.security.allowInsecureDomain( "*" ) to appA.mxml 
I also tried 
System.security.allowDomain( "*" ) in appA.mxml
 
Nadda the solution to this 
must be something really small that I am overlooking.
 
How much of that "tons" is 
there left? :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Internal popups

2005-05-12 Thread Jeff Beeman










Hmm… still not what I’m
looking for.  I guess what I would like is for something like this (what the
previous responder sent) to work:

 





 

 







 

 

 



 

But I need the TitleWindow to behave not like a standard
interface element (one that takes up space in the layout), but like a normal
popup window, one that appears above the content at a specified location.

 

It looks like using another MXML file is the way to go…

 

 

 



 

/**
* Jeff Beeman
**/











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Horn
Sent: Thursday, May 12, 2005 11:41
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal
popups



 

Here's an example that uses createPopUp()
to create a TextArea popup (no other file required):

 


http://www.macromedia.com/2003/mxml">

import mx.managers.PopUpManager;



var app = mx.core.Application.application;
var a = mx.controls.TextArea;
var p:MovieClip;





 



function createTextAreaPopup() {
 p = PopUpManager.createPopUp(app,a,false,{ width:200,height:150,text:'Pop
goes the weasel and the weasel goes pop' });
}



 



function destroyPopup() {
 p.deletePopUp();
}




 



http://www.macromedia.com/2003/mxml"
width="500" height="200">
 
 



 

HTH,

 

matt horn

flex docs



 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Thursday, May 12, 2005 2:26
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Internal
popups



It's compiled into the final SWF so there isn't technically
a dependency.





 





However, if you want a simple popup, you could use an Alert.





 





check out Alert.show for that, and for loading internal
components as popups, look up PopUpManager.createPopUp





 





- Original Message - 



From: Jeff Beeman






To: flexcoders@yahoogroups.com






Sent: Thursday, May 12,
2005 2:21 PM





Subject: RE: [flexcoders]
Internal popups







 



I can’t find an example or
description of how to use the TitleWindow component without it being in an
external file.  Any pointers?

 



 

/**
* Jeff Beeman
**/











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Thursday, May 12, 2005 10:45
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal
popups



 

You probably want the TitleWindow
component.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Beeman
Sent: Thursday, May 12, 2005 12:56
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Internal
popups



 

I’ve been scouring the documentation, but I can’t
seem to find how to do something that should be quite simple.  How do I
create a popup window that doesn’t reference an external file?  All
examples point to loading in an external mxml file, but I would like to simply
create a panel that is hidden on startup and have it hide / unhide on different
events.  Is this possible?

 

 

/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/

 

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Internal popups

2005-05-12 Thread Sreejith Unnikrishnan
Title: Message





Confused? Well, maybe you should help by defining "normal popup" 
:-)

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Jeff BeemanSent: Friday, May 13, 2005 12:14 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popupsThe problem is that the TitleWindow in your 
  example still takes up spacein the application window.  I need it to 
  behave like a normal 
  popup./*** Jeff 
  Beeman**/-Original 
  Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] OnBehalf Of Jeff TapperSent: 
  Thursday, May 12, 2005 11:27 AMTo: flexcoders@yahoogroups.comSubject: 
  RE: [flexcoders] Internal popupstry this:http://www.macromedia.com/2003/mxml"> 
   
   
   
   
   
   
  At 02:21 PM 5/12/2005, 
  you wrote:>I can't find an example or description of how to use the 
  TitleWindow >component without it being in an external file.  Any 
  pointers?/**>* 
  Jeff 
  Beeman>**/>>-->From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On>Behalf Of Tracy Spratt>Sent: Thursday, May 12, 2005 10:45 
  AM>To: flexcoders@yahoogroups.com>Subject: RE: [flexcoders] 
  Internal popups>>You probably want the TitleWindow 
  component.>>Tracy>>>-->From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On>Behalf Of Jeff Beeman>Sent: Thursday, May 12, 2005 12:56 
  PM>To: flexcoders@yahoogroups.com>Subject: [flexcoders] Internal 
  popups>>I've been scouring the documentation, but I can't seem 
  to find how todo >something that should be quite simple.  How 
  do I create a popup window >that doesn't reference an external 
  file?  All examples point to loadingin >an external mxml file, 
  but I would like to simply create a panel thatis >hidden on startup 
  and have it hide / unhide on different events.  Isthis 
  >possible?/***>* 
  Jeff Beeman>* Digital Media & Instructional Technologies>* 
  Arizona State 
  University>***/>-->Yahoo! 
  Groups Links>    * To visit your group on the web, go 
  to:>    * >http://groups.yahoo.com/group/flexcoders/ 
  >>    *>    * To 
  unsubscribe from this group, send an email to:>    * 
  >flexc[EMAIL PROTECTED] 
  >>    *>    * Your use of 
  Yahoo! Groups is subject to the > Yahoo! 
  Terms of Service.Yahoo! Groups 
  Links







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





Yup, I understand your 
point.
 
Ok I left the 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml ); in 
appB.
I added 
System.security.allowInsecureDomain( "*" ) to appA.mxml 
I also tried 
System.security.allowDomain( "*" ) in appA.mxml
 
Nadda the solution to this 
must be something really small that I am overlooking.
 
How much of that "tons" is 
there left? :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Internal popups

2005-05-12 Thread Jeff Beeman
The problem is that the TitleWindow in your example still takes up space
in the application window.  I need it to behave like a normal popup.


/**
* Jeff Beeman
**/

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Tapper
Sent: Thursday, May 12, 2005 11:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal popups

try this:

http://www.macromedia.com/2003/mxml";>
 
 
 
 
 
 
 


At 02:21 PM 5/12/2005, you wrote:
>I can't find an example or description of how to use the TitleWindow 
>component without it being in an external file.  Any pointers?
>
>
>
>/**
>* Jeff Beeman
>**/
>
>--
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

>Behalf Of Tracy Spratt
>Sent: Thursday, May 12, 2005 10:45 AM
>To: flexcoders@yahoogroups.com
>Subject: RE: [flexcoders] Internal popups
>
>You probably want the TitleWindow component.
>
>Tracy
>
>
>--
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

>Behalf Of Jeff Beeman
>Sent: Thursday, May 12, 2005 12:56 PM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Internal popups
>
>I've been scouring the documentation, but I can't seem to find how to
do 
>something that should be quite simple.  How do I create a popup window 
>that doesn't reference an external file?  All examples point to loading
in 
>an external mxml file, but I would like to simply create a panel that
is 
>hidden on startup and have it hide / unhide on different events.  Is
this 
>possible?
>
>
>
>/***
>* Jeff Beeman
>* Digital Media & Instructional Technologies
>* Arizona State University
>***/
>
>
>
>
>--
>Yahoo! Groups Links
>* To visit your group on the web, go to:
>* 
>
http://groups.yahoo.com/group
/flexcoders/ 
>
>*
>* To unsubscribe from this group, send an email to:
>* 
>
flexc
[EMAIL PROTECTED] 
>
>*
>* Your use of Yahoo! Groups is subject to the 
> Yahoo! Terms of Service.



 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] SWFs as backgrounds

2005-05-12 Thread Sreejith Unnikrishnan
Title: Message





You 
could use a ".swc". Open up the theme files that come with 
Flex.
Look 
for the background component. Make yor changes, export it from the library 
as swc and use it as a theme in flex!

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Ryan Scott JonesSent: Friday, May 13, 2005 12:06 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  SWFs as backgrounds
  
  Does anyone know if 
  it is possible to have a SWF instead of an image as the background of a flex 
  app?
   
  Thanks,
  Ryan







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] SWFs as backgrounds

2005-05-12 Thread JesterXL





Go look here:
 
C:\Program 
Files\Macromedia\Flex\extras\stylesheets
 
Good examples in the CSS how to do it.
 
- Original Message - 
From: Ryan Scott 
Jones 
To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:35 PM
Subject: [flexcoders] SWFs as backgrounds


Does anyone know if it 
is possible to have a SWF instead of an image as the background of a flex 
app?
 
Thanks,
Ryan







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Internal popups

2005-05-12 Thread Matt Horn





Here's an example that uses createPopUp() to create a 
TextArea popup (no other file required):
 
http://www.macromedia.com/2003/mxml">import 
mx.managers.PopUpManager;
var 
app = mx.core.Application.application;var a = mx.controls.TextArea;var 
p:MovieClip;
 
function createTextAreaPopup() { p = 
PopUpManager.createPopUp(app,a,false,{ width:200,height:150,text:'Pop goes the 
weasel and the weasel goes pop' });}
 
function destroyPopup() 
{ p.deletePopUp();}
 
http://www.macromedia.com/2003/mxml" 
width="500" height="200">  
 
HTH,
 
matt 
horn
flex docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Thursday, May 12, 2005 2:26 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Internal 
  popups
  
  It's compiled into the final SWF so there isn't 
  technically a dependency.
   
  However, if you want a simple popup, you could 
  use an Alert.
   
  check out Alert.show for that, and for loading 
  internal components as popups, look up PopUpManager.createPopUp
   
  - Original Message - 
  From: Jeff 
  Beeman 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, May 12, 2005 2:21 PM
  Subject: RE: [flexcoders] Internal popups
  
  
  I can’t find an 
  example or description of how to use the TitleWindow component without it 
  being in an external file.  Any pointers?
   
  
   
  /*** 
  Jeff 
  Beeman**/
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Tracy 
  SprattSent: Thursday, May 
  12, 2005 10:45 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popups
   
  You probably want the 
  TitleWindow component.
   
  Tracy
   
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Jeff 
  BeemanSent: Thursday, May 
  12, 2005 12:56 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Internal 
  popups
   
  I’ve been scouring the 
  documentation, but I can’t seem to find how to do something that should be 
  quite simple.  How do I create a popup window that doesn’t reference an 
  external file?  All examples point to loading in an external mxml file, 
  but I would like to simply create a panel that is hidden on startup and have 
  it hide / unhide on different events.  Is this 
  possible?
   
   
  / Jeff 
  Beeman* Digital Media & Instructional Technologies* Arizona State University***/
   
   







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] SWFs as backgrounds

2005-05-12 Thread Ryan Scott Jones










Does anyone know if it is possible to have
a SWF instead of an image as the background of a flex app?

 

Thanks,

Ryan











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] SWFs and domains

2005-05-12 Thread JesterXL





Dude, there's always a way, I've got TONS of 
ideas!
 
Hrm...
 
Did you add System.security.allowDomain in 
appA.mxml?  Have tried System.security.allowInsecureDomain()?
 
Those, I believe, need to be in the caller SWF so when B 
goes, "Yo A, can I borrow data?" A will have code in it granting permission for 
B's domain in... make sense?  Try that, we're gonna win!
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domains

Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Internal popups

2005-05-12 Thread Jeff Tapper
try this:

http://www.macromedia.com/2003/mxml";>
 
 
 
 
 
 
 


At 02:21 PM 5/12/2005, you wrote:
>I can't find an example or description of how to use the TitleWindow 
>component without it being in an external file.  Any pointers?
>
>
>
>/**
>* Jeff Beeman
>**/
>
>--
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
>Behalf Of Tracy Spratt
>Sent: Thursday, May 12, 2005 10:45 AM
>To: flexcoders@yahoogroups.com
>Subject: RE: [flexcoders] Internal popups
>
>You probably want the TitleWindow component.
>
>Tracy
>
>
>--
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
>Behalf Of Jeff Beeman
>Sent: Thursday, May 12, 2005 12:56 PM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Internal popups
>
>I've been scouring the documentation, but I can't seem to find how to do 
>something that should be quite simple.  How do I create a popup window 
>that doesn't reference an external file?  All examples point to loading in 
>an external mxml file, but I would like to simply create a panel that is 
>hidden on startup and have it hide / unhide on different events.  Is this 
>possible?
>
>
>
>/***
>* Jeff Beeman
>* Digital Media & Instructional Technologies
>* Arizona State University
>***/
>
>
>
>
>--
>Yahoo! Groups Links
>* To visit your group on the web, go to:
>* 
> http://groups.yahoo.com/group/flexcoders/
>  
>
>*
>* To unsubscribe from this group, send an email to:
>* 
> [EMAIL PROTECTED] 
>
>*
>* Your use of Yahoo! Groups is subject to the 
> Yahoo! Terms of Service.



 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Internal popups

2005-05-12 Thread JesterXL





It's compiled into the final SWF so there isn't 
technically a dependency.
 
However, if you want a simple popup, you could use 
an Alert.
 
check out Alert.show for that, and for loading 
internal components as popups, look up PopUpManager.createPopUp
 
- Original Message - 
From: Jeff 
Beeman 
To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 2:21 PM
Subject: RE: [flexcoders] Internal popups


I can’t find an example 
or description of how to use the TitleWindow component without it being in an 
external file.  Any pointers?
 

 
/*** 
Jeff 
Beeman**/




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tracy 
SprattSent: Thursday, May 12, 
2005 10:45 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
popups
 
You probably want the 
TitleWindow component.
 
Tracy
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jeff 
BeemanSent: Thursday, May 12, 
2005 12:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Internal 
popups
 
I’ve been scouring the 
documentation, but I can’t seem to find how to do something that should be quite 
simple.  How do I create a popup window that doesn’t reference an external 
file?  All examples point to loading in an external mxml file, but I would 
like to simply create a panel that is hidden on startup and have it hide / 
unhide on different events.  Is this possible?
 
 
/ Jeff 
Beeman* Digital Media & Instructional Technologies* Arizona State University***/
 
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





Thanks for the suggestions 
Jester,
 
I removed the crossdomain.xml 
and tried: System.security.allowDomain( 
"*" );
Didn't 
work.
 
Then I added a jimmy.xml which 
is my personal crossdomain.xml file with the same content as what I mention 
previously. 
And then I added in appB.mxml: 
System.security.loadPolicyFile( http://localhost:8200/contextB/jimmy.xml 
);
Still doesn't 
work.
 
Wouldn't happen to have 
anything else up your sleeve?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: JesterXL [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 1:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and 
domains

Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Internal popups

2005-05-12 Thread Jeff Beeman










I can’t find an example or
description of how to use the TitleWindow component without it being in an
external file.  Any pointers?

 



 

/**
* Jeff Beeman
**/











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Thursday, May 12, 2005 10:45
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal
popups



 

You probably want the TitleWindow
component.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Beeman
Sent: Thursday, May 12, 2005 12:56
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Internal
popups



 

I’ve been scouring the documentation, but I
can’t seem to find how to do something that should be quite simple. 
How do I create a popup window that doesn’t reference an external
file?  All examples point to loading in an external mxml file, but I would
like to simply create a panel that is hidden on startup and have it hide /
unhide on different events.  Is this possible?

 

 

/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/

 

 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] can i save my data to a Excel spreadsheet

2005-05-12 Thread send2martin
 hi

 i would like to know if there is a way to export my data from a data 
grid to a .xls file ..


thnk in advance




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: Pass variable to mx:image tag

2005-05-12 Thread Matt Horn





I don't think the limitation is 255 characters. At one 
time, that was a limitation on some servers. It's more like 4000 on most modern 
browsers and web servers. Here's something relevant from a devshed 
discussion I found googling:
 
>There isn't any 
limit in theory. Any limit on the length of an HTTP>URI is imposed by the 
systems involved. RFC2616, sec. 3.2.1, says:>>| The 
HTTP protocol does not place any a priori limit on the length of>| 
a URI. Servers MUST be able to handle the URI of any resource 
they>| serve, and SHOULD be able to handle URIs of unbounded 
length if they>| provide GET-based forms that could generate such 
URIs.>>But it then goes on to 
warn:>>| Servers ought to be cautious about 
depending on URI lengths>| above 255 bytes, because some older 
client or proxy>| implementations might not properly support these 
lengths.>>That was in 1998 though; I believe that to 
be insignificant now.
 
So my response is I don't know (it's different for every 
system), but maybe others can speak up with personal experiences. Or it might be 
worth just trying.
 
HTH,
 
matt horn
flex docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  cazzaranSent: Thursday, May 12, 2005 1:41 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Pass variable 
  to mx:image tag
  Matt,Thanks for the response.A related 
  question: is there a limit on the size of the query string? I know for 
  browsers it's 255 chars. Otherwise, is there a way to load the values as 
  FlashVars?-Josh--- In flexcoders@yahoogroups.com, "Matt Horn" 
  <[EMAIL PROTECTED]> wrote:> You can append query string params to pass 
  variable data to an included> SWF. psuedoexample:>  
  > var src = "" + myVar;> ...> 
  > >  > 
  HTH,>  > matt horn> flex docs>  > 
  > > > > 
    From: flexcoders@yahoogroups.com> 
  [mailto:[EMAIL PROTECTED] On Behalf Of cazzaran> 
    Sent: Thursday, May 12, 2005 11:51 AM> 
    To: flexcoders@yahoogroups.com> 
    Subject: [flexcoders] Pass variable to mx:image 
  tag>   > 
    >   I need 
  to include an external SWF file that takes variables to> display 
  >   some content. It's just a banner, so 
  the mx:Image tag is> sufficient, > 
    except that I can't figure out how to pass 
  variable information> to it. > 
    There's talk of a flashVar tag, but that's for 
  JSP, and it> doesn't look >   like 
  there's an equivilant mxml tag.>   
  >   My include is basic, and looks like 
  > source="banner.swf" />> 
    >   Any 
  help is appreciated!>   > 
    -Josh>   
  >   > 
    >   
  > > > 
    Yahoo! Groups Links> 
    > > 
    *  To visit your 
  group on the web, go to:>   
    http://groups.yahoo.com/group/flexcoders/> 
        > 
    *  To unsubscribe 
  from this group, send an email to:>   
    [EMAIL PROTECTED]> 
   
  >       
  >   *  Your 
  use of Yahoo! Groups is subject to the Yahoo! Terms> of Service 
   
  .







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] can i invoke an exe in windows from any event in mxml file

2005-05-12 Thread send2martin
hi

 i an a newbe to flexand i dont know if this question is answered 
already if pls redirect me to that .. else help me to find if i can 
load a windows application .. from a mxml event ... 

 i need to opena MS acess file at runtime (onclick)

 thnk in advance 




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: calling a CFR from a CFC - got it working!

2005-05-12 Thread cnewroth55
the cfm file code:






the CFC code:






 *** your sql goes here   






 




This works fine for me, now all I have to do is pass the arguments
from FLEX to the CFC...
Craig



--- In flexcoders@yahoogroups.com, Scott Barnes <[EMAIL PROTECTED]> wrote:
> If you use CFCONTENT you can push the mime-type back to the browser,
> which in turn should trigger the intended result you are after.
> 
> I'm actually about to integrate FLASHPAPER with my FLEX app today, so
> umm I'll let you know if i discover anything bad/good :)
> 
> 
> 
> 
> On 5/12/05, Tarik Ahmed <[EMAIL PROTECTED]> wrote:
> > I haven't used CF7 so a blind guess is perhaps you need to add a
> > CFHEADER to the cfm file to identify the mime-type.
> > 
> > Or try it this way:
> > 
> > 
> > #myCFC.Needs_Report("PDF")#
> > 
> > Try asking this on BACFUG (www.bacfug.org), someone on there will
> > probably know (Sean Corfield and a bunch of other CF gurus are on
there).
> > 
> > cnewroth55 wrote:
> > 
> > >I understand I can easily call a cfc in a cfm file and then use the
> > >cfreport tag in the cfm file to call the template and use the query
> > >returned by the cfc for my report. However what I want to do is a bit
> > >different. I would like to have a function in my cfc that does the
> > >query and another function inside cfc that uses the query to create
> > >the report and pass a format argument like PDF or Flash or Excel
> > >Remotely using Flex (flash) Here is my CFC Code, but when i call it
> > >from a cfm file to test it. I get a blank page.
> > >
> > >What am i doing wrong?
> > >
> > >Attached CFM Code to test CFC:
> > >
> > > > >returnvariable="MyReport" ReportFormat="PDF">
> > >
> > >
> > >
> > >Attached CFC Code
> > >
> > >
> > > > >access="public">
> > >   
> > >
> > >   
> > >   A Cool Query SQL
> > >Statement here
> > >   
> > >   
> > >
> > >
> > > > >access="remote">
> > >> >required="yes" hint="format type for report" />
> > >
> > >   
> > >
> > >> >method="Needs_Query" returnvariable="MyQuery">
> > >
> > >> >template="../_reports/gvs_techneeds.cfr"
> > >format="#ARGUMENTS.ReportFormat#" query="MyQuery" />
> > >   
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Regards,
> Scott Barnes
> http://www.mossyblog.com
> http://www.flexcoder.com (Coming Soon)




 
Yahoo! Groups Links

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

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

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




[flexcoders] ThemeColor in CellRenderers

2005-05-12 Thread JesterXL
I have the same problem in Flash.

How do I have controls used in a CellRenderer adopt the global themeColor? 
Do I have to do like:

createClassObject(ComboBox, "my_cb", getNextHighestDepth(), {styleName: 
owner});

Or something?

ThemeColor is "haloOrange", but the controls default to haloGreen.

Thanks if you can help!

--JesterXL 



 
Yahoo! Groups Links

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

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

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




[flexcoders] how to use a repeater question

2005-05-12 Thread cnewroth55
is it possible to use a repeater control to 'duplicate' a group of
checkboxes? I have this text array i would like to have put into a
group of checkboxes;

and would like for it to be the checkboxes label.
is it faster to do a repeater or just make them up normally..

Craig Newroth
Structures Technology - STL 
Executive Computing Support 
The Boeing Company 




 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] SWFs and domains

2005-05-12 Thread JesterXL





Have you tried:
 
- System.security.loadPolicyFile?
- System.allowDomain()?
 
- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:39 PM
Subject: [flexcoders] SWFs and domains

Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Re: Pass variable to mx:image tag

2005-05-12 Thread cazzaran
Matt,

Thanks for the response.

A related question: is there a limit on the size of the query string? 
I know for browsers it's 255 chars. Otherwise, is there a way to load 
the values as FlashVars?

-Josh

--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
> You can append query string params to pass variable data to an 
included
> SWF. psuedoexample:
>  
> var src = "IncludedTestFile.swf?myVar=" + myVar;
> ...
> 
> 
>  
> HTH,
>  
> matt horn
> flex docs
>  
> 
> 
> 
> 
>   From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of cazzaran
>   Sent: Thursday, May 12, 2005 11:51 AM
>   To: flexcoders@yahoogroups.com
>   Subject: [flexcoders] Pass variable to mx:image tag
>   
>   
>   I need to include an external SWF file that takes variables to
> display 
>   some content. It's just a banner, so the mx:Image tag is
> sufficient, 
>   except that I can't figure out how to pass variable 
information
> to it. 
>   There's talk of a flashVar tag, but that's for JSP, and it
> doesn't look 
>   like there's an equivilant mxml tag.
>   
>   My include is basic, and looks like  source="banner.swf" />
>   
>   Any help is appreciated!
>   
>   -Josh
>   
>   
>   
>   
> 
> 
>   Yahoo! Groups Links
>   
> 
>   *   To visit your group on the web, go to:
>   http://groups.yahoo.com/group/flexcoders/
> 
>   *   To unsubscribe from this group, send an email to:
>   [EMAIL PROTECTED]
>  
> 
>   *   Your use of Yahoo! Groups is subject to the Yahoo! 
Terms
> of Service  .




 
Yahoo! Groups Links

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

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

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




[flexcoders] SWFs and domains

2005-05-12 Thread Dimitrios Gianninas





Hi,
 
I 
know I have this question already, but maybe some help with someone with more 
experience will help. Local I have the following setup:
 
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
 
Using the Loader component, appA can load 
appB and then appB has something like this:
 
var user = _level0.user
 
This allows appB to retrieve the user model object from appA... works 
like a charm.
 
Now, I deployed the same UIs as follows:
 

http://subA.bespin.com/contextA/appA.mxml
http://subB.bespin.com/contextB/appB.mxml
 
Now in this setup, appB loads within appA, 
but the _level0.user returns "undefined". Also the movie doesn't loaded within 
its predefined width and height (probably diff issue altogether). I was told to 
add a crossdomain.xml file and I have:
 

    

 
Still doesn't work... anything else I can 
try?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] XMLObjectOutput bug

2005-05-12 Thread Sean McKibben
I think that the trObj method of XMLObjectOutput.as has as problem  
where it keeps doubling the size of its internal __stack variable  
with each new object it has.
The section which has:
 // verify that we have not already seen this object
 if(obj instanceof Array || obj instanceof Function || obj  
instanceof MovieClip || obj instanceof Object)
 {
 var len = __stack.length;
 // walk the stack and look for matches
 for(var i = 0; i < len; i++)
 {
 if(obj == this  || __stack[i] == obj)
 {
 // we have a match, get out
 var nSpace = "  " + spacer;
 trace(spacer + " [self reference - will not  
trace]");
 return;
 } else {
 // not found, add it to the list
 __stack.push(obj);
 }
 }
 }

seems like it would add the object to the stack each time it iterates  
through the for loop unless the particular object it is searching for  
happens to be the one it is testing in that iteration. This seems to  
be the cause of the problem where the __stack array grows  
geometrically in size.
If you're using this to trace objects with any depth, __stack.length  
very quickly gets up in to the thousands, self reference or not.

Changing that section of code to:
 // verify that we have not already seen this object
 if(obj instanceof Array || obj instanceof Function || obj  
instanceof MovieClip || obj instanceof Object)
 {
 var len = __stack.length;
 // walk the stack and look for matches
 for(var i = 0; i < len; i++)
 {
 if(obj == this  || __stack[i] == obj)
 {
 // we have a match, get out
 var nSpace = "  " + spacer;
 trace(spacer + " [self reference - will not  
trace]");
 return;
 }
 }
 // not found, add it to the list
 __stack.push(obj);
 }
seems to do the trick, although I wonder if there is a way to do this  
with hash tables instead of iterating through a numbered array?

Is there a way of generating hash codes or using an object reference  
as a key?

Sean McKibben
[EMAIL PROTECTED]



 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Internal popups

2005-05-12 Thread Tracy Spratt










You probably want the TitleWindow
component.

 

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman
Sent: Thursday, May 12, 2005 12:56
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Internal
popups



 

I’ve been scouring the documentation, but I
can’t seem to find how to do something that should be quite simple. 
How do I create a popup window that doesn’t reference an external
file?  All examples point to loading in an external mxml file, but I would
like to simply create a panel that is hidden on startup and have it hide /
unhide on different events.  Is this possible?

 

 

/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/

 

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Charting Multiple Selections in dataGrid

2005-05-12 Thread Dave
I'm stumped. I want my chart to add a series for each row selected 
from a corresponding dataGrid. I've used the Series Selection example
(under Misc Techniques and Examples) here 
http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml as 
the model, but it still doesn't work.

The dataGrid is getting data from a WS. When a row is selected, the 
CATEGORY field is used to retrieve data from a different WS. This 
works fine when "hard-coding" the LineSeries (e.g. ) but I can't 
get it to work using the addSeries function. The different 
categories will appear in the legend as rows are multi-selected from 
the dataGrid, but the chart is a simple line across the top and the 
dataTips are undefined.

Any ideas I know I'm close but unable to resolve.


Thanks,

Dave




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Classloader Problem?

2005-05-12 Thread Dimitrios Gianninas






Answer:
> 
>
> > Ok I 
finally understand the reason why fop.jar inside the CLASSPATH
> > breaks 
Flex applications.
> 
>
> > Flex 
doesn't use the fop.jar but uses various batik components
> > 
(http://xml.apache.org/batik/).
> > In the 
Mainifest.mf, in the fop.jar shipped with BEA, there is this
> > 
entry:
> > 
[Class-Path: batik.jar avalon-framework.jar]
> 
>
> > Therefore 
by including fop.jar in the CLASSPATH the batik.jar
> > shipped 
with BEA will be found by the Flex classloader instead of
> > loading 
its own batik-*.jars. Since the batik.jar shipped with BEA
> > is older 
it breaks Flex code.
> 
>
> > The 
correct solution is to remove the fop.jar from the system
> > CLASSPATH 
in the startWebLogic.cmd
> 
>
> > 
Andrea
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: Stacy Young Sent: Thursday, May 
12, 2005 1:14 PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Classloader Problem?


Thanks to Jim, we’re 
looking to see if fop.jar is the issue…
 
-Stace
 





From: Stacy 
Young Sent: Thursday, May 12, 
2005 1:00 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Classloader 
Problem?
 
Some of our developers are having trouble running one of our 
apps and wecan't figure out what 
the heck is going on. Error:6 
Errors found. Error 
/com/optimal/raven/resources/raven.css:-1macromedia.css.LocatorParserError Could not 
find class 
'org.nevis.cairngorm.control.FrontController'...I've taken a working EAR on my local machine and tried deploying it onthe other 
workstations with no results...Any ideas on where to look would be much 
appreciated!(Weblogic 8.1 sp3 + 
flex 1.5 w/ Cairngorm)-Stace 
AVIS IMPORTANTWARNING Les informations contenues dans le present document et ses 
pieces jointes sont strictement confidentielles et reservees a l'usage de la 
(des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de 
ces informations est strictement prohibee. Si vous avez recu ce document par 
erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et 
detruire ce document sans en faire de copie sous quelque forme.!  The information contained in this document and attachments is confidential and intended only for the person(s) named above. If 
you are not the intended recipient you are hereby notified that any disclosure, 
copying, distribution, or any other use of the information is strictly 
prohibited. If you have received this document by mistake, please notify the 
sender immediately and destroy this document and attachments without making any 
copy of any 
kind.

AVIS IMPORTANTWARNING Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind.









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Default Text Color?

2005-05-12 Thread michael keirnan







Matt Chotin wrote:

  
  


  
  
  Yep.  I just
use the calculator in Windows
in scientific mode to help me out for stuff like this J
  

ugh, why go through all that trouble?

perl -e 'printf("%x\n", "734012")'

;)

   


  
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
  Sent: Thursday, May
12, 2005 10:07
AM
  To: flexcoders@yahoogroups.com
  Subject: Re:
[flexcoders] Default
Text Color?
  
   
  0x0B333C; right?
  
  - Original Message - 
  From: "JesterXL"
<[EMAIL PROTECTED]>
  To: "Flexcoders" 
  Sent: Thursday, May 12, 2005 12:57 PM
  Subject: [flexcoders] Default Text Color?
  
  
  I suck at math; what is 734012 in hex?
  
  Thanks if you can help.
  
  --JesterXL
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  

  









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.














RE: [flexcoders] Classloader Problem?

2005-05-12 Thread Stacy Young










Thanks to Jim, we’re looking to see
if fop.jar is the issue…

 

-Stace

 











From: Stacy Young 
Sent: Thursday, May 12, 2005 1:00
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Classloader
Problem?



 


Some of our developers are having trouble running
one of our apps and we
can't figure out what the heck is going on. Error:

6 Errors found. 

Error /com/optimal/raven/resources/raven.css:-1
macromedia.css.LocatorParser


Error 
Could not find class
'org.nevis.cairngorm.control.FrontController'...


I've taken a working EAR on my local machine and
tried deploying it on
the other workstations with no results...

Any ideas on where to look would be much
appreciated!

(Weblogic 8.1 sp3 + flex 1.5 w/ Cairngorm)

-Stace 



AVIS
IMPORTANTWARNING Les informations contenues dans le present document et ses
pieces jointes sont strictement confidentielles et reservees a l'usage de la
(des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire,
soyez avise que toute divulgation, distribution, copie, ou autre utilisation de
ces informations est strictement prohibee. Si vous avez recu ce document par
erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et
detruire ce document sans en faire de copie sous quelque forme.!
 The information contained in this document and
attachments is confidential and intended only for the person(s) named above. If
you are not the intended recipient you are hereby notified that any disclosure,
copying, distribution, or any other use of the information is strictly
prohibited. If you have received this document by mistake, please notify the
sender immediately and destroy this document and attachments without making any
copy of any kind.













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Internal popups

2005-05-12 Thread Jeff Beeman










I’ve been scouring the documentation, but I can’t
seem to find how to do something that should be quite simple.  How do I create
a popup window that doesn’t reference an external file?  All examples
point to loading in an external mxml file, but I would like to simply create a
panel that is hidden on startup and have it hide / unhide on different events. 
Is this possible?

 

 

/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/

 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] Default Text Color?

2005-05-12 Thread JesterXL





Rock, that's what I ended up doing; good to know 
it's an accurate way of doing things.
 
Thanks yall!
 
- Original Message - 
From: Matt 
Chotin 
To: flexcoders@yahoogroups.com 
Sent: Thursday, May 12, 2005 1:10 PM
Subject: RE: [flexcoders] Default Text Color?


Yep.  I just use 
the calculator in Windows in scientific mode to help me out for stuff like this 
J
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: Thursday, May 12, 2005 10:07 
AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Default Text 
Color?
 
0x0B333C; right?- Original Message - From: "JesterXL" 
<[EMAIL PROTECTED]>To: 
"Flexcoders" Sent: Thursday, May 12, 2005 12:57 
PMSubject: [flexcoders] Default 
Text Color?I suck at math; 
what is 734012 in hex?Thanks if 
you can help.--JesterXLYahoo! Groups 
Links







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Default Text Color?

2005-05-12 Thread Dave Carabetta
On 5/12/05, JesterXL <[EMAIL PROTECTED]> wrote:
> 0x0B333C; right?
> 

Correct.

Regards,
Dave.


 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Default Text Color?

2005-05-12 Thread Matt Chotin










Yep.  I just use the calculator in Windows
in scientific mode to help me out for stuff like this J

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Thursday, May 12, 2005 10:07
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Default
Text Color?



 

0x0B333C; right?

- Original Message - 
From: "JesterXL"
<[EMAIL PROTECTED]>
To: "Flexcoders" 
Sent: Thursday, May 12, 2005 12:57 PM
Subject: [flexcoders] Default Text Color?


I suck at math; what is 734012 in hex?

Thanks if you can help.

--JesterXL



Yahoo! Groups Links

















Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] Default Text Color?

2005-05-12 Thread Dave Carabetta
On 5/12/05, JesterXL <[EMAIL PROTECTED]> wrote:
> I suck at math; what is 734012 in hex?
> 
> Thanks if you can help.
> 

b333c.

Regards,
Dave.


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Default Text Color?

2005-05-12 Thread JesterXL
0x0B333C; right?

- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flexcoders" 
Sent: Thursday, May 12, 2005 12:57 PM
Subject: [flexcoders] Default Text Color?


I suck at math; what is 734012 in hex?

Thanks if you can help.

--JesterXL


 
Yahoo! Groups Links



 



 
Yahoo! Groups Links

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

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

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




[flexcoders] Classloader Problem?

2005-05-12 Thread Stacy Young

Some of our developers are having trouble running one of our apps and we
can't figure out what the heck is going on. Error:

6 Errors found. 
 
Error /com/optimal/raven/resources/raven.css:-1
macromedia.css.LocatorParser


Error 
Could not find class 'org.nevis.cairngorm.control.FrontController'...


I've taken a working EAR on my local machine and tried deploying it on
the other workstations with no results...

Any ideas on where to look would be much appreciated!

(Weblogic 8.1 sp3 + flex 1.5 w/ Cairngorm)

-Stace 



AVIS 
IMPORTANTWARNING Les informations 
contenues dans le present document et ses pieces jointes sont strictement 
confidentielles et reservees a l'usage de la (des) personne(s) a qui il est 
adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en 
faire de copie sous quelque forme. The information contained 
in this document and attachments is confidential and intended only for the 
person(s) named above. If you are not the intended recipient you are hereby 
notified that any disclosure, copying, distribution, or any other use of the 
information is strictly prohibited. If you have received this document by 
mistake, please notify the sender immediately and destroy this document and 
attachments without making any copy of any kind.



 
Yahoo! Groups Links

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

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

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




[flexcoders] Default Text Color?

2005-05-12 Thread JesterXL
I suck at math; what is 734012 in hex?

Thanks if you can help.

--JesterXL


 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Adding icon to panel?

2005-05-12 Thread Tracy Spratt
What if you put the Panel on a Canvas at 0,0, then put the image/icon
wherever you want on top?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, May 11, 2005 4:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adding icon to panel?

On 5/12/05, Blake Kadatz <[EMAIL PROTECTED]> wrote:
> Is it possible to add an icon to a panel's titlebar?  I've tried:
> 
> 
> 
> but that doesn't seem to work.  If it's not possible to have an icon,

The icons gets embedded just fine.  It just doesn't show because the
Panel is not designed that way.  The icon is used when the Panel is
inside a TabNavigator (for the tabs), for example.

> can anyone suggest a good workaround which will preserve the rounded
and
> shaded look of the titlebar?

It's possible, but not trivial.  You'll have to subclass Panel and
override the createChildren, measure, layoutChildren and draw
functions to display the icon properly, and for that you need to know
something about Panel internals.


 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Anyone seen this...Bueller???

2005-05-12 Thread Tarik Ahmed
Have you tried the licensetool to see what it says?

Rob Dickey wrote:

>Ok, so I'm happily (well, most of the time) coding away in Flex Builder.I am
>using Tomcat as my testing server, which has been working great for months.I
>have a non-trial license for both Flex and FlexBuilder.and much to my dismay
>I get the following message when testing my app within FlexBuilder.
>
>This error comes up during the initialization phase of the app in 8pt red
>font.and I'm done.
>
>"This standalone application was created with the Developer edition of
>Macromedia Flex and has expired. Contact the author of this application for
>a new copy."
>
>Well, at this point I'm asking myself, "self, where can I get another copy
>of the application that you building???"
>
>Sorry for the weak attempt at some humor, but its been a long night with
>deadlines approaching too soon.
>
>TIA for any info.
>
>Rob
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>





 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Debugging objects

2005-05-12 Thread Tracy Spratt










If FlexBuilder, use the watch panel.  Find
your property once, Right-click it, and “Add to Watch List”.

 

Additionally, the Variables page does not
update reliably as you setp through the code, but the Watch Panel does.

 

Tracy

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: Wednesday, May 11, 2005
10:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Debugging objects



 

I’m not quite sure what you’re
looking for.  If the data is nested deep in your object it’s nested
deep in your object.  Are you using fdb or FlexBuilder?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dchilcoat
Sent: Wednesday, May 11, 2005
12:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Debugging
objects



 

I am having a problem with
seeing data in objects when I run the Flex 
debugger.  When I drill down into the
objects, I have a difficult
time 
actually finding the data because there seem to be
so many objects 
within objects.  Does anyone know of a quick
way to get the data?

Thanks in advance for any help I can get.




 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Legend in chart.. What else is coming in 2.0?

2005-05-12 Thread Ely Greenfield










 

 

 

Pekka –

 

    For all the usual boilerplate
reasons, I can’t go into too much detail on what is being considered for
future releases for flex. I can tell you, however, that dual y scale axes is
the absolute top request for charts in flex, and we hear you loud and clear.

 

You can put a LinearAxis on the horizontal
edge of any chart today:

 



   

    

    



 

Ely.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pekka Kola
Sent: Thursday, May 12, 2005 9:17
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Legend
in chart.. What else is coming in 2.0?
Importance: High



 

Hi!

 

What else are you considering for v.2.0? I
would like to see a line chart with double y-scale and linear x-axis for line
chart!

 

5
I
I  100

  
I    *---   
   
I

4
I
I  
I  80

  
I   
I---*  
   
I

3 I
I-*
I  60

  
I   
I

2
I
I---*  
I  40

  
I   
I  
I

1
I
*---I  
I  20

  
I   
I

0
- 
0

   
0  0.5   
1.0   
1.5   
2.0    2.5   
3.0

 

 

 

BR, Pekka

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely
 Greenfield
Sent: 12. toukokuuta 2005 17:42
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Legend
in chart..



 

 

 

 

Yes, you can set 

 



 

And no, you can’t put the horizontal
axis for a chart at the top. It’s something we’re considering for
Flex 2.0

 

Ely.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthik
Sent: Thursday, May 12, 2005 3:21
AM
To: flexcoders
Subject: [flexcoders] Legend in
chart..
Importance: High



 



hai,





    I'd like to know if the
legend for chart can be made horizontal.. by defult the legend items are
aligned vertically, but i want it to be vertical. how to do it?





 





and how do i have the x-axis of a bar  chart at the top instead
the bottom?









Yahoo! Messenger - Communicate
instantly..."Ping" your friends
today! Download Messenger Now


 

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Anyone seen this...Bueller???

2005-05-12 Thread Rob Dickey
Ok, so I'm happily (well, most of the time) coding away in Flex Builder.I am
using Tomcat as my testing server, which has been working great for months.I
have a non-trial license for both Flex and FlexBuilder.and much to my dismay
I get the following message when testing my app within FlexBuilder.

This error comes up during the initialization phase of the app in 8pt red
font.and I'm done.

"This standalone application was created with the Developer edition of
Macromedia Flex and has expired. Contact the author of this application for
a new copy."

Well, at this point I'm asking myself, "self, where can I get another copy
of the application that you building???"

Sorry for the weak attempt at some humor, but its been a long night with
deadlines approaching too soon.

TIA for any info.

Rob



 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Re: FLEX and CF7..

2005-05-12 Thread Tarik Ahmed






Hey Paul did you follow these instructions:

http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html


Paul Lee wrote:

  OK... here is my setup.  CFMX7 Ent.  Full Version..   Also I
have Flex 1.5 Installed.
  I am running CFMX7 under IIS 5 on XP... everything is great.  
   
  Somehow I can see some the funtionality that flex offers in the
"getting started and demo" area of coldfusion.  
   
  I am pointing IIS website to a dir under coldfusionmx7/wwwroot
  Works great again.
   
  Coldfusion has put the "getting started apps" under my IIS
wwwroot in a dir called CFIDE.. again everything is great there also.  
   
  For the life of me can I get the Flex samples to work.  
   
  The .mxml files load in a browser but shows the actual script
(not the output). The .jsp just goes to a dead page not loading
anything.
   
  I am confused as to where to put the flex parts under coldfusion
to work, or since I have the Ent. version how do I use the flex
capabilities in my web apps.  
   
  Fustrating me to death.
   
  Paul
   
   
  
  
  David Gassner <[EMAIL PROTECTED]> wrote:
  If
it's just a question of pricing, it's definitely less expensive 
to buy a separate JRun license - $899 - than to upgrade from CFMX 
Standard to CFMX Enterprise, which lists at $5,999.  The limitation 
is that you won't be able to wrap Flex and CFMX into a single 
server - the best you'll be able to do is to have them run side-by-
side using different ports.

As to the qualitative differences between JRun and Tomcat, it 
depends on what you're doing with Flex.  If the goal is to use Flex 
to communicate with Java classes as remote objects, I'd rather host 
Flex within JRun than Tomcat, if only for the more powerful 
administrative interface.  But if you're limiting yourself to 
communicating with ColdFusion CFC's through Flash Remoting, the Flex 
server will have minimal work to do, and JRun might be overkill.

Either way, without CFMX Enterprise, you'll have to run a separate 
J2EE server, as with CFMX Standard you can't separate CF from its 
integrated JRun.

As to why Macromedia includes Flex with CF Ent but not Flex, the 2 
product management teams would be the only ones qualified to comment.

And all that having been said, definitely talk to your Macromedia 
sales rep as Matt recommended - who knows what miracles they can 
accomplish?

David Gassner
Schooner Technical Media


--- In flexcoders@yahoogroups.com, Scott Barnes
<[EMAIL PROTECTED]> 
wrote:
> For now we are going to use TomCat to tide us over until we figure
> things out... you'd think for the bucks we paid, JRUN full license
> would of been thrown in ;) hehe.
> 
> 
> 
> On 5/12/05, Matt Chotin <[EMAIL PROTECTED]> wrote:
> >  
> >  
> > 
> > Er, I don't think the JRun license is a full license with
Flex, 
it's just a
> > trial license. 
> > 
> >   
> > 
> > Scott, I'd just talk to your sales rep and see what makes
sense 
for your
> > needs.  I have no idea how the pricing works on JRun vs. CF 
Enterprise. 
> > 
> >   
> >  
> >  
> >  
> > 
> > From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On
> > Behalf Of Scott Barnes
> >  Sent: Wednesday, May 11, 2005 9:32 PM
> >  To: flexcoders@yahoogroups.com
> >  Subject: Re: [flexcoders] FLEX and CF7.. 
> > 
> >   
> > 
> > well the actual legal (Commercial) FLEX license is being sent
> >  (currently FEDEX) but i have the serial, and simply used the
> >  downloadable version to install.
> >  
> >  that being said, once i provide the serial it doesn't ask
how i 
want
> >  it installed, but simply installs the WAR?
> >  
> >  am i missing something from this equation?
> >  
> >  On 5/12/05, Cliff Meyers <[EMAIL PROTECTED]> wrote:
> >  > If you purchase a Flex license it comes with a full
license 
of JRun.
> >  > When you run the Flex installer you can either have it
create 
a .war
> >  > file to deploy to an existing J2EE server, or choose to

install JRun4
> >  > on your server and then put Flex on top of it.  The
same is 
true of
> >  > ColdFusion MX7: if you spring for an Enterprise license
you 
can
> >  > install CF with a full version of JRun4, or as a .war
to 
deploy to any
> >  > other J2EE server.  You could also install CFMX7 in 
Standalone mode,
> >  > but IMHO this would be waste since you'd be sacrificing
the 
full J2EE
> >  > capability (Servlets, JSPs, EJBs, etc) as well as some
other 
features
> >  > in CFMX7 Enterprise Edition.  If you want to deploy
CFMX7 and 
Flex on
> >  > top of the same J2EE server (be it the "free" JRun you
get 
with the
> >  > CF/Flex licenses or any other J2EE server) you're still
going 
to need
> >  > the CFMX7 Enterprise edition.
> >  > 
> >  > If you are looking for the most cost-effective route,
you can 
do the
> > following:
> >  > 
> >  > (1) Buy a Flex license and install it on a box with the
full 
version
> > 
> >  > of JRun that's included,
> >  > (2) Buy a CFMX7 Standard l

Re: [flexcoders] New Guy (aka CF7 + Flex)

2005-05-12 Thread Tarik Ahmed
Were you guys able to get CF7+Flex going where your Flex and CF are 
running under the same Jrun instance with a shared context root in that 
you can put your CF and Flex files in the same dir and have no issues 
with remoting and such?


Ben Elmore wrote:

>We are about to deploy on a configuration of CF7/Flex (prod is
>multi-instance while my local dev is standalone) so it works. I worked with
>Peter Farland (well he did most of it) and created the necessary web.xml
>file to get these to work together. I have attached it. 
>
>You will need to install Flex on your server obviously.
>
>Best.
>
>Ben
>
>-Original Message-
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of lamynes03
>Sent: Thursday, May 12, 2005 12:32 AM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] New Guy
>
>
>I have coldfusion mx7 and now flex 1.5, I can't seem to get flex to 
>run with coldfusion.  The trial version has the java side installed 
>with it, but with the full version... nothing.
>
>Coldfusion has java built in, but I can't open .jsp or .mxml files 
>from my site. 
>
>Thank you,
>
>Paul
>
>  
>





 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Re: FLEX and CF7..

2005-05-12 Thread Paul Lee



OK... here is my setup.  CFMX7 Ent.  Full Version..   Also I have Flex 1.5 Installed.
I am running CFMX7 under IIS 5 on XP... everything is great.  
 
Somehow I can see some the funtionality that flex offers in the "getting started and demo" area of coldfusion.  
 
I am pointing IIS website to a dir under coldfusionmx7/wwwroot
Works great again.
 
Coldfusion has put the "getting started apps" under my IIS wwwroot in a dir called CFIDE.. again everything is great there also.  
 
For the life of me can I get the Flex samples to work.  
 
The .mxml files load in a browser but shows the actual script (not the output). The .jsp just goes to a dead page not loading anything.
 
I am confused as to where to put the flex parts under coldfusion to work, or since I have the Ent. version how do I use the flex capabilities in my web apps.  
 
Fustrating me to death.
 
Paul
 
 
David Gassner <[EMAIL PROTECTED]> wrote:
If it's just a question of pricing, it's definitely less expensive to buy a separate JRun license - $899 - than to upgrade from CFMX Standard to CFMX Enterprise, which lists at $5,999.  The limitation is that you won't be able to wrap Flex and CFMX into a single server - the best you'll be able to do is to have them run side-by-side using different ports.As to the qualitative differences between JRun and Tomcat, it depends on what you're doing with Flex.  If the goal is to use Flex to communicate with Java classes as remote objects, I'd rather host Flex within JRun than Tomcat, if only for the more powerful administrative interface.  But if you're limiting yourself to communicating with ColdFusion CFC's through Flash Remoting, the Flex server will have minimal work to do, and JRun might be overkill.Either
 way, without CFMX Enterprise, you'll have to run a separate J2EE server, as with CFMX Standard you can't separate CF from its integrated JRun.As to why Macromedia includes Flex with CF Ent but not Flex, the 2 product management teams would be the only ones qualified to comment.And all that having been said, definitely talk to your Macromedia sales rep as Matt recommended - who knows what miracles they can accomplish?David GassnerSchooner Technical Media--- In flexcoders@yahoogroups.com, Scott Barnes <[EMAIL PROTECTED]> wrote:> For now we are going to use TomCat to tide us over until we figure> things out... you'd think for the bucks we paid, JRUN full license> would of been thrown in ;) hehe.> > > > On 5/12/05, Matt Chotin <[EMAIL PROTECTED]> wrote:> >  > >  > > > > Er, I don't think the JRun license is a full
 license with Flex, it's just a> > trial license. > > > >   > > > > Scott, I'd just talk to your sales rep and see what makes sense for your> > needs.  I have no idea how the pricing works on JRun vs. CF Enterprise. > > > >   > >  > >  > >  > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> > Behalf Of Scott Barnes> >  Sent: Wednesday, May 11, 2005 9:32 PM> >  To: flexcoders@yahoogroups.com> >  Subject: Re: [flexcoders] FLEX and CF7.. > > > >   > > > > well the actual legal (Commercial) FLEX license is being sent> >  (currently FEDEX) but i have the serial, and simply used the> >  downloadable version to
 install.> >  > >  that being said, once i provide the serial it doesn't ask how i want> >  it installed, but simply installs the WAR?> >  > >  am i missing something from this equation?> >  > >  On 5/12/05, Cliff Meyers <[EMAIL PROTECTED]> wrote:> >  > If you purchase a Flex license it comes with a full license of JRun.> >  > When you run the Flex installer you can either have it create a .war> >  > file to deploy to an existing J2EE server, or choose to install JRun4> >  > on your server and then put Flex on top of it.  The same is true of> >  > ColdFusion MX7: if you spring for an Enterprise license you can> >  > install CF with a full version of JRun4, or as a .war to deploy to any> >  > other J2EE server. 
 You could also install CFMX7 in Standalone mode,> >  > but IMHO this would be waste since you'd be sacrificing the full J2EE> >  > capability (Servlets, JSPs, EJBs, etc) as well as some other features> >  > in CFMX7 Enterprise Edition.  If you want to deploy CFMX7 and Flex on> >  > top of the same J2EE server (be it the "free" JRun you get with the> >  > CF/Flex licenses or any other J2EE server) you're still going to need> >  > the CFMX7 Enterprise edition.> >  > > >  > If you are looking for the most cost-effective route, you can do the> > following:> >  > > >  > (1) Buy a Flex license and install it on a box with the full version> > > >  > of JRun that's included,> >  > (2) Buy a CFMX7 Standard license and
 install it on a different box in> >  > Standalone mode> >  > > >  > You might also be able to run them side by side on the same box, but> >  > usually I think MM will discourage that behavior since having two JRun> >  > servers on the same box will probably cause issues.  Port conflicts> >  > immediately jump to mind since differe

RE: [flexcoders] Legend in chart.. What else is coming in 2.0?

2005-05-12 Thread Pekka Kola










Hi!

 

What else are you considering for v.2.0? I
would like to see a line chart with double y-scale and linear x-axis for line
chart!

 

5
I
I  100

  
I    *---   
   
I

4
I
I  
I  80

  
I   
I---*  
   
I

3
I
I-*
I  60

  
I   
I

2
I
I---*  
I  40

  
I   
I  
I

1
I
*---I  
I  20

  
I   
I

0 - 
0

   
0  0.5   
1.0   
1.5   
2.0    2.5   
3.0

 

 

 

BR, Pekka

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely Greenfield
Sent: 12. toukokuuta 2005 17:42
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Legend
in chart..



 

 

 

 

Yes, you can set 

 



 

And no, you can’t put the horizontal
axis for a chart at the top. It’s something we’re considering for
Flex 2.0

 

Ely.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthik
Sent: Thursday, May 12, 2005 3:21
AM
To: flexcoders
Subject: [flexcoders] Legend in
chart..
Importance: High



 



hai,





    I'd like to know if the
legend for chart can be made horizontal.. by defult the legend items are
aligned vertically, but i want it to be vertical. how to do it?





 





and how do i have the x-axis of a bar  chart at the top instead
the bottom?









Yahoo! Messenger - Communicate
instantly..."Ping" your friends
today! Download Messenger Now


 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Pass variable to mx:image tag

2005-05-12 Thread Matt Horn





You can append query string params to pass variable data to 
an included SWF. psuedoexample:
 
var src = "" + 
myVar;...

 
HTH,
 
matt horn
flex docs
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  cazzaranSent: Thursday, May 12, 2005 11:51 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Pass variable to 
  mx:image tag
  I need to include an external SWF file that takes variables to 
  display some content. It's just a banner, so the mx:Image tag is 
  sufficient, except that I can't figure out how to pass variable 
  information to it. There's talk of a flashVar tag, but that's for JSP, and 
  it doesn't look like there's an equivilant mxml tag.My include is 
  basic, and looks like Any help 
  is appreciated!-Josh







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Pass variable to mx:image tag

2005-05-12 Thread cazzaran
I need to include an external SWF file that takes variables to display 
some content. It's just a banner, so the mx:Image tag is sufficient, 
except that I can't figure out how to pass variable information to it. 
There's talk of a flashVar tag, but that's for JSP, and it doesn't look 
like there's an equivilant mxml tag.

My include is basic, and looks like 

Any help is appreciated!

-Josh




 
Yahoo! Groups Links

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

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

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




[flexcoders] CurrencyFormatter

2005-05-12 Thread jonbez
Hi Everyone,

I need to be able to display an amount in the following format:

15,99$

I use the following currency formatter, but it does not seem to work.



(The original amount comes in as 15.99).

The above formatter works fine if I change the decimalSeperatorTo to
"." (which is of course not what I want).

Any ideas?

Thank you

Jonathan




 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] How can I show validation error message with ActionScript progrmming?

2005-05-12 Thread michael keirnan






the errorString property of UIComponent causes the red borders and
rollover error tip. errorString is set by the default validation
listener when it gets errors.

so you'll need to do something like this:

  - write a validation listener that does not set errorString, but
instead presents the error how you like

  - set the listener property of your validators to point at your new
listener (your listener could extend UIComponent
 if you want to easily drop one in your MXML pages, but it does not
have to be)

one thing to be careful of: the default flex validation system has
internal knowledge of data bindings. that is, you point a validator at
a model object, and the default validation listener automagically knows
what UIComponent to associate with errors. your listener does not have
this knowledge, so if you do need to associate errors with fields you
have to declare or configure them somehow. it sounds like you may not
care about this association.

   

cto wrote:

  
  
  
  
  Hi~
  
I want to show a validation error messgae with ActionScript.
  
I general, if there is invalid data in form with validator, user can
see the 
error message(ErrorTip) when he rollover the formItem.
  
But, my customer want to show this error message without mouse rollOver.
  
Do you have any idea?
  










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.














[flexcoders] Re: Lose reference to my Validator object after an asynchronous call

2005-05-12 Thread jgserrault
Could you perhaps just use/call the isStructureValid() function of 
the validator class whenever you return from the remote call.  Seems 
like it might be the easiest way to deal with this AND just give one 
last check of the form fields.


--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I'm doing an async call (using the Pending call procedure) in my 
> extended TextInput (which has a  object attached).
> 
> I save the validator object reference in a class variable (so i can 
> use it in the result handler later on), but when I return to the 
> result handler i dont get the red box appearing.
> 
> I have a work around for this but i wanted to make sure i wasn't 
> doing something wrong.
> 
> Here's some test code. You will need to make your own async call 
> (mine's checking to see if a code exists and returning a 
> description...standard stuff!).
> 
> 
> test.mxml
> -
> 
> http://www.macromedia.com/2003/mxml"; 
> xmlns:nx="*" backgroundColor="#C0DCC2">
> 
>endpoint="http://localhost/flashremoting/gateway.aspx"; 
> source="FlexTestClassLibrary.Class1" showBusyCursor="true" 
> fault="alert(event.fault.faultstring, 'Error')"/>
>  
>   
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
> 
> 
> 
> 
> myTextInput.mxml
> 
> http://www.macromedia.com/2003/mxml"; >
> 
> 
>   {text}
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: Setting percentage value by setValue

2005-05-12 Thread Sho Kuwamoto





I believe the problem is that you didn't set 
maintainAspectRatio="false" on the image.
 
Try this:
http://www.macromedia.com/2003/mxml" width="100%" 
xmlns="*">maintainAspectRatio="false" 
/> 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
sreejithunniSent: Thursday, May 12, 2005 2:58 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Setting 
percentage value by setValue
Manish, I did try that ...For example, in the CellRenderer if 
I use a mx:Text it displays the % value but does not work for anything else 
such as mx:Image or mx:HBox.http://www.macromedia.com/2003/mxml" 
width="100%" xmlns="*">--- In flexcoders@yahoogroups.com, 
Manish Jethani <[EMAIL PROTECTED]> wrote:> On 5/12/05, 
sreejithunni <[EMAIL PROTECTED]> wrote:> > The "str" is a 
variable! that gets passed on to the cellRenderer from> > the 
dataprovider of the datagrid. If, the value passed on is x, I want> 
> to set the width of the image to x%.> > So why not do the 
following?> >  colorBar.width = str + "%";







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Legend in chart..

2005-05-12 Thread Ely Greenfield










 

 

 

Yes, you can set 

 



 

And no, you can’t put the horizontal
axis for a chart at the top. It’s something we’re considering for
Flex 2.0

 

Ely.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthik
Sent: Thursday, May 12, 2005 3:21
AM
To: flexcoders
Subject: [flexcoders] Legend in
chart..
Importance: High



 



hai,





    I'd like to know if the
legend for chart can be made horizontal.. by defult the legend items are
aligned vertically, but i want it to be vertical. how to do it?





 





and how do i have the x-axis of a bar  chart at the top instead
the bottom?









Yahoo! Messenger - Communicate
instantly..."Ping" your friends
today! Download Messenger Now











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












  1   2   >