Ahh...
I got why.
I must set mx:Application's width and height like "width = 1024".
If I set mx:Application's width like "width = '100%'",
"stage.stageWidth" doesn't work.
Ah..
This has been ultra basic knowledge.
--- In flexcoders@yahoogroups.com, "sn197412" <[EMAIL PROTECTED]>
wrote:
>
> Hi.
>
Hi.
I got runtime error of runtime error of stage.stageWidth.
Please tell me why?
Runtime error is below.
TypeError: Error #1009: null has no properties.
at CustomPopup/CustomPopup$275$private::initApp()
at CustomPopup/___Application0_creationComplete()
at flash.events::EventDispatcher/dis
A little known undocumented thing, yes, I know,
it's weird.
:: goes to look ::
Ok, I never knew I was getting around it, but this
gets around subdomain restrictions. So, if you have SWFA on yahoo.com,
then SWFB can talk to it from dev.yahoo.com.
http://www.macromedia.com/cfusion/knowle
The mx:Webservice tag is used to establish
data communication with a web service. It is similar to the mx:HTTPService
tag.
See the documentation and examples for
more information.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
Jesse, say whut?
An underscore prefix really has a security
effect? Do you know any more about this? I am interested because I have been
tripping over security restrictions everywhere recently and am trying to
understand better.
Tracy
From: flexcoders@yahoogroups.com [ma
With the embedded quotes, huh? You
might have to process the string a bit more then. Experiment with split.
You have several options, strip out all the quotes (that would probably be my
choice but I’d need to experiment), strip off the beginning and end
quotes and use ‘”, “’ as the deli
To extrapolate, you can send Strings, Numbers,
Dates, Arrays, Objects...
so, more specifically, intrinsics only. I
never got custom classes to work, even with Object.registerClass on both
ends.
- Original Message -
From: JesterXL
To: flexcoders@yahoogroups.com
Sent: Wednesda
I believe all children of Flex containers need to implement the IUIComponent
interface. Therefore, it's by design, not a bug.
It does this to ensure the correct methods are there so it can size things
correctly I think.
- Original Message -
From: "Paul Solomon" <[EMAIL PROTECTED]>
To:
Thanks JesterXL,
I replaced:
loader.load(request);
mainVBox.addChild(loader);
-with-
loader.load(request);
var uic:UIComponent = new UIComponent();
mainVBox.addChild(uic);
uic.addChild(loader);
I do not get any runtime errors and best of all, the image renders
correctly.
Just curio
That is exactly what I forgot. Thanks!
Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--
Does the class definistion begin like this?class com.thomson.ppc.utils.XMLObjectOutput{ ...code here}I'm guessing it looks like thisclass XMLObjectOutput{.
On 12/21/05, Jason Doyle <[EMAIL PROTECTED]> wrote:
I was trying to implement the XMLObjectOutput but am getting this error:"Th
ViewLocator allows you to get an instance of a viewHelper from another
file within your app.
Ex:
Lets say I have a view named Contacts.mxml and have registered a
viewHelper like this:
I can then get a reference to my viewHelper from any file (command, etc):
var contactsViewHelper:ContactsViewHe
Primitives only, and max is 40k worth.
- Original Message -
From: Scott
Langeberg
To: flexcoders@yahoogroups.com
Sent: Wednesday, December 21, 2005 12:36 PM
Subject: Re: [flexcoders] Something like interop between two swf
instances
Do you know what the limitations are for parame
Do you know what the limitations are for parameters sent via LocalConnection?It would be nice if I could transmit bimaps or movieclips!ScottOn 12/21/05,
Theodore E Patrick <[EMAIL PROTECTED]> wrote:
Try the LocalConnection Class. Each SWF application can register as alistener and allow function
I can't remember how Manish said to get around this.
Here's some things to try util I get corrected:
- try attaching to Canvas instead
- create a blank UIComponent, addChild, and then add the bitmap to the blank
UIComponent
- case the bitmap to IUIComponent:
var b:IUIComponent = IUIComponent(dat
Yeah, below is the error.
TypeError: Error #1034: Type Coersion failed: cannot convert
flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent
at
mx.containers::Tile/http://www.macromedia.com/2005/flex/mx/internal::findCellSize()
at mx.containers::Tile/measure()
at mx.cor
I can answer the ModelLocator one.
ModelLocator is basically a class that holds all of your data. It acts like
a Singleton, and "Singleton is the new _global!"
So, where you are used to putting data on _global:
_global.my_array = [];
You instead put it on ModelLocator:
ModelLocator.my_array
What is the error you are getting? Is it yelling it's not a UIComponent?
- Original Message -
From: "solgraphics" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, December 21, 2005 10:28 AM
Subject: [flexcoders] Flex 2 --> flash.display.Loader -- addChild bug?
I am trying to use the flash.dis
I am trying to use the flash.display.Loader class because I want to
use images that are stored in a db as a hex string. I can bring in the
hex string and create the ByteArray fine using
flash.display.Loader.loadBytes(), but when I addChild the Loader to
the application I get an error. Is this becau
Hi,
Flash Developer since about 3 years now, i'm currently working on a
classical Flex Store prototype, integrating it with ATG Dynamo 6.4.
We are trying to use the Cairngorm Framework, and i've read the
"ActionScript Design Patterns for Rich Internet application
development" PDF iteration::two pr
You can call compc from Java (or using the Java task in Ant) via
"flex.compiler.swc.CompCompiler". This is very similar to how people
use mxmlc with Java/Ant, where you use "flex.tools.Mxmlc". -Brian
> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
I was trying to implement the XMLObjectOutput but am getting this error:
"The class being compiled, 'XMLObjectOutput', does not match the class
that was imported, 'com.thomson.ppc.utils.XMLObjectOutput'.
"
//At the top of my page I am importing the class
import com.ppc.utils.XMLObjectOutput;
//An
Hi!
I've implemented a grid using a drop-in cellrenderer as detailed in (my code is almost identical):
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""
I also have drag enabled on the grid.
The cellrenderer works fine. However, after I implementing the c
While I could use Zinc or mProjector, no one would use it. I'd much rather
have it in Eclipse, but I don't know Java. Could compc work with ANT you
think?
- Original Message -
From: "Renaun Erickson" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, December 21, 2005 11:30 AM
Subject: [flexco
compc GUI
Flash with Zinc would be a good use for making a GUI for the command
line. If its all local you could do Flex to PHP/ColdFusion which then
calls the command line, but this is not as portable.
Depending on your purpose you could setup a external tool in eclipse
that makes the call also,
Stacy,
Did you come up with a solution for this?
Just in need of something like this myself.
Regards
Niklas
On 09/12/05, Stacy Young <[EMAIL PROTECTED]> wrote:
Wondering how others would go about comparing instances of complexobjects while avoiding circular references and having flash exp
Try the LocalConnection Class. Each SWF application can register as a
listener and allow function calls between separate player instances. I used
it extensively on an Instant Messaging application some years back and it
works great.
LocalConnection is a jewel!
Ted ;)
> -Original Message--
Also, prefix the connection name with "_"; like
"_myMain"; for some reason, an underscore has less security, but I think domain
rules still apply.
- Original Message -
From: Clint Modien
To: flexcoders@yahoogroups.com
Sent: Wednesday, December 21, 2005 10:37 AM
Subject: Re: [fle
Yep, that's exactly what I did, just doing -root 3rd, but apparently
parameter order doesn't matter. Pretty neat... curious how I can build a
GUI for it.
- Original Message -
From: "Brian Deitte" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, December 21, 2005 12:04 AM
Subject: RE: [flexcod
Hi!
I need a way that two flex applications can communicate with
eachotherss... Please no server-roundtrips or FlashCom...
Is there a way on the client-side?
Yahoo! Groups Sponsor ~-->
Most low income homes are not online. Make a difference this
http://livedocs.macromedia.com/flex/15/flex_docs_en/1421.htmOn 12/21/05,
Sascha <[EMAIL PROTECTED]> wrote:
Hi!
I am looking for a way that a flex .swf can communicate with
another one in a different browser-window
Does anybody know about a solution?
--
Fl
--- In flexcoders@yahoogroups.com, Bruno Martins <[EMAIL PROTECTED]> wrote:
>
> Someone have this source?
>
> http://spbarber.com/blog/flex-mxna-viewer-using-cairngorm/
> Thanks in advance...
> --
> Bruno Gustavo Martins
> Cel: (11)9585-9587
>
"The application has been submitted to IFBIN Flex by
Hi!
I am looking for a way that a flex .swf can communicate with
another one in a different browser-window
Does anybody know about a solution?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.
Thanks Joan. I'll look into that
I was hoping there was something like a dataGridRow that you could put
atop the grid with relevant properties like in an HTML
but i guess if you put things like 'headertext' in the datagridcolumn
that is a conflicting approach
--- In flexcoders@yahoogroups.com,
Someone have this source?
http://spbarber.com/blog/flex-mxna-viewer-using-cairngorm/
Thanks in advance...-- Bruno Gustavo MartinsCel: (11)9585-9587
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.co
hi, i have a datefield on a view. on initialize of the datefield, i set a selectableRange, and it's working fine. But on a next "show" of the view, with a different selectableRange object, the selectablerange does not change. How can i re-do a initialize() on the datefield thxateField id=
I'm not sure if this will work, but you can try width="{label.width}" -- may not work, but worth the try...- ptrisnadi- Original Message From: Nithya R <[EMAIL PROTECTED]>To: flexcoders Sent: Mon Dec 19 22:24:28 2005Subject: [flexcoders] Text align in tab Hi i tried the tab text a
the cfc is passing this back "foo", "morefoo", "evenmore", "etc"On 12/20/05, Tracy Spratt <
[EMAIL PROTECTED]> wrote:
What does the string look like? You can use split() to create an array
from a delimited string.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:
f
And transmit them via SSL (https://yourdomain.com).!!The SSL certificate is required for maximum security. Otherwise, someone can intercept the network packet and parse out the text that is sent to the server. If you don't care that much, then don't worry.
ScottOn 12/20/05, [EMAIL PROTECTED] <[E
Thanks Sreenivas, but isnt that a Flex 2.0 enhancement. I could not
really find that in the 1.5 docs. I could be wrong.
Regards
Sree
Sreenivas R wrote:
You can use the DateTimeAxis for the horizontal axis and provide
the start and end date fields as minField and xField properties.
hihow can i cancel( abort) the drag process in field of doDragDrop(event), before ending (terminating) the drag drop process???thanks.
Yahoo! kullaniyor musunuz?
Simdi, 1GB e-posta saklama alani sunuyorhttp://tr.mail.yahoo.com
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/gro
You can use the DateTimeAxis for the horizontal axis and provide the start and end date fields as minField and xField properties.
-Sreenivas
On 12/20/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote:
Hi, Can someone help me with a way to display a bar chart with floating bars depicting say
I think it is rather myLabel.setStyle('color',
0xCFCFCF);
Philippe
Maegerman
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of flexhtooSent:
lundi 19 décembre 2005 5:18To:
flexcoders@yahoogroups.comSubject: [flexcoders] Re: How do you change
the color of text in
Hi.
Here is a sample source of a component.
http://www.macromedia.com/2005/mxml"; xmlns="*"
height="400" width="400" panelAlpha="1.0"
marginTop="0" marginLeft="0" marginRight="0"
headerColors="[ #ff, #ff]"
mouseDown="setTopMost(event)"
>
44 matches
Mail list logo