Hi Mohanraj,
CF needs named parameters when dealing with complex types passed as CFC
arguments. You have to wrap the object you want to send to the CFC into another
wrapper object. Inside the wrapper you define properties for every named
argument. This should work:
// AS snippet
//
Every modal popup has a property called modalWindow which points to the
MovieClip that was used to create the modal layer. Good ol' setRGB on that
thing should work:
var win = mx.managers.PopUpManager.createPopUp(this, mx.containers.Panel,
true);
var c:Color = new Color(win.modalWindow);
heh.. thanks *feels stupid* ;)
On Thu, 24 Mar 2005 10:10:56 +0100, Dirk Eismann
[EMAIL PROTECTED] wrote:
Every modal popup has a property called modalWindow which points to the
MovieClip that was used to create the modal layer. Good ol' setRGB on that
thing should work:
var win =
1. for..in loops walk through the object or array with a stack based
order, so u can never know for sure if it's the exact reverse order
unless u added the elements to the array yourself one after another and
didn't modify the array.
2. Why would u populate your array like this? If u want only
Hi to everyone,
Ideveloped a e-commerce solution based on
drag'n'drop. I split the main application in small sub-applications so I can
load every section only if it's necessary.
I load every section in a Loader object inside a
Panel (as in Flex samples - drag'n'drop).
I have a component
Hi All.
I have been messing with custom preloader stuff and a few questions have
come up which I can't seem to find answers to, so I am turning to the
guru's. Basically I want to control what my preloader looks like (this
part is pretty straight forward), but I also want this preloader to stay
Hi, i'm trying to use the examples in chapter 20 of flex book, all work
fine,
but in my delegate class i have put this
public function onResult( result ) : Void
{
var sviluppo:CTabellaSviluppoVO = (CTabellaSviluppoVO) result;
On behalf of my colleague, Dipti Mane.
Hello All,
I'm trying to load an asp file by using XML.load() method in an
application. This asp file resides on a different server and
the crossdomain.xml file cannot be in the root folder of the server.
Flex documentation says that it's possible to
There is a general debug strategy for an application built with
Cairngorm, that quickly lets you identify where your problem lies.
1. Confirm that your event is being broadcast to controller
2. Confirm that your command class you expect to run is running
3. Confirm that your
Hi Steven,
i have 2 mxml file one principal and one component (canvas).
I have put in my principal file this
controller=new PdmController();
EventBroadcaster.getInstance().broadcastEvent(fetchSviluppo,vopf[0]);
and in my compoment
SchedaSviluppo id=schedasviluppo
var sviluppo:CTabellaSviluppoVO = (CTabellaSviluppoVO) result;
In this line u mixed java syntax with AS2. To cast a variable to a
certain type format your code like this:
var sviluppo:CTabellaSviluppoVO = CTabellaSviluppoVO(result);
This works with all custom types and with most build in
On Thu, 24 Mar 2005 10:25:39 +0100, Alessio Prosperi [EMAIL PROTECTED] wrote:
If I run drag.mxml the drag starts correctly. If I run main.mxml the drag
doesn't start: I must use mouseMove instead of mouseDown event. Is this a
Flex bug?
I tried your example, and the drag starts just fine in
What do you have in crossdomain.xml? Are you adding the correct domain or
IP?
It should be like this:
##crossdomain.xml##
cross-domain-policy
allow-access-from
domain=domain_or_ip_of_flex_or_flash_app_loading_data /
/cross-domain-policy
Please post the content of your crossdomain.xml
On Wed, 23 Mar 2005 20:34:43 -, Nick [EMAIL PROTECTED] wrote:
var newPanel:Panel = new Panel(WindowName())
So assuming you have a canvas that you want to create the window on,
you would do the following:
var newPanel:Panel = Panel(canvas.createChild(WindowName, , {...}));
// ... is the
It is. I guess I can only get non-expiring
SWF's with a true, full license then?
- Original Message -
From: Matt
Chotin
To: flexcoders@yahoogroups.com
Sent: Wednesday, March 23, 2005 11:06 PM
Subject: RE: [flexcoders] SWF Timeout
Make sure that
license.properties is filled in
On Wed, 23 Mar 2005 15:17:15 -0800, Jack Waknitz [EMAIL PROTECTED] wrote:
I am trying to figure out how to attach a custom component to an
application using actionscript. I'm using a repeater with a function
on the repeat event. Inside that function what would I do to create
the custom
On Wed, 23 Mar 2005 21:43:55 -, viraf_bankwalla
[EMAIL PROTECTED] wrote:
1. How specify an alternat set of keys for movement within the
datagrid. I would like to use the up, down, right, left arrows.
The Up and Down keys already work for navigating between the rows. If
you want to use
Hi,
It appears that my HTTPService requests are being cached (I do not
see the request being made to the application). How can I disable
the caching of these requests ?
Thanks.
Yahoo! Groups Links
* To visit your group on the web, go to:
On Wed, 23 Mar 2005 21:43:55 -, viraf_bankwalla
[EMAIL PROTECTED] wrote:
1. How specify an alternat set of keys for movement within the
datagrid. I would like to use the up, down, right, left arrows.
To make Up/Down work while a cell editor is present, we ended up
overriding the
sorry Matt, but i haven't understand you can explain me please? :-(
I have also post this question in Macromedia Italia tech (Enrique)
but without success because if you look our binding , it's ok work, but
i think that there are a better solution than ours.
I make you an example that yesterday
Is it just me, or
are custom control (actionscript) components really really difficult to get your
head around?
I am struggling with
just about every aspect of creating custom controls, from deciding what to
extend, through sizing/layout,right down to event
handling.
I have created
On Wed, 23 Mar 2005 10:58:48 EST, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I hope this is not a silly question but what I want to do is make a label
but give it a border sort of a 3 D appearance and I was wondering if someone
could give me some tips on how to do this or if there is a better
On Thu, 24 Mar 2005 13:42:12 -, viraf_bankwalla
[EMAIL PROTECTED] wrote:
It appears that my HTTPService requests are being cached (I do not
see the request being made to the application). How can I disable
the caching of these requests ?
I think the web browser caches the results by
On Wed, 23 Mar 2005 01:01:43 -0700, Jeff Krueger [EMAIL PROTECTED] wrote:
this.createSegment(Folder,,Users,);
this.createSegment(Folder,,Users2,);
Do this in createChildren() instead.
Manish
Yahoo! Groups Links
* To visit your group on
Yes, but remember you have no REAL control over how a client caches a
page. Several major browser munge the way they handle caching and/or
offline browsing. There could be multiple caches between the end user
and the server, and one or more of these may totally ignore cache meta
tags. Not
On Wed, 23 Mar 2005 10:14:10 -0500, Dave Carabetta [EMAIL PROTECTED] wrote:
Manish posted an editable date field sample on Flex Authority.
Also here:
http://manish.revise.org/archives/2005/02/27/editabledatefield-component/
Manish
Yahoo! Groups Links
* To visit your group on the web, go
On Wed, 23 Mar 2005 12:49:47 +0100, Dirk Eismann
[EMAIL PROTECTED] wrote:
No need for a ScrollPane as all components that subclass mx.core.View support
scrolling (e.g. VBox)
Bit of a correction: All components that subclass either
mx.containers.Container or mx.core.ScrollView support
Jack Waknitz wrote:
I'm trying to make a app that will look through an xml file and decide
what components to use for each item based on some meta data. So
I'm thinking about puting the createChild tag within the function
based on if statements to choose between a few different compontents
On Wed, 23 Mar 2005 13:53:49 +1000, Scott Barnes [EMAIL PROTECTED] wrote:
- ControlBar? what skin / class does it load to change the skins - i
ask this as the bordering capabilities for this is pretty slack and i
need to hijack it.
The ControlBar is drawn in RectBorder.as
Manish
Yahoo!
On Tue, 22 Mar 2005 15:41:04 -0800, Blake Kadatz [EMAIL PROTECTED] wrote:
Perhaps it's possible to set the
change event for each after the initial send() completes or disable the
event until then?
Yes, you could set up the 'change' event handler in the
creationComplete instead once
On Tue, 22 Mar 2005 20:41:44 -, Nick [EMAIL PROTECTED] wrote:
Say I have an array, {Foo}. inside the window I have a data grid that
takes foo. I want to say something like:
popupWindow(AssignmentWindow({Foo}))
I think you should be using PopUpManager.createPopUp() there?
to pass Foo
On Thu, 24 Mar 2005 14:12:07 -, Shell Bryson
[EMAIL PROTECTED] wrote:
Yes, but remember you have no REAL control over how a client caches a
page. Several major browser munge the way they handle caching and/or
offline browsing. There could be multiple caches between the end user
and the
I feel u there,
I myself want to create components that are fully
functional, skinnable and fit right into the V2 architecture. I havent been able
to put my head around it yet. I think i found the the same PDF u are talking
about (Developing Flex Components and Themes in Flash Authoring)
Can I cast that to, in my example, a Folder class?
yes, you can:
var folder:Folder = Folder(this.createSegment(Folder,,Users,));
Dirk.
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
Is there a way to force the tile list not to wrap at all? say I want
to list all items horizontally on one row... is that possible? if not
I have another idea how to do this... just curious...
thanks!
--
My Blog
http://www.clinttredway.com
Are you diabetic?
http://www.diabetesforums.com
I was able to find a work around...kind of. Instead of
relying on data binding in my custom cell renderer I now set the new "source"
value for the Image inside the setValue() function (see the code below). This
seems to fix the image disappearance problem. But now I have a new problem. I
Manish
posted a good article from the Macromedia Devnet Flex site:
http://www.macromedia.com/devnet/flex/articles/creating_comp.html
I have
yet to go through the article in detail and try it out with my own home-brewed
component. From a quick scan it looks quite in depth, but
simple.
Flexcoders,
I need help populate a tree with the data returned by a remote object.
The remote object extracts some rows from the db and wrap them in value objects, ObjectLines and each Object Line has these properties
ObjectLine with attribues:===- row1, A,B,C
ObjectLine===- row2, A,B,C
lol - ya know,, I forgot about that one... my brain is on overload ATM...
On Thu, 24 Mar 2005 11:10:18 -0500, jeff tapper [EMAIL PROTECTED] wrote:
Sounds like a better use for the HorizontalList component
At 10:25 AM 3/24/2005, you wrote:
Is there a way to force the tile list not to wrap
I hope I will be able to explain everything that is going on.
I built a sublclass of the accordion control and the canvas
container and use the canvas in the accordion. I first did this with mxml
files and got the concept working with hard coded data etc. I am now
working on converting
I understand that there are two recommended ways to keep your Flex
app on disk under Tomcat:
1) webapps/flex/myApp
2) webapps/myApp/WEB-INF/flex
We are currently using the second method and when Tomcat first
loads, the apps take up about 9MB of RAM each. Is there a way to
Hello all,
Quick question. Are there any updates about flex being ported to .Net
natively? We are running into some clients who really like flex but
dont want to drop the current .Net infrastructure.
Any thoughts / suggestions?
Thanks
Pushkar
Yahoo! Groups Links
* To visit your group
You could use web services! Works like a bomb. If using cairngorm, a rewrite
to Remote Objects when Flex 2.0 ships is a matter of changing Services.mxml.
If you want remoting but don't want to wait for 2.0, you could use FlashORB
Remoting .NET 1.5 in the mean time (or forever, possibly)
I used a HTTP Service and ran the debugger. The elements still have
the rdf: namespaces on their attribute resource. So I have no idea
how to get to that. Any other ideas? I'm stumped.
On Tue, 22 Mar 2005 22:21:43 -0800, Matt Chotin [EMAIL PROTECTED] wrote:
I don't have time to setup
That is awesome indeed.
cairgorm is very helpful, and we are using parts of the websiervices
thing.. i guess i want to make life *dead simple* from an integration
perspective. Too much laziness on our part i think.
Thanks again Robert!
:)
pushkar
On Thu, 24 Mar 2005 19:29:53 +0200,
Dear Sirs,
I am newer for Flex.
When I try Flex found difference between version 1.0 and 1.5.
The Flex 1.0 had command-line compiler, and 1.5 haven't. That is true?
I try command line mode as like as version 1.0, the system show error
message Error: could not found JVM.
I sure I installed
Hi Dirk,
Thanks for your suggestion. But my condition differs
from your example.
Lets assume I had an AS Class 'MyClass.as'
I am trying to do something like this in my MXML
var o:Object = new MyClass();
I build an 'array of structures' in MyClass Object
and I do pass the complex Object as
I had a problem similar to this. The compiler does in fact exist. In
Flex 1.0 you could stick it in the path and it would execute just fine
as long as you gave absolute paths to everything it was looking for.
This doesn't appear to be true for 1.5. Flex support communicated to me
that you are
At work we figured out how to do this a little while back for the
Tartan Framework (http://www.tartanframework.org). If you download the
code, take a look at the file /tartan/vo/ValueObject.cfc, and in
particular the getFlashRemotingData() and setFlashRemotingData()
methods.
On Thu, 24 Mar
Jason,
have you checked the install documentation.
very simply put, the rendering file is an XML. At compile time, the
xml (in this case an MXML) is compiled into a flash (.swf) file.
You can use this file to deploy the app, assuming al other magic you
did to get data , send data etc is also
I figured out a solution to the namespace problem. Do it in
actionscript and use [rdf:resource].
Full solution here:
http://pbj.ctlt.wsu.edu/wackynuts/archive/2005/03/24/2898.aspx
On Thu, 24 Mar 2005 10:23:04 -0800, Jack Waknitz [EMAIL PROTECTED] wrote:
Here's a screne shot of my watch file
The Flex 1.0 had command-line compiler, and 1.5 haven't. That is true?
Both Flex 1.0 and Flex 1.5 include a command-line compiler.
I try command line mode as like as version 1.0, the system show error
message Error: could not found JVM.
I sure I installed the JDK/JRE version 1.5 and
I am looking for ActionScript/Java data type mapping Document. Can someone
pass me the link or resource where I can refer.
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
Hello,
I am evaluating Flex. We have flash Remoting calling some servlets
running on Websphere 5.1, and for my eval I am trying to build a
similiar interface to them. So far I cannot find an example of how to
do this (call a servlet with arguments) so I was hoping someone here
could show me a
It was brought to my notice today that the archives at
mail-archive.com expose the email addresses of the members, and that
this might be a privacy concern for some members. Those members
concerned about this issue should read on. The rest can safely ignore
this message and move on to more
Mohanraj,
I learned it the hard way. There are two ways to do it.
1.
Flex side:
var toPass = new MyClass();
toPass.var1 = value;
toPass.var2 = value;
remoteObject.cfFunction ( toPass );
CF Side:
cffunction name=cfFunction access=remote
cfargument name=var1
cfargument
Libby,
If you are returning a chunck of XML one simple option
is to call your servlet using the HTTPService Flex
control. Using this approach you can attach the
result to a data provide and Flex will wire it all up
for you. An example of this can be found here [1].
It uses a JSP page instead
On Thu, 24 Mar 2005 09:55:33 -0700, Jeff Krueger [EMAIL PROTECTED] wrote:
If I override the init function the code doesn't work. If I
add an event listener to the initialize event with the same code everything
works. Any thoughts on this??
Are you calling super.init() from inside your init
On Thu, 24 Mar 2005 07:16:11 -0800 (PST), Valy Sivec
[EMAIL PROTECTED] wrote:
function onResult( event ) : Void
{
var xml:XML = mx.utils.XMLUtil.createXML(event.result);
var xmlnodeRoot:XMLNode = xml.firstChild;
treeNavigation.dataProvider = xmlnodeRoot;
}
I think this should work:
James,
If you don't want the loader to go away after the application's
creationComplete event, override the creationComplete function in your
application and have it do nothing.
Then call preloadObj.pBar.removeMovieClip(); when you want to get rid of
the preloader.
Note that if you
I understand that .NET web services could be accessed
easily enough, but how does that solve Pushkar's dilemma? Wouldn't his client
still have to expand their infrastructure to support a J2EE app server? That
could be expensive, not to mention a hard sell from if the client is doing their
Manish,
I tried that and the "tree" will display [Object object] in the listI don't know if I made it clear that the remote object returns a list of value objects, lets say ValueObject. One of the properties I want to become the node and the others to be the leafs of the node. I
No, I'm returning an array of javabeans. At this point I am wondering
if it is even possible to call a servlet from Flex since they don't
have an example of doing it. I have successfully invoked some other
java objects, but not servlets so far.
--- In flexcoders@yahoogroups.com, Harris Reynolds
On Thu, 24 Mar 2005 12:42:36 -0800 (PST), Valy Sivec
[EMAIL PROTECTED] wrote:
I tried that and the tree will display [Object object] in the list
So you need to set the 'labelField' property on the Tree object.
Manish
Yahoo! Groups Links
* To visit your group on the web, go to:
Libby,
It is definitely possible to invoke a servlet from
Flex b/c I have done it successfully. If you invoke a
custom servlet though, the burden is on you to return
data in a format that Flex can understand.
I guess I am wondering why you want to invoke a custom
servlet; it seems like you
Thanks Manish
Now I see the label node but I want to add/set the leafs for each node to be theremaining properties of the value object
Thank You,
ValiManish Jethani [EMAIL PROTECTED] wrote:
On Thu, 24 Mar 2005 12:42:36 -0800 (PST), Valy Sivec[EMAIL PROTECTED] wrote: I tried that and
Hi,
Just need a sanity check.
It appears that newNode=parentNode.addTreeNode() returns the
newly added node, if I then want to obtain the index of that newly added node
wouldnt I do something like index = treeObj.dataProvider.indexOf(newNode)
?
TIA
Yahoo! Groups
Sorry I'm an idiot. I do have it working by overriding the init() function.
My problem had to do with the casting I was doing in my accordion with the
createSegment.
As for the dataProvider. In the example below I just had a public variable
in my subclass, so there really wasn't any setter. I
Hi,
I think it is stupid question but I could not figure it out. I have
an image in a Loader and I am not getting vertical as well as horizontal
scroll bars when I zoom in the image. How to get scroll bars (both) on an
image when user zoom it? I even tried with canvas but no help. Please
Kris,
Yes, that is indeed true. the 'mixed' environment doesnt really go
away fully.
May be we just have to wait for a native .Net flex app?
Pushkar
On Thu, 24 Mar 2005 15:39:06 -0500, Kristopher Schultz
[EMAIL PROTECTED] wrote:
I understand that .NET web services could be accessed easily
I don't think you are missing anything. We have a similar problem in
our shop. We're primarily .NET here and to use flex we have to
support a completely different platform. We're mostly just waiting
for the .NET version. When that's released we'll port our
applications to it and dump the J2EE
Just a follow up on this...the tree I have is seeded with a few nodes;
however, when I dynamically add the branches/leafs to those seeded nodes,
the indexOf call fails on the newly added nodes.
Perhaps I'm running into the grandchildren note the API docs refers too
re: this method...however, if
Hi,
Please see
http://livedocs.macromedia.com/flex/15/flex_docs_en/2246.htm
http://livedocs.macromedia.com/flex/15/flex_docs_en/0778.htm
-lin
From: Shahnavaz Alware
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005
2:50 PM
To:
Try
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm
and go to Using Data Services - Working with remote
object services - Converting data from *
Andrew
From: Shahnavaz Alware
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005
1:50
On Thu, 24 Mar 2005 16:16:18 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:
I think it is stupid question but I could not figure it out. I have
an image in a Loader and I am not getting vertical as well as horizontal
scroll bars when I zoom in the image. How to get scroll bars
On Thu, 24 Mar 2005 13:07:48 -0800 (PST), Valy Sivec
[EMAIL PROTECTED] wrote:
Now I see the label node but I want to add/set the leafs for each node to be
the remaining properties of the value object
You might have to massage the object into a format that would work.
Original:
object
Well, my custom servlet already exists. I have read all I can find on
RemoteObject and have not discovered any mention of servlet, either
mine or flex's. Could you tell me exactly where you are looking to get
your info?
Thanks,
Libby
--- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL
Try
mx:Styles
global { modalTransparency: #88 }
/mx:Styles
- Gordon
-Original Message-
From: Scott Barnes [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 1:23 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Modal Transparency Color
heh.. thanks *feels
I dont believe thats how it
works but I dont know the details. How are you compiling, through the
server or through mxmlc? When the server starts check the console window (or
just check flex.log in web-inf/flex/logs) and see what prints out for the
license info.
Matt
From:
Beyond this though, are you using a JSP or
servlet to return the data? I have found these cache settings to work in all
browsers Ive tried:
response.setHeader(Cache-Control,
no-cache);
response.setDateHeader(Expires,
94608000L); //Approx Jan 1, 2000
response.setHeader(Pragma,
Glad you found the way to access those
variables. Im not sure why the namespace was included in the name though,
it should have been stripped out. Can you please file the issue at http://www.macromedia.com/go/wish and
well see if we can make sure something like this is handled in future
This one I was able to help I hope J
?xml version=1.0
encoding=utf-8?
mx:VBox
xmlns:mx=http://www.macromedia.com/2003/mxml
horizontalAlign=center
verticalAlign=middle
mx:Script
![CDATA[
function setValue(str:String,
item:Object)
{
image.source = item.imageUrl;
Which index do you want, the index of the node
within its parent or the visible index within the tree itself? indexOf always
returns the index within the parent. If you pass a node that is not a child of
the TreeDataProvider youre asking I think it will return undefined. The
reason why
I think you're right that binding may not be the best solution here.
What if your TextInput looked like this:
mx:TextInput id=cdc width=35 text={
CTabellaSviluppoVO(vosviluppo[key]).tga1sv==undefined ?
'':CTabellaSviluppoVO(vosviluppo[key])['tga'+r.currentIndex+'sv']} /
That would get the
The contents of the crossdomain xml file:
cross-domain-policy
allow-access-from domain=* to-ports=* secure=false /
/cross-domain-policy
If this file resides in the root of the server, it works
but if we keep this file in the root of the virtual directory
where asp files are published and
85 matches
Mail list logo