Hi guys
I am looking to make a Flex3 app. where I can draw on a image.
Is there any good tutorials examples etc. out there - I havent really
been able to find any.
I found a Flash component ($199) that does the trick - but I want to
go Flex :-)
Hi.
Using FlexBook to show publications on our Intranet, there are some
things that bug me a little. (enough to try to fix 'em)
1. When I want to display a publication of lets say 16 pages, soft
cover - I add a blank png as page 1 to make page 2 (the original page
1) appear as the front left
Hi Steve
Thanks for your reply - you got me going in the right direction so I
got it solved - Thanks :-D
Best regards,
Mark
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
Go to http://demo.quietlyscheming.com/book/app.html and download the
source. The demo allows you to
Hi all!
I'm currently building a intranet app - I'd like to use Ely's FlexBook
component to show our employee's manual.
Is it possible to jump to specific pages without having to animate a
flip page by page - in the app I have a index that allows the user to
see chapters in the manual - so I need
Hi.
I'd recommend you have a look at www.amfphp.com - a very fast and easy
to use, here's a snippet from the website :
AMFPHP is a free open-source PHP implementation of the Action Message
Format(AMF). AMF allows for binary serialization of Action Script
(AS2, AS3) native types and objects to be
Hi.
I'm currently looking into converting a existing Flash app into a Flex
app.
In this Flash app, there is a specific layout that I would like to
emulate.
Have a look at http://koalit.dk/flex/flex_component.jpg
The object is something like a filemanager, where the user can see what
status each
Hi
I'm using AMFPHP 1.9 as a backend for a FX2 application.
I'm desperately looking for help for the PHP side - how to receive and
work with an ArrayCollection.
Anyone with some links or code they'd be willing to share ?
Thanks for listening.
Mark
Hi.
I'm using an itemRenderer in a datagrid. The renderer contains a
script, which will determine specific values in the {data} and
setStyle on a canvas and the text of a string.
But when I scroll in the datagrid, it seems like new children is not
updated when they become visible.
I'm sure that
Hi Alex
Thanks for your reply.
I propably missed something here... but when I use {data.} in mxml it
works. But when I make a script tag that should adjust properties etc.
it says null value - here's my code:
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
Hi.
In a itemrenderer I'd like to access a {data} value in a Script in the
itemrenderer. I just can't figure out how to do this.
I have an ArrayCollection as the dataprovider for the DataGrid.
In a Column, I sue a itemrenderer status
Inside renderer.status.as I have a VBox, with a init()
Hi Alex
Not sure what you mean, instead of scaling the container ?? Or ALSO
scale the tilelist, setting the height of it ? Not sure how I should
do that as I cant resolve how many rows the tilelist has.
Hope you can clarify, this is driving me craazyyy
Thanks again for all your time !
Mark
Hi Alex
Somehow the ColumnCount actually is correct ??
Even though I performed a updateNow() it still return columnCount=2 no
matter what.
Is it because I initially draw the TileList container (Canvas) very
small - height=5 - I do this to be able to expand the container(s)
simultaniously if
After adding a tilelist using addchild, I'm trying to resize it's
container, a canvas, to fit the tilelist based on the rowcount *
rowheight.
Strangely it always return rowCount = 2 - even though there is 1 or 3
rows ?
How can I force a recount ?? Or is there another way to get the
actual size
Hi Guys - I know that this is NOT a PHP forum, but I feel that some of
you use AMFPHP extensively, so I thought I'd give it a try.
I have just started to use AMFPHP as a backend for Flex2 projects.
When I connect to MySQL databases it is just perfect and fast - great.
Now I need to connect
When dragging an item from a TileList onto a Canvas, I want the
DragProxy to always snap to the top left corner of the DragProxy
image. Instead it Holds the image where I placed the mouse on the
UIcomponent.
I tried looking into offset-x and offset-y but cant make it sum up.
See the thing is that
I'm using AMFPHP 1.9B and have created a service called
inventory.getInventoryGroups - in the AMF service browser I see the
result just perfect. :
(mx.collections::ArrayCollection)#0
filterFunction = (null)
length = 5
list = (mx.collections::ArrayList)#1
length = 5
source =
Sorry if this is a double posting - but my first post never showed up ?
I am using AMFPHP 1.9B and have created a service
inventory.getInventoryGroups - when I test it in the AMF service
browser - it works fine and returns this result :
(mx.collections::ArrayCollection)#0
filterFunction =
Hi and thanks for your reply.
Well - it showed me that Flex receives what AMF says it sends. Here's
the trace:
serverInfo = (Object)#1
columnNames = (Array)#2
[0] data
[1] label
cursor = 1
id = 7257952bcaf0cee796b5bd243450930c
initialData = (Array)#3
[0]
, Dave [EMAIL PROTECTED] wrote:
You need the Object to be an array collection then you need to convert:
yourVar=new ArrayCollection( ArrayUtil.toArray(response));/*response
being your returned object*/
I hope that helps
--- In flexcoders@yahoogroups.com, oneproofdk mark@ wrote:
Hi Alex
Thanks for your reply.
I use a function that receives the data from httpservice, this
function set the dataprovider for the tilelist, which in turns gets
popuplated by itemrenderers. What I need is a way to measure how many
rows @ what height the data actually rendered in the tilelist.
In a Flex 2.01 app I create TileLists based on dynamic data.
Afterwards the data comes rolling in from JSON data.
Now I want to resize the canvas that the tilelist is placed inside...
Actually it's placed inside a tabnav
tabnavigatorcanvastilelist///
NOW... How can I capture an event when the
Could you tell us what the setup is?
Can you access any files on the webserver ?
Is it the httpservice that fails - and if so, what are the errors you
see ?
Please give us a better understanding of what's going on - then I'm
sure that you will get some help.
Regards,
Mark
:-O Am I red in the face !!
I was obviously looking for a TabNavigator - thanks for your help :-)
Thanks,
Mark
In a script I iterate through a collection, making new TileLists as we
go along. I name these tilelist's so I can access them later.
Snip #1
for (var i:int=0; idp.length;i++) {
// First we make a new tabbar for the
tiles
Hi Tracy
Thanks for your reply - I actually think I understod that. Thanks for
your answer.
Best regards,
Mark
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Setting the id this way is not the same as setting an id=myId in an
mxml tag. In that case the
Hi.
I'm trying to loop through a ArrayCollection and make a TabBar for
each item
This fails miserably - Cant convert Canvas to Button - I've been
staring at this all day today (it's almost 10pm here in Denmark now).
So I'd be very please if some of you guys could have a look - propably
some
Doug, that really looks great. Look forward to see your blog post with
(I hope) source code and even better - learn-how-to...
Thanks for your time - all that replied, I really appreciate it.
Mark
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:
holla
I'm using popupManager to show a thumbnail when the user hovers over a
icon - added a creationCompleteEffect so it eases.elastic wobles
effect - looks great.
Now I'd like to use the same elastic effect when I remove the popup -
just cant figure out how to do that. Tried removeEffect but it just
If you go to http://www.apple.com/downloads/, see the menu on the
right. If you click on an item, the other items folds away - kinda
like a Accordion but then again not.
Did anyone see this as a module anyone offers free or $$ - I really
like the effect only dont have the knowhow to build it
Hi Borek
Thanks for your reply.
So what you did (please correct me), was to have the popup as an
invisible Canvas on top of the application, position it and then use
effects to display it ??
Can you post some code examples ??
Thanks again
Mark
Hi Mike
Sounds good - if you dont mind the trouble - I'd love to see an
example on how to make the Apple version
Thanks for your reply though.
Mark
I'm looking for help on how to describe a physical room in a xml
file - so I can draw it in a flex container later.
The task is to be able to describe any room for, where there can be x
walls and x angles.
One room can be very simple, has 4 walls, no funny angles etc.
Se illustration here :
I like the idea on describing where a wall anchors!
The task is to make some preconfigured templates, where the user will
be able to see a drawing of the template with each wall identified by
A B C... and then a corresponding text input box, where they can input
the length of that wall.
Obviously
I'ce created a MXML ItemRenderer used in a dg - the cell contains a
Button that spawns a new window - works fine.
In my dataset I have an item called pagecount containing a integer.
What I'd like to do, is to have the buttons enabled=false when that
value == 0 !!
I just cant make it work - can
Hi
I'm adding images to a vbox using as and addchild.
Only thing is, that I cant figure out how to make the image accept a
click - see below:
private function updatePageList(data:ArrayCollection):void {
for (var i:int=0; idata.length; i++) {
I trying to use text from a external xml file as labels in buttons. I
am doing this, so the user may switch language.
My xml looks like this :
xml version=1.0/
lbl
dk
node id=btnProjects label=Projekter/
node id=btnSettings label=Indstillinger/
node id=btnLog label=Log/
I'm looking for a way to control several Flex2 apps, running on their
own client.
This is my scenario:
We need to build a videowall using 6-8 30 monitors, where our
monthly magazine is displayed spread by spread. This is to be able to
see the flow of the magazine in real time (it changes by the
OK so I went on to see what the limits are. Tracking mouseX I can see
that the Panel background stop at 4079, also that's where Flash stop
tracking the mouseX !!??
The weird thing is that the Tile DOES extend beyond this point as per
my screencap.
Wonder what the max height is - we are currently
For a internal application built in FB, we are deploying it on a
PowerMac Pro with 2 30 display's attached.
This enables a resolution of 5120 px by 1600 px.
A funny thing happens when I open the app strecthing the browser (FF)
to use both displays. The panel which holds a tile, displaying images
--- In flexcoders@yahoogroups.com, Ciarán [EMAIL PROTECTED] wrote:
Hi Mark,
Hi Ciarán
Thanks for your answer.
I can see your point, so I'll try to illustrate what I'm doing and
trying to achieve:
In the application, I have a mx:tile id=tile1/
In a HTTPService Result Handler, I loop through
Just to visualize the problem :
http://flex2.dk/mark/screencaps/tileproblems.jpg
Hi Ciarán
Just put up a small example for you (and others) to see. Rightclick to
view source:
http://flex2.dk/mark/addchild/childTest.html
Very simple app - 2 buttons.
Add Children - will add 12 vboxes, each containing 2 images
Loop Through Children - Will loop through tile1.numChildren -
No one ?? Really need help with this one :-|
bump
Thanks,
Mark
HI all.
I'm populating a Tile using AS - addChild(), where I add a component.
The component is a VBox, where I addChild 2 image's. I set the name
for each image (leftImage.name = ).
So the structure of the Tilelist is something like this :
tile
vbox
hbox
canvas
image_left
/canvas
image_right
I am building a internal app for my company, where we would eventually
pursue FDS for it's push capabilities - updating the users view when
backend data changes.
Until then, I'm thinking about making a function that will get
triggered by a timer, e.g. every 60 seconds, it should retrieve data
Hi Adam.
Thanks for your reply - I like your idea about keeping the pushed
data to a minimum. My original idea was to get the entire dataset and
then loop through it and compare - your idea is way better.
I'm really in need of some examples of a timer function, and perhaps
some code to make the
Hi All.
I am using a HTTPservice to retrieve data, it works fine when there's
multiple items in the xml.
But if there's only one (1) item in the data, it fails with this error:
Type Coercion failed: cannot convert mx.utils::[EMAIL PROTECTED] to
mx.collections.ArrayCollection.
Can anyone please
Thanks for your reply!
How can I test what datatype Flex has decided ?, I cant always tell
if there will be more than one item in the result.
Thanks,
Mark
--- In flexcoders@yahoogroups.com, jer_ela [EMAIL PROTECTED] wrote:
When Flex converts xml into flex data types, it makes its best guess
I am looking into how to make a dynamic form, where I load some values
into an array uisng a httpservice, then a ActionScript function would
dynamic add mx:text fields to the app.
Can anyone help me out with some code (pseudo) or links to docs ?
Donøt know where to look.
Also : Is it possible
I am fairly new to Flex2 and AS3, 4 weeks of programming/experimenting
under the hood.
In a application I am using several (6-7) httpservice calls, to
retrieve data for the various elements. Works great!
One thing that _really_ annoys me, is that I have several
mx:HTTPservice instances, one for
Thanks for all your help - got it and are trying to trplicate. :-)
Thanks,
Mark
Hi all.
For a datagrid (among others) I'd like to make a extended tooltip,
that would get live data from the server.
I have a datagrid http://flex2.dk/mark/screencaps/mainapp.jpg where
I'd like to make a nice tooltip when the user click on a dg item.
I've really fallen in love with the way it
A few weeks ago (as far as I remember) I saw a cool Flex2 app, that
would take a search string for a book title, retrieve data from Amazon
and display books in a web-like setup, where the books are connected
by wires, if I click on a book, it would retrieve data from Amazon on
that book.
All
A few weeks ago I saw a cool Flex2 app, that would take a search
string, then pull data from Amazon and make a web of images, linked
together and draggable. WHen you click on a book, it would get new
data from Amazon etc.
Any one who has a link ?
Thanks,
Mark
;
}
xmlInsertion.send();
xmlArticles.send();
xmlPages.send();
}
Funny like things clear up once I post on FlexCoders !!
Hope this helps someone else.
BTW - is there a better solution to this ?
--- In flexcoders@yahoogroups.com, oneproofdk [EMAIL
In a application using HTTPservice result=e4x, I'm putting the
result into ArrayCollections.
These are [Bindable] and used populate comboboxes etc.
How can I check the number of results in the ArrayCollection ?
Here's some of my code :
private function regionHandler(event:ResultEvent):void {
I'm trying to put together a small login app - mainly to see how I
can post data and capture the result. So far I've only been using
Bindable ArrayCollection's.
The thing is, that I can't figure out how to access the values, when
the data is in e4x format.
I've had a go with the Vipercreations
Tracy - I almost feel like I should send you flowers or something ;-)
Thanks for your help.
Have a great weekend all you Flex'ers out there.
Cheers,
Mark
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
The date you want is in an attribute, so try:
[EMAIL
. am my face red!!
(sitting in my livingroom at 4am laughing)
Thanks again!!
Mark
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Happy to help. But I'm more of a beer guy than a flowers guy.
Tracy
HI all.
I am trying to make a resize function for a Flex2 app.
On a canvas, I load 2 (large) images from a HTTP source.
I have a slider and I want the images to resize to fit canvas, and
the use the slider to resize the images.
Does anyone have a demo of how to do this - it's making my head spin
Hi Tracy.
Thanks for your reply.
I'm not able to find anyResize components on Flex Exchange - is it me ?
Maybe you we're thinking of the DualSLider component ?
What I'm looking for, is a working demo of a small app, that will load
2 external images into a canvas at runtime (HTTP).
Somewhere on
Hi Cato!
Thanks for your reply, but I still can't make it work.
The value {myRepeater.currentItem.left.page.swift} is a string (or is
it?) it contains a number, either 0 or 1.
leftpage pageno=22 swift=0//left
leftpage pageno=22 swift=1//left
I've tryed to do it like you suggest,
I'm trying to resize images to fit in a canvas. Works great.
Now I also want the user to be able to zoom/resize the images using a
slider, allowing them to resize to (at least) 100%, but I can't figure
out how to set the image(s) to their original 100% size.
Here's my functions, which get called
Hi Ben
Thanks for your answer, got it working :-)
Looking into making it request data using POST now (whoa - advanced stuff)
Best regards,
Mark
--- In flexcoders@yahoogroups.com, Ben Marchbanks [EMAIL PROTECTED] wrote:
you have to define the labelField when binding to
dataProvider that has
So now I'm trying to make several httpservice requests, populating
comboboxes and other items, the thing is that they all depend on what
data is selected in the other comboboxes.
Example:
We have 3 comboboxes A B C
First to get data is A from a httpservice, when that is populated,
combobox B
In a small Flex app, I have two viewstates, start and spreadView.
In start I have a Tile with VBoxes and HBoxes, when the user click
on a thumbnail mx:image, I'd like it to set the source of the image
on spreadView and then swithc to that view.
Here's my code, propably very messy, but this i my
Hi all.
Is it possible to make a mx:Tile only grow to the right, until it
reaches the visible limit, the grow downwards ?
I'd like to be able to display items in a container (Tile or whatever)
that will grow when the user resizes, but not display a horizontal
scrollbar, only vertical scrollbar.
Hi Tracy.
I've been trying to set it to 100% and to a fixed width, but for me it
seems like I get the horizontal scrollbars no matter what, and that it
will try to make the tiles the same, x and y (e.g. 4 by 4 - 10 by 10,
never 4 by 10)
Thanks for your reply. :-)
Mark
--- In
Hi Tracy
Hmm, after revisiting this issue in FB on my computer this morning, it
DOES actually work when I set it to 100% ?! Must have been tired last
night.
Sorry and thanks for your help.
Best wishes,
Mark
--- In flexcoders@yahoogroups.com, oneproofdk [EMAIL PROTECTED] wrote:
Hi Tracy
In my first Flex2 app, I'm trying to set the background color of a
canvas inside a repeater, to a specific color depending on a value in
the datasource.
In my mx:Script I made this function:
private function getColor(swift:String):String {
if (swift=='1') {
return '#00'
}else{
://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/\
dp/0596008678.
Learn OOP it will make you a better programmer and earn you more money
than
traditional VB and ASP ;).
Dan
On 08/01/07, oneproofdk [EMAIL PROTECTED] wrote:
I find Flex 2 to be very broad.
Also, very
the posts by the other
On 1/4/07, oneproofdk [EMAIL PROTECTED] wrote:
As a complete newbie to Flash, AS (any kind) and especially Flex -
my
mind is a bit blown away after reading Flex2 documentation for the
last week or so.
Just
As a complete newbie to Flash, AS (any kind) and especially Flex - my
mind is a bit blown away after reading Flex2 documentation for the
last week or so.
Just got hold of Training from the Sorce - Adobe Flex 2 and it's way
out of my league.
The problem is getting hold of the basic things like AS
73 matches
Mail list logo