Does anyone have experiences with using Flex as a client for
webcasting, or know on any resouces I can refer to please?
I downloaded the Flex 3 trial onto my development box (I'm already a
registered Flex 2.10 user).
Compiling my first, simple, Flex application gave me a Invalid byte 1
of 1-byte UTF-8 error. Mmm ... I was using the default UTF-8 coding
and had changed nothing. So ...
I downloaded Flex 3 trial
I'm currently getting a compile error:
'Severity and Description PathResourceLocation
Creation Time Id
Invalid byte 1 of 1-byte UTF-8 sequence.testUnknown
1205257132234 26
'
Any ideas please guys?
--- In flexcoders@yahoogroups.com, Derrick Anderson
[EMAIL PROTECTED] wrote:
1 google search turns up many hits about invalid xml or encoding-
what does
your xml prolog look like, do you ever use any encodings other
than UTF-8?
d.
Sorry, I should have stated that I had already Googled
Just tried starting a new Flex 3 project, and immediately I'm getting
the 'Invalid byte 1 of 1-byte UTF-8 sequence' error before I've even
typed one keystroke of code! WTF?
How can I fix this please any Adobe guys reading this?
I tried hooking up Flex 2.01 with the blazeds turnkey download and got
unexpected attribute 'url' found in 'endpoint' from file: services-
config.xml
so .. er
As the subject says boy and girls. :)
--- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote:
There was an open source project to allow Flex to use th socket
classes to access a server-based database. I'm sure google will find
it
for you.
However, it is much more common to access an application
Anyone know how to pass data into the keyboard buffer, using AS3, as
if the user had typed it? I need to pass data from a USB infrared
device to the keyboard input.
--- In flexcoders@yahoogroups.com, girish_ok [EMAIL PROTECTED] wrote:
Hi All,
I want to know how to connect SQL SERVER 2005 using Flex, if anyone
knows then let me know,
i am planning to develop desktop application for dotnet. I can develop
using C# but i want to develop using Flex
--- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED]
wrote:
one very small point, you can get rid of the line which adds a dummy
Select item by setting the prompt on the combo
OOps, missed that. Thanks for the heads up Simon.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
How are renderers defined?
Hi Alex,
my renderers are mxml like so:
mx:DataGridColumn
headerText=Qty
dataField=quantity
width=40
I'm tring to populate a comboBox with
var dsWeek:Array = [];
[Bindable]
var dsWeekArray = new ArrayCollection(dsWeek);
var systemUtilitiesWeek:int = 35;
private function initDissection():void
{
dsWeekArray.addItem({week:Select});
for(var ds1:int = 1; ds1 =
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:
ComboBox or most of the list-base components expect label and data
properties in dataProvider. If your dataProvider has different
properties,
you can use the labelField or labelFunction fields to show the
label (which
in
I have a datagrid whos datagridcolumns all have textinput itemrenderers.
Occasionally the datagrid does not update to reflect the changes just
made to its dataprovider via arraycollection manipulation.
I've tried refreshing the dataprovider and / or using
myDataGrid.validate(); without success.
Does anyone please know how to test for shift-tab key press please?
I have a Flex movie playing in a swf to exe. I need the user to be
able to click on a button and restart the movie. How can I do this in
AS3 please?
Focus can be a real pain, as we all know.
I have a function which re-focuses a datagrid so:
private function staffGridFocus():void
{
salesStaffGrid.setFocus();
salesStaffGrid.selectedIndex = gridSelectLine;
editStaffCell = {columnIndex:0, rowIndex: gridSelectLine};
Try this
private function staffGridFocus(value:Object=null):void
Regards,
Frederico Garcia
Thanks Frederico, that nailed it!
--- In flexcoders@yahoogroups.com, Mark Shen [EMAIL PROTECTED] wrote:
Thanks. Mike.
I know how to use mx:RemoteObject .
My question is how to get all the data from datagrid and pass it to
mx:RemoteObject .Thanks
Mark
Mark, the dataGrid is merely a visual means of viewing / editing
--- In flexcoders@yahoogroups.com, chuyler1 [EMAIL PROTECTED] wrote:
Try defining the component in-line instead. You also don't want to use
the ToolTip component because you still need to display the header
text. Instead, just use a Label component and set the toolTip string
for the label
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
verticalAlign, paddingTop, paddingBottom?
Thanks Alex.
Actually, the solution turned out to be even more fundamental.
Highlighting the character with my mouse cursor showed that the
character required occupied only the
I wish to create tooltips for datagrid column headers.
My datagridcolumn for the required tooltip is:
mx:DataGridColumn
headerText=M
width=26
textAlign=center
editable = false
headerRenderer=myComponents.moveInactiveTooltip
mx:itemRenderer
mx:Component
mx:HBox horizontalAlign=center
My datagridcolumn uses an itemrenderer:
mx:DataGridColumn
headerText=
dataField=problem
width=20
textAlign=center
editable = false
rendererIsEditor=true
mx:itemRenderer
mx:Component className =rendererStyle2
mx:Text
/mx:Text
/mx:Component
--- In flexcoders@yahoogroups.com, markgoldin_2000
[EMAIL PROTECTED] wrote:
Any sample of using restrict property for fields in DataGrid?
Thanks
Mark,
I use this withim my current project:
mx:DataGridColumn
headerText=RRP (p)
dataField=retail
width=60
textAlign=right
I have a custom itemrenderer:
?xml version=1.0 encoding=utf-8?
mx:Text xmlns:mx=http://www.adobe.com/2006/mxml;
styleName=rendererStyle
/mx:Text
which I'm popping into a dataGridColumn with:
mx:DataGridColumn
headerText=
dataField=problem
editable=false
width=20
textAlign=center
--- In flexcoders@yahoogroups.com, mydarkspoon [EMAIL PROTECTED] wrote:
The ampersand oprator cannot be used inside XML tag.
you can either use condition1 amp;amp; condition2 or pass the
params to function which evaluates to Boolean.
Also, take a look at this:
Within a function I have:
var tempInactivePriceListArray:ArrayCollection = new
ArrayCollection(mySQLServer.executeQuery(inactiveSql));
However, the Flex compiler complains with:
1008: var 'tempInActivePriceList Array has no type declaration'
I can't see why this should be. Any pointers most
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote:
Within a function I have:
var tempInactivePriceListArray:ArrayCollection = new
ArrayCollection(mySQLServer.executeQuery(inactiveSql));
However, the Flex compiler complains with:
1008: var 'tempInActivePriceList
Can someone please point me to a resource / tutorial which covers
adding a clickable image in a dataGrid column please? I want a
clickable trashcan image scenario, so the user can select a line to
delete from a dataGrid list.
I (rightly or wrongly) assume that Flex (2.10) obtains it's initial,
blue/grey, skin from a CSS somewhere? If so, where can I locate this
please? I wish to use it as a template to work from in order to create
subsequent skins of my own.
Many thanks.
Seasons greetings to all.
OK, so I've finally worked out how to get a clickable image into a
dataGrid. However, I'm having a scope problem.
I'm using:
mx:itemRenderer
mx:Component
mx:HBox horizontalAlign=center
mx:Image height=26 width=26
source=@Embed('/images/forwardicon.png') toolTip=Click to make
'Inactive'
Changing the function from private to public fixed it (duh!)
--- In flexcoders@yahoogroups.com, Frederico Garcia [EMAIL PROTECTED]
wrote:
The default theme is located on:
C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\themes
Regards,
Frederico Garcia
Many thanks Frederico. Ciao.
My popup A opens popup B. Upon item selection within popup B I want to
close both popup A and then popup B.
I can close popup B with PopUpManager.removePopUp(this), but, before
this, how can I remove popup A please?
--- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote:
pass in popup A as a variable instance into popup B and call
PopUpManager.removePopUp(parentInstance)
- venkat
Much appreciated Venkat - many thanks!
I'm communicating with a MS SQL 2005 Server via Flex 2.01.
my original query:
SELECT code,
code_description,
sub_category
FROM flexing_price_list
WHERE (code LIKE 'al%')
UNION ALL
SELECT code,
code_description,
NULL
FROM flexing_products
WHERE (code LIKE 'al%')
gave me the error:
How can I access the text color of a textInput with AS3? I want to
make the text colour red for negative number display.
I tried:
if(int(stkFirmLevel.text) 0)
{
stkFirmLevel.color = #ff;
} else {
stkFirmLevel.color = #00;
}
without success.
--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:
stkFirmLevel.setStyle(color, #ff);
Thanks Ben. Just couldn't remember it. Now I'm getting near 50 I'm
going to have to write this stuff down. My noodle's shot these days.
To set the selectedIndex to 0 when the dataGrid initializes try:
creationComplete = this.selectedIndex = 0;
Came back from lunch and cranked up my Flex 2.01 again to get back to
work and got the following error message:
unable to load SWC C:\Program Files\Adobe\Flex Builder 2\Flex SDK
2\frameworks\locale\en_US\charts_rb.swc
I checked the disk and the file is there. Any thoughts please guys?
--- In flexcoders@yahoogroups.com, yourName [EMAIL PROTECTED] wrote:
Q1)Can any body tell how to implement TWO WAY SSL in flex/java
application..
can any one send me link or sample code ..
Q2) Plz tell me about reporting in flex which reporting can i use
Thanks In Advance...
Multiple
I liked the site. But clicking on 'Rotoworld' showed that it relied on
javascript (Google analytics stuff etc). For users, like me, who have
javascript turned off some of the stuff would not work. Frankly, I
had no inclination to turn it on to see what it did.
Otherwise - great job!
I use the code shown below to update a progressBar, while updating a
MS SQL 2005 database from an arraytCollection. It works fine but it
seems really slow. Is there a more efficient way to do this please?
code (Flex 2.01):
private var queryCounter:Number = 0;
private function
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Wednesday 28 Nov 2007, candysmate wrote:
seems really slow. Is there a more efficient way to do this please?
How many things are there in activeProductsArray ?
You could in crease your batch size (from 1) by using
--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:
Color is actually a style so its idname.setStyle(color, 0xFF);
HTH,
Ben
Many thanks Ben.
I've just started a new project and have already got a Application
tag has invalid syntax when switching to design mode in Flex 2.01.
The project compiles and runs without error. Can anyone see the
'blooper' please? I can't (yet)!
?xml version=1.0 encoding=utf-8?
mx:Application
I can set the colour of a radioButton's label with color = #ff
in mxml, but when I try to use the idname.color = #ff; in AS3
Flex 2.01 throws an undefined property error.
How can I change the radioButton label text colour via AS3 please?
I have an itemRenderer declared as:
mx:itemRenderer
mx:Component className =rendererStyle
mx:Text
/mx:Text
/mx:Component
/mx:itemRenderer
If I use this again elsewhere I get an error 'class name
I have a dataGrid which uses keyDown to fire a keyboard checking routine.
This allows the user to navigate the grid via the up/down cursor keys
to change the editedItemPosition. One of the grid columns contains a
checkbox which can be toggled via the spacebar, and is the default
Flex action.
--- In flexcoders@yahoogroups.com, Michael Pengi [EMAIL PROTECTED] wrote:
Thanks, I'll focus on 3.0, though being new to flex and with the
docs for 3.0
somewhat thin now, not sure what I'll be able to figure out. I
hope adobe
provides some straightforward db oriented tutorials, web
I need to be able to tell when a dataGrid has finished loading data so
my next operation does not give a 'null object' error due to incompletion.
How can I do this in AS3 please?
Couldn't find any events in the docs (yet).
My dataGrid obtains its data from a bindable variable. I wish to set
the editedItemPosition of the dataGrid after the data has finished
loading into it.
CallLater was not a successful ploy. How else can I achieve this please?
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote:
My dataGrid obtains its data from a bindable variable. I wish to set
the editedItemPosition of the dataGrid after the data has finished
loading into it.
CallLater was not a successful ploy. How else can I achieve
used updateComplete with the dataGrid to fire a function which set the
focus and the editedItemPosition.
Some days thet answer is right in front of you and you just don't see it.
That's why we keep coffee in the first-aid box. :)
bangs head on desk
--- In flexcoders@yahoogroups.com, Michael Azar [EMAIL PROTECTED] wrote:
this.mygrid.data[0].FirstName
(DOESNT WORK--can you fix it for me.)
i assume its something like that.
I have a simple question. All I want to do is loop through I data grid
to get the data out. not the data from
Yesterday, while creating a function, my keyboard buffer started
operating backwards. I typed :void and it came out as doiv:. This is
the second time that I've seen this.
I simply closed and reloaded Flex (2.01) and carried on as usual.
Had it been halloween it would have really freaked me out!
I'm using a custom itemRenderer (centered checkBox), based upon Alex
Harui's excellent blog in a dataGrid.
My dataGridColumn has:
mx:DataGridColumn
headerText=
--- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote:
Dispatch a custom event with bubbles set to true. In the event include
the checkbox that was checked so the code that catches it can get the
selected state. Then in the code that sets up your datagrid add an
event
--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:
You don't need a custom event as MouseEvent.CLICK already bubbles.
Simply listen for that event and then check if(event.target is
CenteredCheckBox).
HTH,
Ben
Much cleaner. Many thanks for your input Ben.
While checking for correct user input, I wish to ascertain if a
comboBox has had any selection made with it at all. How can I test,
via AS3, if any selection has been made please?
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
myCombo.selectedIndex -1; //true if anything is selected, false if
not
Tracy
Thanks Tracy.
How can I get a combobox to drop down (open) with AS3 please?
I have a datagridcolumn with which I only want the user to enter
numerical data. I do not wish to use an itemrenderer. How can I do
this please?
--- In flexcoders@yahoogroups.com, Scott - FastLane [EMAIL PROTECTED] wrote:
I have not used this component
http://weblogs.macromedia.com/pent/archives/2006/08/flex_2_componen.cfm
but it looks like you could use it as your item editor. If you don't
want to mask input, but just want to
During my 'net research to find a solution for restricting user input
for a datagridcolumn I came across some flex code which had the statement:
dataGrid.cellEditor.restrict='0-9'
but I can't find a reference to cellEditor property in Flex 2.01 help.
If this from a previous Flex version, and if
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
itemEditorInstance
Thanks Alex.
If you wanted to resrict user input in a datagridcolumn without using
an itemrenderer what approach would you use please?
Currently I use Janus classes to communicate between Flex and MS SQL
Server 2005. It works great. I now need to handle the escaping of user
input so that typing in, say, 'Valentine's Day' doesn't break my sql
string. Data from the server is returned either as an object or an
arraycollection. Any
I have a date object (systemUtilitiesDate) from which a datefield
(utilitiesWeekStart)gets its information. I use
utilitiesWeekStart.selectedDate = systemUtilitiesDate; to set the
selected date. But, the debug version of Flash Player complains with:
Error #1009: Cannot access a property or
--- In flexcoders@yahoogroups.com, Mike Krotscheck [EMAIL PROTECTED]
wrote:
Remove any Tree styles you have from the CSS file.
Michael Krotscheck
Senior Developer
Thanks Mike.
My client decided that they didn't like the use of a tree component,
so I removed it from the project.
That was last week. This week I'm still getting warnings: The type
selector 'Tree' was not processed, because the type was not used in
the application.'
If I right-click these warnings and
I'm using Alex Harui's example code for centering a checkbox within a
datagrid. Within my Flex folders I have a class folder so:
com - toro - classes and an AS file called CenteredCheckBox.as so:
package com.toro.classes
{
import flash.display.DisplayObject;
import flash.text.TextField;
import
--- In flexcoders@yahoogroups.com, Scott - FastLane [EMAIL PROTECTED] wrote:
I'm going to guess that your import is within the scope of your
mx:Script tag which closes with your /mx:Script tag and does not
cover your mxml for the page. Using
itemRenderer=com.toro.classes.CenteredCheckBox
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm
l
GREAT link Alex . Many thanks for posting that.
As with all websites there has to be a compromise between 'pretty' and
'practical'. I'd suggest losing the popups and streamlining the code
to make downloading quicker. It was only my 'geekiness' that kept me
hanging around to see what dribbled down the pipe. Users are more fickle.
How can I center the checkbox I have as an itemRenderer within a data
grid's column please?
--- In flexcoders@yahoogroups.com, Mike Krotscheck [EMAIL PROTECTED]
wrote:
Hey everyone-
We here at Resource just launched a new site last Friday, built entirely
in Flex. I figured some of you might get a kick out of it, since the
designers really went out of their way to do something
--- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote:
Well, specifically it depends on the structure of your data,
abstractly one
would use expandItem.
snipped
Thanks Paul. Got my head around it now. Amazing what a few hours of
much needed sleep will do.:)
I need to expand specific branches in a tree component, while keeping
their children closed.
My tree does not have the root node shown. So if you take the root
node as 0, I wish to expand nodes 1 while keeping nodes 2 (children)
closed/collapsed. How can I do this please?
--- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote:
expandItem or expandChildrenOf on the root would do it (with the second
param set to false ...)
On 10/6/07, candysmate [EMAIL PROTECTED] wrote:
When my tree is first diaplayed, some of the branch nodes are
expanded
I have an ArrayCollection in Flex which contains the delivery
information for a given stock item:
boxes quantity
10 20
15 20
17 20
etc
how can I convert this into an XMLList so that it can be a
dataProvider for a tree control where each line is a branch
From the videos, I would surmise that Thermo is a very nice screen
design
tool, but doesn't automatically include anything else besides basic
interactions. You just need to add the other architectural layers
(as per
cairngorm) yourself. It really doesn't seem to affect business and
http://mrsteel.wordpress.com/2007/10/03/thermo-sneak-peek-video-from-max-chicago-2007-keynote-video/
Check out David mendels earlier link.. http://snipurl.com/1rp0z
Paul
best, Graham
Ooops .. lissed the earlier link. Many thanks for the reply Paul.
cheers, Graham
Thermo looks
I have an itemrenderer within the dataGridColumn of a datagrid. How
can I pass the keydown event detected by the itemrenderer (textinput)
to the datagrid please?
I have data returned from a database into an arraycollection. Are
there any examples around to help me use this with a tree component
please?
My googling (I love a good google) hasn't turned up anything useful so
far.
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote:
I have data returned from a database into an arraycollection. Are
there any examples around to help me use this with a tree component
please?
My googling (I love a good google) hasn't turned up anything useful so
far
--- In flexcoders@yahoogroups.com, flex_smarty [EMAIL PROTECTED] wrote:
Hi All,
Im new to this community as well as to Flex. Im learning Flex for the
last couple of months. Im trying to create a Photo book using Flex and
Action scripting but unable to get an idea of how to proceed. Can any
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Good, but curious, I would not expect that order to matter
Thanks for the code example Tracey.
Yeah, the order thing is really wierd, which is why it took me a while
to find it.
**PopUpManager.centerPopUp(alertInstance);
alertInstance.messageString = messageItem
alertInstance.messageDuration = messageTime;
moving this line fixed it:
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
That should work. Implement the public vars as setter functions. That
way you can debug to see if they are getting hit.
Would you be good enough to give an example of that please Tracey? I'm
not sure if I'm
I need to popup a message for the user. It requires no interaction
from the user, it's just a visual cue.
I guess that it would ential the use the timer for this in conjunction
with either an Alert (not sure at the time of writing if Alert's can
be button-free), or a titleWindow as a popup.
--- In flexcoders@yahoogroups.com, Roman Protsiuk
[EMAIL PROTECTED] wrote:
snipped
Aha! got it! Many thanks Roman for the education.
May your day be bug-free :)
best, Graham
In this code example, how can I remove the PopUp please? (I know what
I have is currently incorrect):
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
import mx.managers.PopUpManager;
import
This did it:
main MXML all script:
import mx.managers.PopUpManager;
import mx.controls.Alert;
public function show(messageItem:String): void
{
var alertInstance:alertPopupDialog =
alertPopupDialog(PopUpManager.createPopUp(this,
alertPopupDialog,
true));
Apologies if this turns out to be a double posting, but my original
posting does not appear to be listed at the time of writing, depite 45
minutes elapsing.
Anyway, I'm trying to pass two variables from my main app to a popup
window as below, but the data is not comping across. Can anyone please
I have two textInput components. This code:
if((goodsInAccount.text != ) (goodsInAdvice.text.indexOf(/) == 0))
{
.
}
but it returns true when goodsInAccount contains no text and
goodsInAdvice contains the / character. The problem seems to be with
the logic knowing that
--- In flexcoders@yahoogroups.com, leds usop [EMAIL PROTECTED] wrote:
Having no text doesnt mean the string value is . An
Empty string is different from a null or an undefined
value. So i suggest throw in a check for
undefined/null value as well and if you dont turst
that enough, check for
--- In flexcoders@yahoogroups.com, neugi [EMAIL PROTECTED] wrote:
Hi,
where to start learning flex2? are there good books, or tutorials
online?
thx
Try www.lynda.com. Search on Flex at Amazon.com (many to choose from).
best, Graham
I need to change tabNavigator tabs automagically for the user and then
set the selectedIndex of the dataGrid which resides on the tab to a
variable value.
My code is:
adviceTabNav.selectedIndex = 1;
dGrid.selectedIndex = x;
x is a Number, and currently set to 5.
The tab changes OK, but the
The conpiler complains with a syntax error 'expecting rightparen
before 1.'
for my line:
var selectedGrowerAddress1:String =
event.currentTarget.growerSearchGrid.selectedItem.ADDRESS_LINE#1;
my client's database field name has a # in it which I have to accept.
But, as this is used extensively
1 - 100 of 179 matches
Mail list logo