Hi Dimitrios:
I followed your advise and can now get MXML files to open up okay
(color-coded, etc). However, tag insight/auto completion do not seem
to be working fully. I seem to get tag insight only for those tags
that have been used before in the file. E.g., if mx:HBox has been
used in the
Hello folks, I have a datagrid that refreshes itself every 30 seconds.
I want to implement a slider that will give the user the ability to
change this when the application runs. I have the following code
below. Can someone tell me what I am doing wrong? Thanks a bunch, you
guys are the greatest
Hi Dave:
I've never tried using RemoteObject with cflogin, but RemoteObject
works very nicely with CF session variables, so it should be able to
pass that information to your application. To get it to work with
session variables, I was using CF and Flex on the same server, and had
turned on
The difference between
these two approaches is scope.
In your first example u
create a variable on the instance of the class u are working in. This variable
exists as long as that instance has a reference somewhere in the
application.
In the second example u
create a variable inside a
Hi Dan,
You don't have to do that much
work to get Flex running under Tomcat. Here is the simplest
way:
- install Tomcat under
c:\tomcat (just an example, put it anywhere you want)
- createa folder called
"samples" under c:\tomcat\webapps
- extract the contents of the
samples.war to
Hi,
You must add the appropriate
entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red
below):
namespace uri="http://www.macromedia.com/2003/mxml"
manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace
namespace
uri=http://www.iterationtwo.com/cairngorm
hai,
I have a tab navigator with 4 canvases inside. the label for each canvas is very lenghty and i want it to be displayed in two lines.
say the label is "Display Content" ,I want it to be displayed as:
Display
Content
How should i be doing this?
Yahoo! Messenger - Communicate
hai,
I have a tree which on right click should open a pop-up window.. How do i handle the right click event?
thanks,
nithya
Yahoo! Messenger - Communicate instantly..."Ping" your friends
today! Download Messenger Now
Yahoo! Groups Links
To visit your group on the web, go
Hi Nithya,
Flex (or, more correctly, the Flash Player)does have
the notion of a context menu that can be configured - check the docs for
details:
http://livedocs.macromedia.com/flex/15/flex_docs_en/1276.htm
However, there is a limitation of the current player where
the context menu
the code run normally in swf,
ActionScript:
function checkOut()
{
TextToCheck = spellCheck_txt.text;
url_string = javascript:SpellCheck();;
getURL(url_string, );
checkOut_interval = setInterval(function ()
{
if (spellResult != undefined)
{
Same, just put in a mx:Script tag, or link to the external .as file in
your script tag.
- Original Message -
From: loveewind [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, May 25, 2005 7:51 AM
Subject: [flexcoders] how to use the setInterval() in flex actionscript ?
Hi Mohanraj,
I have a similar requirement. I don't want to reinvent the wheel. If
you don't mind can you post your code so that I can tailor to my
requirements. Thanks!
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
Hello,
I have a question: is there a way to register a changeEvent listener on
a static property ?
For example :
class ModelLocator
{
[ChangeEvent(userChanged)]
public static var user : User;
}
class AnotherClass
{
public function AnotherClass() {
Laurent,
Your class User must extend UIObject to inherit the method
addEventListener(), unless you create the method yourself...
Cheers
Rich
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Laurent Cornelis
Sent: 25 May 2005 13:21
To:
Hi Lauren,
I think you're getting things mixed up. Your code should be something like
this (incomplete and untested):
class ModelLocator
{
static function initialize() : Boolean
{
EventDispatcher.initialize( ModelLocator.prototype );
return true;
}
static var mixIn : Boolean
Hi,
I'm dragging and dropping from a tree to a list.
All the functionality works fine, but I'm trying to call another
method when the item is dropped with the name of the file from the
tree as the argument to that method.
Example: Tree has two objects in a folder node called files:
File1.txt
Well i have been stumbling over using RSL the last few
days. Using compc, etc.
What i tried was creating an SWC wich contains all classes
needed by the framework (called TAP). I compiled them using the following sws
file in combination with compc:
library rsl="empty.swc" /namespace
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/
Nope, no way.
Greetz Erik
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of send2martin
Sent: woensdag 25 mei 2005 15:05
To: flexcoders@yahoogroups.com
Subject: [flexcoders] is there any way to get rid of the settings tab in
the context menu
Another way is just to use object.watch on the property:
ModelLocator.watch(user, _changeFunction);
Greetz Erik
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair McLeod
Sent: woensdag 25 mei 2005 14:37
To: flexcoders@yahoogroups.com
The documentation seems not correct here:
setInterval(objectName:Object, methodName:Function, interval:Number [,
param1:Object, param2, ..., paramN]) : Number
I thought methodName should be of type string when using an object as
1th parameter.
Greetz Erik
-Original Message-
From:
All that is possible in Flex is based on the Flash Players capabilities.
Validation with XSD is not implemented in the player and thus not
possible in Flex.
The flash player only has most basic features available, as u know its
only possible to dynamicly load one type of image, sound and movie.
Hi Indy,
I understand setting up perhaps the username and password as a session variable.
Can you show me an example of how you are passing over the username and
password in the remote object? I can see adding it as something like
the following on each request:
Thanks Dave, I will check it out.
Andrew
--- In flexcoders@yahoogroups.com, dave buhler [EMAIL PROTECTED] wrote:
http://www.convertzone.com/net/cz-adshareit%20swf%20to%20video%20converter%20pro-swf-jpg.htm
On 5/24/05, greenfishinwater [EMAIL PROTECTED] wrote:
I have a request for an
Abdul Qabiz
[EMAIL PROTECTED] to flexcoders
More optionsApr 23
Hi,
However, I'm still unable to do the following:Call a setInterval within a class. Have the setInterval pass over a
number. And the function called increment that number. Pass this newnumber to a textfield object.If I
Yep, dataForFormat(treeItems)
I think is what you want. As for only having one item in the destination List,
you could simply clear the list before adding in the treeItems in the dragDrop
handler.
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
We'd like to use Flex in an enterprise deployment, where all HTTP requests are handled and dispatched by a Radware load balancer.We are getting a bit of push-back from our client. Our client has seen in the past that the Radware load balancers don't work exactly as expected when tunnelling
Hi Leif,
All Flex remoting calls are AMF over HTTP/S, so should
seamlessly integrate with your load balancer. The problem with RMI will have
been was that it wasnot going over HTTP.
I've not actually used Flex with Radware, but I'd be very
surprised if there were any issues.
Regards,
I would recommend you save as something other than JPEG if you are going
to be using the resulting images for anything other than online content.
You'll get a much better result using WMF, which is scalable and
lossless. JPEGs are fine for static HTML pages, but for anything else
you want to avoid
RemoteObject uses HTTP and should work fine
in a load-balanced environment. The other services (HTTPService and
WebService) also do their work over HTTP. Do you anticipate needing stateful
Java classes or will everything work in a stateless environment? The only
thing I can imagine is if
One solution is to add a unique string to the tail of the
image's URL, so the browser thinks it's a new image and goes and fetches it on
every request(rather than returning it from the local cache). This fix is
based on a related thread a week or two ago. The downside is that you dont get
I keep getting a products could not be retrieved message from the
cairngorm store. Must be a db path problem. How should I specify it in
store.cfg?
If it helps, the path to hsqldb.jar on my machine is:
C:\servers\jakarta-tomcat-5.0.25\webapps\cairngormstore\WEB-INF\lib
- Tom
Yahoo!
I had a quick look at the swf converter that was suggested, but the
way flex works is that the chart is drawn at runtime from data
provided by a remote object, so there will not be a swf file with the
displayed chart in it. The only swf file availabe is the original swf
generated by flex.
I like
Tom,
There are a number of things to check ... first of all, have you placed
the named service in flex-config.xml (have you used our flex-config.xml) ?
Is there more detailed error message in your appserver log file ?
Steven
-Original Message-
From: flexcoders@yahoogroups.com
At 11:17 AM 5/25/2005, you wrote:
There are a number of things to check ... first of all, have you placed
the named service in flex-config.xml (have you used our flex-config.xml) ?
Yes, I used your flex-config.xml file.
Is there more detailed error message in your appserver log file ?
The only
A major insane way if you're feeling adventuerous.
Go to the AS2Draw or similiar drawing actionscript classes; then, utilizing
DENG, convert you're drawing to SVG XML. From that point, you can pass it
to a server-side script that can take the SVG to convert to whatever format
you like.
Hi Pradeep,
Change your focusIn() method to the following:
function focusIn() : Void {
if ( dateObj == undefined )
{
createClassObject( DateField, dateObj, 100,
{styleName:this, owner:this});
Hi all,
I have my flex app running in weblogic 8.1, and I am using
ant to automate everything (including deploy and undeploy). When running the undeploy
WL tool it tries to delete the dir my app was copied into, but I get an error thrown
by ant in which it is impossible to delete the
That was my original thought; but I didn't want to suggest such a low
tech method. :)
Basically if you want really flexible screen capture beyong the
Print-Screen button get yourself SnagIT, and screen cap away...
greenfishinwater wrote:
I had a quick look at the swf converter that was
Hi Tom,
if you used the default settings of store.cfg, make sure you have a db
directory in the parent of your WEBAPP_DIR. On Tomcat that's
TOMCAT_HOME/webapps. In db you have to place your catalog.proteries
and catalog.script files. See install docs for more.
Best,
Alex
--
Alex Uhlmann
I've been trying to create a platform neutral build for our flex
application using Ant and mxmlc.jar but I can't get the configuration
to work. When I run the build I always get an class not found
exception for the flex/tools/Mxmlc class. I can build flex with Ant
if I use the mxmlc.exe compiler
Hi Alex -
Thanks to you and Steven for staying with me on this.
I did set it up that way, and it's still not working. My directory
structure is:
jakarta-tomcat-5.0.25 webapps db
jakarta-tomcat-5.0.25 webapps cairngormstore
Inside the db directory are catalog.properties, catalog.script,
Here's a working Ant script(this is run in an exploded web application
dir, but that's easy to change):
java jar=${flex.mxmlc.jar} dir=${app.dir} fork=true
arg line=-flexlib ${flex.dist.lib} -configuration
WEB-INF/flex/flex-config.xml -webroot . -o index.mxml.swf index.mxml/
here's the flex-config file and the content of web-inf/flex
folder:
/web-inf/flex/
frameworks
frameworks-debug
generated
jars
logs
system_classes
user_classes
cache.dep
cairngorm-manifest.xml
flash-unicode-table.xml
flex-config.xml
gateway-config.xml
global.css
If you know the tab name and how you want it to be
split, you can programmatically insert a newline to force the label to display
in 2 lines.
?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
mx:Script
function manage(){
view1.label =
Actually the db directory by default is in TOMCAT_HOME not
TOMCAT_HOME/webapps. (you can change this via store.cfg.
In case you did that: We're using HSQLDB in in-process mode, so it
initialises when you start your app server. Have you restarted Tomcat?
When you restart Tomcat, HSQLDB should by
On 5/25/05, Kristopher Schultz [EMAIL PROTECTED] wrote:
The ProgressBar component does not appear to work properly if the graphic
asset being loaded is in the browser's cache. The simple example below
[...]
That odd. Anyway, here's a workaround:
mx:Image id=myImage
Hello Everyone,
I want so terribly to assimilate Flex into my programming life, as I can
see the true potential of it now. Coming from the Flash MX 2004 and
AS2.0 programming background, I can truly appreciate the power Flex
offers.
Since I am starting with a clean slate using Flex, I am
Hi Alex -
At 01:51 PM 5/25/2005, you wrote:
Actually the db directory by default is in TOMCAT_HOME not
TOMCAT_HOME/webapps. (you can change this via store.cfg.
This is getting stranger. I moved the db folder and its contents up a level
to the location you describe (the same level as webapps):
I think you raise valid questions. The main question is really one that
most developers ask at some point. Why use these things called
Patterns?
You may want to check out:
http://en.wikipedia.org/wiki/Design_Patterns
http://java.sun.com/blueprints/corej2eepatterns/
or search google. There are
That helped alot, thanks Jeff.
--- Jeff Steiner [EMAIL PROTECTED] wrote:
Craig,
I have a specific example on FlexAuthority. Visit:
http://www.flexauthority.com/samplesIndex.cfm?sampleID=23
I have multiple checkboxes that pass along their
checked state to a CFC that
returns XML to
Joe,
Thanks for the information. I'm trying to compile the flex file in an
exploded web application as well, but I'm still getting a no class
found exception. Here are some comments and questions to clarify my
problem:
1. Here is my exploded flex web application directory structure
relative to
Brett, here are some answers that I hope will be helpful.
2. With the fork option set to true can I still use relative paths or
do I need to use full paths?
You can use relative paths. Relative paths in arguments to the java
program will be relative to the dir attribute of the java task,
Ok the cairngorm-manifest.xml
file is there, which is good.
I made a mistake in the earlier
post (blame copy'n'paste), the entry should look like this (missing
double-quotes):
namespace uri="http://www.iterationtwo.com/cairngorm"
Hi,
How do I make a pie chart show its label even if it is 100% for one
item (i.e. only one slice for the whole pie)? At the moment the
labels only show up when there is more then one slice present.
Thanks
Jonathan
Yahoo! Groups Links
* To visit your group on the web, go to:
Ok assuming your right and again I hope this is not another silly question but what does a local variable look like and what does an instance variable look like? To me I just thought all variables were just like this
public var name:String
you know things like that
Yahoo! Groups Links
It all depends on WHERE you declare the variable. In the first case,
you were defining your var outisde of the function, which should keep
its value even when the function is through running. If you declare
the var inside the function, however, that variable will be destroyed
when that function
An instance variable is inside a class,
but outside that class's methods. A local variable is inside one of the
methods.
public class MyClass
{
var
myInstanceVariable:String;
public function
myMethod():Void
{
var myLocalVariable:String = Gordon;
trace(myLocalVariable);
Nope, didn't work
let me paste the entire exception info
Compilation
Results Errors, warnings or
exceptions were found while compiling /internet/ourpeople/index.mxml. Visit
the online Flex documentation or API reference for further information.
5 Errors found. Error
Ahh, that has nothing to do
with the Cairngorm manifest... I looked to quickly at the previous
error.
Can you attach your flex-config.xml so we can take a look at what might be wrong with it. Seems like
the mxml-manifest can't be found.
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal
Humm weird... I just did a
fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you
posted and it worked!
Perhaps you should start from
scratch as I did, just create a "Hello World" app, make sure it works and if it
does, then add in your other files.
You must have
This seems to work fine when the dataProvider for the tree is a
static
mx:XML node list, but when the node list is the result of a
remoteObject, the dataForFormat(treeItems) returns an undefined. I
think what I am trying to do is very simple.
I have a tree which is populated by a remoteObject
I had to do the same as Jimmy. When I started from a clean install (after uninstalling Flex Server) the app worked.On 5/25/05, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:
Humm weird... I just did a
fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you
posted and
Hi Dave:
Here is my setup, I don't know if this helps.
I have a CF application where users need to login. Once they
successfully plug in their username and password, their session is
setup (I'm using jessionid). I have a cfc (with relevant functions for
login/logout) that is used for
Ok, May be I am just dumb. I reinstalled it, extracted my
flex.war into jrun4/servers/flex and now it looks like
c:/jrun4/servers/flex/flex.
Flex-config.xml has this for this
namespace
namespace
This is a bit of a guess, but try:
var fileName:String = myObj[0].getProperty(label);
I say this because the treeItems should be an array of treeDataProvider
items/nodes, and when trying to access dataProviders, it is always best
to use the dataProvider API.
If that doesn't work, can you debug
Use the TreeDataProvider methods to get
the label, myObj[0].getProperty(label)
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of digital_eyezed
Sent: Wednesday, May 25, 2005 7:31
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Alright!!! You gotta have a second pair of eyes looking
right at your monitor. I missed it.
In my Services.mxml I had this
Namespace
http://macromedia.com/2003/mxml
Whereas in flex-config.xml, it was
http://www.macromedia.com/2003/mxml
that's why it was throwing error
Error
Hello,
I am relatively new to the flex community. I have a question regarding
a small application that I'm developing to learn flex. I've tried a
lot of things but no mater what I do I cannot seem to bind the result
of this webservice call to a dataProvider (ideally a chart) :(
Heres the code
Hi,
Your code looks fine. I guess, something is wrong with Webservice
itself, it throws error.
I have used a different webservice and it works fine, see the following
code:
##GetQuotesWS.mxml##
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
If I change the dataProvider to a list and map the dataProvider to
ws.doStockHistory.result.date or ws.doStockHistory.result.price the
list will show the right data, how do i combine these two into a
datagrid? Can a datagrid use an object as a dataProvider or must it be
an array?
--- In
perhaps you are right do you know of any such tutorial. The reason I do not post a lot of my code is its way to long and complicated. I would rather post a simple example of code
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To
72 matches
Mail list logo