Well, it's a tough problem actually. Depending on how many items you
think will be in the collection it may be better to write your own
indirection using fill. So you would leave the list property null on
the server, return it, then on the client you'd assign the AS version a
collection and
Thanks Peter.
That did the trick.
Regards,
Aejaz
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
To cast a type in ActionScript you use this syntax:
tmpDoctor = samples.Doctor(event.result);
(i.e. it is not the same syntax as Java).
Also, in your Java
Hi,
Does anyone know how I can fix this problem I am getting?
Using the the contact manager dataservice example for coldfusion. the
dg is getting filled with the data but when trying to add or update I
get this error: Error deserializing type AMF object because the target
server type
Hi, all.
i have a problem with itemEditEnd event.
How can i get data was being entered?
see the code:
someList.addEventListener( ListEvent.ITEM_EDIT_END, onItemEditEnd );
...
...
private function onItemEditEnd( event : ListEvent ) : void {
var itemRenderer : IListItemRenderer =
You are right, I have to run it from http://localhost
Forgot the getURL wasnt working if
you dont run it on a webserver, thanks for the tip!
Jonas
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: vrijdag 28 april 2006 7:17
To:
Hello Matt,
Thank you for commenting.
We are using Flex 1.5.
I must report that calling
-
myGrid.vPosition=maxVPosition
-
does not scroll dataGrid to the very end even after I tried to apply doLater() or alternatevely setInterval to
postpone the
I'm still waiting for reply.
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:
Hi, Peter
It's good that we have at last normal exception handling in 8.5
beta.
But it's only beta for now and we are creating apps using Flex 1.5.
So
the question is How we can
Hello FlexCoders,
I'm interested what is the best hardware configuration for developing Flex app?
Because compiling time sometimes, when project really large, takes 1 min+.
I know that processor(less 50%) and RAM usage is ok on my machine when
compile, but HDD is working hard.
So where is
if i can add to matts suggestion.
i usually find one doLater() isn't enough so i tried your example
with the following change
public function populate():Void
{
for (var i:Number = 0; i largeArray.length; i++)
largeArray[i] = {Number: i, TestColumn: 'a' + i};
doLater(this, scrollMe);
}
Hi,
I'm currently
working on Flex2/FMS2 app.
I've successfully
managed to publish a videostream, but I cannot record
it.
It looks like the
flash.net.NetStream API documentation is incomplete.
The only documented
methods are close(), pause(), play() and seek().
The undocumented
methods
Matt,
hahahj!! I saw that one coming... ;)
Ok... I'll put my ass on the line for this one. FDS it is then... the
project is due to july with a very little slack If I get any
complaints I will see you next max and you'll be saying oh! hahhha
No, seriously, and absolutely off the
PRE-TEXT: Just some encouragement. You guys at Adobe are smart and I know you can put in a DirectX like API that is perhaps a triggered add-on to the normal Flash Player, something that says "This site includes high-end real time graphics; do you want to download the OpenGL Flash Player support
when i did a trace on myGrid.maxVPosition the very first time, it
was definately = 0; my test had to go thru 2 or 3 frames (dolaters)
before the actual maxVposition was set.
yes it is a clunky workaround agreed.
i dont have a better suggestion. your gonna have to wait for that
genius Matt
Have you got a link to this video?
Are you talking about WinFX (with WPF/WCF etc) and WPF/E?
3D hardware acceleration stuff is pretty tricky with all the drivers,
low level stuff to worry about, think thats why WPF is only going to
be on Windows Platform and WPF/E will be non-3d so it can
I'm starting to mess with fds2, I deployed the sample.war file to
jboss, most of the samples work but the chat app throws a
flex.messaging.MessageException:jms not bound exception when sending a
message. I'm somewhat new to jboss and it's probably somethingthing
simple I'm missing but does
If you right click on the Flash movie, are you seeing About
Macromedia Flash player 8 or About Adobe Flashplay 8.5?
The behaviour you are describing sounds like you have the wrong
version of Flash...
--- In flexcoders@yahoogroups.com, Suresh Akula [EMAIL PROTECTED] wrote:
I got the same
you need to set rendererIsEditor=true in the code, the RTE will be gone.ThanksHarishOn 4/28/06, Matt Chotin
[EMAIL PROTECTED] wrote:
Random shot, try importing
mx.controls.Text and mx.controls.TextInput? I think it should have been a
compiler error if it was necessary but…
I solved the issue by downloading and installing the Flash Player
UNINSTALLER and REMOVING the Flash Player completely. Then, after
installing Flash Player 8.5, Apparently, installing over existing
implementations is buggy.
Flex Learner
( Here no one have comment on this ? )
--- In
On Thu, Apr 27, 2006 at 03:08:20PM -0700, Gordon Smith wrote:
Sorry, you can't dynamically add a getter/setter in AS3.
In general, we recommend using non-dynamic classes when possible because
they have better performance. What's your use case for wanting dynamic
addition of
Hi,
Regarding the _items property of the RO result, I think that would
depend on what the results from your remote object look like. The
property name does look like an internal Flex varaible, though; did
you originally get that from a code sample?
I use result._items when I have to
I have declared the following two methods in my delegate and call them
from the commands
//
//get the products
public function fill():void
{
var call:Object =
service.fill(modelLocator.productModel.ProductVersion);
Chris,
I came across a problem regarding the flex.messaging stuff myself, but I
was trying to get it to work with the JRun4 application server and not
JBoss. The trouble I had was caused by an incompatible version of the JRE.
If you're interested in the whole story, you can find it on my
Which event will be fired after the data is pushed to the client for a
dataservice coldfusion adapter?
I tried message event but it does not seem to work
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
--- In flexcoders@yahoogroups.com, crrb [EMAIL PROTECTED] wrote:
We're using Mysql 4.1 with Hibernate 3.1, Cairngorm, Flex 1.5, and
Hibernate Synchronizer to auto generate Java classes and AS classes.
...
Flex, it appears to matter that the 2nd two Objects are lazy
loaded by Hibernate.
My swf file is on my machine on which the webserver is running and the
URL I am accessing is of our bugtracking system(yeah, that is an
external URL) which returns the xml file. So when i use this swf file
from some other machine over http protocol then i have the above
warning.On 4/28/06, Matt
Some of the comments I made also apply to Flex 1.5's usage of
ActionScript 2 in Flash Player 7.
ActionScript 2 has try/catch syntax and the Error type, there are debug
versions of the flash player that ship with Flex 1.5 which you should
use during development, you can use trace() to report
Hi,
I was wondering if anybody from Adobe could shed some light on how to go about adding like two little buttons to a Button?
I have tried with all my heart and cannot find a way to chnge the hitArea of a button to something smaller than it's bounds.
Are you just adding a click listener to
Here's a quick example of a Button subclass which is only clickable on
its left side:
package {
import mx.controls.Button;
import flash.display.*;
public class ButtonTest extends Button {
override protected function createChildren():void
{
super.createChildren();
var
selectedItem={items.getItemAt(3).fieldName}
--- In flexcoders@yahoogroups.com, John C. Bland II
[EMAIL PROTECTED] wrote:
I am working with some a combo and the custom component listing the
states
works perfectly fine for simply saying: selectedItem={
items.selectedItem.state}. It will
Dude, !
Thanks, I knew it was as simple as that!
Thanks again.
Peace, MikeOn 4/28/06, Dirk Eismann [EMAIL PROTECTED] wrote:
Here's a quick example of a Button subclass which is only clickable on
its left side:
package {
import mx.controls.Button;
import flash.display.*;
public
I think rendererIsEditor makes sense when both the editor and renderer
are the same object, but in this instance, I am using Text for the
renderer and TextInput for the editor.
As mentioned before, these are not what I am really trying to set for
editor/renderer, but just set to there to
They did that in another product, Director, and it
runs hardware accelerated 3D on the web.
- Original Message -
From: Robert Thompson
To: flexcoders@yahoogroups.com
Sent: Friday, April 28, 2006 6:54 AM
Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9
MS
...and Flash Player 8 already utilizes Open GL on
the Mac.
- Original Message -
From: JesterXL
To: flexcoders@yahoogroups.com
Sent: Friday, April 28, 2006 9:45 AM
Subject: Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player
9 MS comments about Flash re Vista
They did
Hi ,
On your suggestion i tried to create crossdomain.xml and i uploaded in
my root folder but still i am having the warning. I am using Flex
Builder 2.0 Beta.
Or we have to put this crossdomain.xml when we are compiling the swf ? Please put some light on thisOn 4/28/06, sachin gaur
[EMAIL
yes, but if you can run flash in director, you should be able to run director in flash. Of course, the developer could just use the iframe trick.
On 4/28/06, JesterXL [EMAIL PROTECTED] wrote:
They did that in another product, Director, and it runs hardware accelerated 3D on the web.
-
Director's engine supports embedding ActiveX
controls whereas Flash does not. Director is a more heavyweight plugin as
consequence whereas Flash Player is significantly lighter and more ubiquitious
as a result. There is a tradeoff to filesize, and embedding is not
necessarely mutually
Flex2 B2: TabNavigator: Graphical Skinning
I haven't found any documentation on this...is it possible? I'm hoping
it's similar to the impl of a HeaderClass for the Accordion.
tx
-riley
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Anyone? Please?
--- In flexcoders@yahoogroups.com, Avi Flax [EMAIL PROTECTED] wrote:
Dave, thanks for your help! What you said makes sense, but
unfortunately I'm still having trouble with it.
Here's my ColdFusion code:
cfscript
MXMLc = URLClassLoader.LoadJarClass(C:\Program
The crossdomain.xml file resides on the remote server that
you're trying to contact, so it should be accessible like
this:
http://someserver:someport/crossdomain.xml
This fileis not involved at compile
time.
(Also, that is not a warning and it can't be ignored, it's
a hard error
A general question on Flex 2.0. Is it true that anything that you can
do in MXML you can also do it using Action Script? As I understand it,
you should be able to build an application using only Action Script.
However, most examples I see out there use MXML with embedded Action
Script so
Correct. Howerver, there is a lot of things that mxmlc does under the hood
to setup your application that would be ridicolously long and uncomfortable
to do in ActionScript.
Here's a good description of how close you can get:
http://www.helpqlodhelp.com/blog/archives/000140.html
-
What part do you want to skin. With that info, you can pick your trail :)
Peace, MikeOn 4/28/06, brian_m_riley [EMAIL PROTECTED] wrote:
Flex2 B2: TabNavigator: Graphical Skinning
I haven't found any documentation on this...is it possible? I'm hoping
it's similar to the impl of a
The documentation here:
http://labs.macromedia.com/wiki/index.php/Flex:Install_Instructions
Indicates that the wars should run in other J2EE app servers. I cannot
get them to deploy in JBoss (4.0.3). I get a ClassNotFoundException:
jrun.servlet.file.FileServlet. I searched through all of the
When serializing ActionScript objects to XML, it does not appear that
Flex is properly ordering the elements according the order defined in
the WSDL. For instance, I have a WSDL with a complext type defined as
such:
complexType name='SoapInventory'
sequence
element name='id' nillable='true'
Sorry, this method of invocation is not supported by Flex.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Avi Flax
Sent: Friday, April 28, 2006 10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Possible to invoke Flex2b2
Well,
Do you have another answer ;-)
This did what I was looking for but, the event effect still is not right.
I am making a drag and drop tab button. I need the button to have the
normal hitarea that the skins use to detect the ACTUAL button click. I
need a 10x10 dragger sprite, button
Yeah, but can you make it integrated in Flash.I hate Director development.What sucks is that the new Sparkle Designer is awesome; and it's a damn shame to have to use anything Microsoft. They've just done too many low-down things...I need to stop myself there.JesterXL [EMAIL PROTECTED] wrote:
I have to use parentApplication because I am trying to create this
grid from another state. So I have to work on the parent level.
I have never used getChildByName, would I use it like this.
parentApplication.closing.mainBox.getChildByName(newGird:string).addChild(newGridRow);
--- In
That's the whole point -- I know you guys can do it...as the headlines say Adobe and Mickeysoft are on a head-on collision and I hope MS gets their butt kicked (I have my reasons).JesterXL [EMAIL PROTECTED] wrote: Director's engine supports embedding ActiveX controls whereas Flash does
Here are a couple of good articles concerning ActionScript projects in
Flex:
http://www.asserttrue.com/articles/2006/04/09/actionscript-projects-in-flex-builder-2-0
http://www.asserttrue.com/articles/2006/04/18/library-type-assets-in-actionscript-3-0-using-the-embed-metatdata-tag
--
WinFX for the Mac, you have seen it in real life? I haven't.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
but, I do think part of the advantage of Flex 2 is the *framework* behind the secne, without it, you should just use Flash 9 :-)On 4/29/06, ben.clinkinbeard
[EMAIL PROTECTED] wrote:
Here are a couple of good articles concerning ActionScript projects
wait for beta 3 in the very very near future and try again.On 4/28/06, Benoit Hediard [EMAIL PROTECTED]
wrote:
Hi,
I'm currently
working on Flex2/FMS2 app.
I've successfully
managed to publish a videostream, but I cannot record
it.
It looks like the
flash.net.NetStream API
As Jesse noted, the Shockwave Player's 3D engine can take advantage of
hardware acceleration (if available) for its realtime rendering, and
over half of all consumers tested already have this ability on their
machines. SWF files also integrate nicely into Shockwave work.
(The new Acrobat 3D
I've decided too much coding and too little slp makes for a bad
programmer...
I was looking to skin the individual tabs. After 5 more minutes of
research, I found the tabStyleName for the TabNavigator and created
skins for the different states of the tab (and skinned it just like a
Button
I'm just about to start a project for a training site. The goal of the
site is to track trainees progress through several modules. Each
module will contain either :
1) links to external sites, a powerpoint presentation (probably
converted to captivate) or a video.
2) A quiz that covers
I think the issue, is when I try to add a child to a previously
created child. Here is the test code that I have.
for ( var i:Number=0;iresult.length;i++){
// CREATE CANVAS //
var newCanvas:Canvas = new Canvas();
newCanvas.percentWidth = 100;
newCanvas.id = canvas
Hello,
I am working with dynamic images. The problem is that these images are
in GIF format. Right now I am converting them into JPEGs but since the
images I work with are rather big in size (300-400k) I am loosing a
lot of time on conversion. Is there a way to load GIFs dynamically in
Flex
If the SWF runs in the Flash Player 8, yes. Loading GIF's dynamically is
only supported in Flash Player 8 and above.
- Original Message -
From: Dmitry Miller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, April 28, 2006 2:07 PM
Subject: [flexcoders] Dynamic GIFs
Possible, but a few challenges.
First, Captivate demo's are usually meant to be played standalone. This is
ecspecially true with the quizes. I built a CaptivatePlayer because people
generally create many demo's without a consolidated way to play them
together linearly. The downside is, the
I've already tried that. Well, not getItemAt because I used items.selectedItem (same thing).On 4/28/06, Suzy Lawson
[EMAIL PROTECTED] wrote:
selectedItem={items.getItemAt(3).fieldName}
--- In flexcoders@yahoogroups.com, John C. Bland II
[EMAIL PROTECTED] wrote:
I am working with some a
During my time with Captivate I was unable to find a way to dynamically pull questions from a database. That might have been due to my personal skill limitations but I found that I had to put the questions in manually. I hope someone can call me wrong on that one but that's something would
So, if I create my own Image control using Flash 8, have it stored as
a separate SWF and link it to Flex via mx:Loader, that should work,
right?
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
If the SWF runs in the Flash Player 8, yes. Loading GIF's
dynamically is
Have you been playing with the Flex2 Beta? Are you excited about the
new capabilities of AS3? Do your dreams include E4X, the Flex-Ajax
Bridge, or Flex Data Services?
Come work for Arc90! Weâre a small independent web experience
consultancy; we develop cutting-edge web software experiences
Yep! You just described what they do for fileuploading here:
http://www.macromedia.com/devnet/flex/articles/fp8_features.html
Same thing, only you are calling loadThisImage or whatever you call the
method.
- Original Message -
From: Dmitry Miller [EMAIL PROTECTED]
To:
Had a problem, browsed the archived, and found the answer I needed --
thank you! (Yes, I am still using Flex 1.5.)
HOWEVER, it is not totally solved, as tabbar still freaks out if I
createChild dynamically. The hidden tab will show as empty gap between
other visible tabs.
My question is: how
I suppose this is perhaps a religious issue, but I think dynamic objects
also hurt programmer efficiency.
It may seem like you have to do less work to get something up and
running, but it costs you too much in inefficiency over the life of the
project, because the compiler doesn't catch the
Pretty sure you have to place a crossdomain file on the http server you're
trying to hit if you're going to run the swf off your desktop. Normally the
swf has rights to hit the server it's served from, but when you run a swf
file sitting on your desktop it's not served from any server, so
Hi Matt, thank you for the response, it was much appreciated. It
sounds like the framework for this feature is still being fleshed out.
As I think more about it, a lazy association is a lot like paging,
except that the first page needs to be retrieved when a control
becomes visible - just like
I would try something like this
for ( var i:Number=0;iresult.length;i++){
var
initProps:Object={percentWidth:90};
var
myCanvas:Canvas = createChild(mx.containers.Canvas, '', initProps);
initProps={text:myCanvas.id};
myCanvas.createChild(mx.controls.Label,
'', initProps);
Hi Matt,
I was suspecting that may be the case.
Where can I find some info on creating a namespace manifest file
you talked about?
Cheers,
David
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
Sorry, you'll need to create another namespace for again,
I changed the way how I am calling hte information, and now I can create the compopents correctly. The issue I stil lhave is, that when I create a the grid, the output should like this.correct display current display Here is my code. for (var i:Number=0;iresult.length;i++){ // COMPONENTS
Thanks, but that doesn't help getting the Cg.99 examples to run in F2B2
(there are more Cg.99 examples available than Cg2.)
I've tried all of the following...
- Added a new namespace tag to the flex-config.xml in the F2B2 Framework
directory that points to the cairngorm-mainifest.xml file
Hey, does anyone know if there are plans to make AS3 support overloaded
method signatures anytime before it comes out of beta?
Thanks!
Aaron
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Is there a simple way to set the smoothing on an mx:Image in Flex2?
I have an mx:Image on my canvas with the width set to 100%. The
source is a png file. When the canvas is scaled, the image is scaled
up or down, but it looks jaggy. I am only looking for a smooth
interpolatation here.
I
Thanks for all the feedback, it seems like the easiest way to
accomplish this is to just link to an external captivate flash movie
that updates the database with the quiz results.
--- In flexcoders@yahoogroups.com, Manuel Saint-Victor
[EMAIL PROTECTED] wrote:
During my time with Captivate I
I've been playing around with fds2 with jboss 4.03 also, I've been
able to get most of the sample apps to work, but I had to replace the
xalan.jar in jboss with an updated version. I found this post that
may help.
http://www.jboss.com/index.html?module=bbop=viewtopicp=3904353
I still can't get
The link to the Cg2 beta is here:
http://www.richinternetapps.com/archives/000143.html
Oh, and by the way... just in case anyone cares...
I just found some information on porting Cg.99 apps to Cg2... basically they
changed F2B2 (AS3) so that custom AS must be in packages, not just in
classes.
Ahh...this would be a beautiful addition and welcome with open arms on my end! :-)(sorry...just wanted to back this request; no real info here)On 4/28/06,
Aaron King [EMAIL PROTECTED] wrote:
Hey, does anyone know if there are plans to make AS3 support overloaded
method signatures anytime
This is actually a setting at compile time in Flash, and not sure what it's
set to in mxmlc, but you could try:
http://www.kaourantin.net/2005/08/fixing-one-bug-at-time-in-flash-player.html
- Original Message -
From: willchapm [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent:
Just wondering... what's the use case for making
a Button ignore some clicks inside the border that it draws? Are you also
reskinning the button to have a non-rectangular shape?
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
Sorry... I see that you've already
described what you're doing in a subsequent email.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Friday, April 28, 2006 3:51
PM
To: flexcoders@yahoogroups.com
Subject: RE:
As far as I know this won't happen (it's largely guided by
the ECMA 4 standard) so for AS3 you'll need to use the varargs ...syntax
to take a variable number of arguments:
public function calculateSomething (required:int,
...others:Array):int
{
}
Note that you can place functions in
Looking for an India based resource to do Flex 2 demo development work.Reply in private to discuss!Marc
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
Hi, all.
Ive
seen every kind of wizardry achieved with Flex, but most of it is based on
skinning components. However, Ive seen an app in which some pop-ups have
some sort of pull-out window (namely, a little panel with a datagrid that seems to be pulled out of underneath
the pop-up).
Hi all,
I have three flex2 projects in the oven.. when can I take them out?
Any official dates?
A related q:
I know the player now has an auto upgrade process... how fast is this?
I'm a little worried on that one.
Thanks,
Aldo
--
: Aldo Bucchi :
mobile (56) 8 429 8300
--
I think the best guide to get you started is the work done here:
http://weblogs.macromedia.com/sho/archives/2006/04/flex_sliding_dr.cfm
I easily placed a datagrid in one of the slide in windows and was then
able to "detach" it and move it around my display. While not actually a
"pop-up"
Gordon,
I just made a composite tab button, re implemented a tab bar out of a NavBar, made it toggle and I am good for now.
;-)
... Hacking through the bushes ...
Peace, MikeOn 4/28/06, Gordon Smith [EMAIL PROTECTED] wrote:
Sorry... I see that you've already
described what
On Fri, Apr 28, 2006 at 01:09:59PM -0700, Gordon Smith wrote:
I suppose this is perhaps a religious issue, but I think dynamic objects
also hurt programmer efficiency.
To give an example, the project I am currently working on is using a
Ruby on Rails backend and a Flex frontend. The backend
I want to add the copypaste support for charts in order to let user
select any chart, copy it and then paste it to some other editors
like Office Word or MS Paint for further use.
Is it possible to do so, or can I just generate a .jpg or .bmp file for
each chart, that will also be
90 matches
Mail list logo