[flexcoders] Flex 4 skinning

2010-03-29 Thread dorkie dork from dorktown
I'm working on setting up my app so the whole thing is dynamically skinnable at runtime. Is it feasible to have an app with maybe 300 skins? What I've done is set css to point to skinClasses. This works fine until I select compile css to swf. When I do that I get errors on each skinClass

[flexcoders] Re: Font Embedding from *.ttc files

2010-03-29 Thread dmjabbo
Pete - you're a genius. Works like a charm - thanks a million! Duncan --- In flexcoders@yahoogroups.com, Peter Farland pfarl...@... wrote: In the @font-face rule use the full font name in the fontFamily alias to describe the specific face in the TTC file that you're trying to embed.

Re: [flexcoders] Re: Font Embedding from *.ttc files

2010-03-29 Thread Baz
He is not a genius, just highly gifted, he missed the mensa cut-off by 2 points... /RandomLateNightComment

Re: [flexcoders] Re: Flash builder 4 installation options

2010-03-29 Thread Tom Chiverton
On Wednesday 24 Mar 2010, stephen_anson wrote: Sorry that was meant to read is Flash Builder 4 plugin going to work ok in eclipse 3.4.2 I have no idea, Adobe are leaving us Linux users hanging so I've just been using the standalone in a virtual machine. The download page should say. --

Re: [flexcoders] Re: Do you need to uninstall Flex 3 before installing Flex 4?

2010-03-29 Thread Tom Chiverton
On Wednesday 24 Mar 2010, reflexactions wrote: You should note that although using the standlone version both can coexist, the project file format is different so you cant actually access a project with FB3 once you have accessed it using FB4. To clarify, you are talking about the Builder IDE,

Re: [flexcoders] FlashBuilder 4 Linux Released!

2010-03-29 Thread Tom Chiverton
On Thursday 25 Mar 2010, feiy wrote: base the office released FlashBuilder4 2010/03/23. more info: All the links except the GoogleCode one are dead, and I doubt the legal situation has been cleared up ? -- Helping to efficiently harvest attention-grabbing portals as part of the IT team of

Re: [flexcoders] FlashBuilder 4 Linux Released!

2010-03-29 Thread Guillaume Aveline
Le 29/03/2010 12:47, Tom Chiverton a écrit : On Thursday 25 Mar 2010, feiy wrote: base the office released FlashBuilder4 2010/03/23. more info: All the links except the GoogleCode one are dead, and I doubt the legal situation has been cleared up ? quote : port the Adobe Flash Builder 4

[flexcoders] Error #2170: Security sandbox violation

2010-03-29 Thread jeyathilak
Hi, When connecting to Salesforce from Flex Builder, there is no problem. But when I deploy the Flex app to a webserver and connect to Salesforce, it throws this error during runtime. Error #2170: Security sandbox violation: http://192.168.1.113:8080/yfiles-flex/sf/salesforce.swf cannot send

[flexcoders] Re: How to attach a local file to an email with URLRequest from AIR

2010-03-29 Thread Venkateswara
--- In flexcoders@yahoogroups.com, breizo bre...@... wrote: I am trying to send an email through the default local email system with URLRequest. Tried the example below with no success. Also tried to add around s with no more success... Has anybody done it before? Thanks var

[flexcoders] Increase the height of Flex Container dynamically

2010-03-29 Thread shrutijakhete
Hi, I am trying to increase the height of container with increase in the number of contents inside the container. Like in my case I m using tileList and have put contents within it .When I put contents inside the tileList, the height of tileList does not increase beyond vertical height of the

[flexcoders] Upload image from local disk to textarea

2010-03-29 Thread Venkateswara
Hi, I need to upload an image from local disk by clicking an button(Browse),the image needs to be loaded in the textarea. Can anyone solve me out. Thanks Regards, venkat

Re: [flexcoders] Upload image from local disk to textarea

2010-03-29 Thread gabriel montagné
Hi Venkat, On 29 March 2010 02:30, Venkateswara venkat0...@yahoo.com wrote: I need to upload an image from local disk by clicking an button(Browse),the image needs to be loaded in the textarea. I don't really understand how are you thinking to load the image in the text area, but perhaps, for

Re: [flexcoders] Security Cameras

2010-03-29 Thread Kevin F. Benz
Load a http analyzer to determine of the request is happening. If so Look at the server logs to determing if it's seeing the traffic or for any errors. Kevin F. Benz (iPhone) kb...@kbenz.com On Mar 28, 2010, at 12:01 PM, archtechcomputers archtechcomput...@yahoo.ca wrote: Hi I have a

[flexcoders] Graphics

2010-03-29 Thread Dan Vega
I copied an example from a website and for whatever reason I can not get the graphics to show up? No errors and the example runs fine except I don't see the rectangle or the ellipse? What gives? ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;

[flexcoders] Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
I have a Spark DropDownList that has a custom ItemRenderer. The ItemRenderer, upon creation, checks the label text and if it matches certain criteria, then the label text color changes. The label text color is changing, however it is for the wrong label. What appears to be happening is that the

[flexcoders] Fold empty packages when using SVN

2010-03-29 Thread tntomek
This might be more of an Eclipse/Subversive/Subclipse question but I thought I'd post anyways. Is there any way to get Flash Builder to auto fold empty packages when using SVN? Eclipse is nice enough to not show the .svn subfolders but looks like that is independent of the part where it auto

[flexcoders] Re: Adding Drag/Drop with selected text within a TextArea

2010-03-29 Thread valdhor
I don't think you need to extend any classes. You already know what the text is in the Text Input and you already know the text that the user is dragging so all you need to know is where the user has the mouse at the current moment and where they release the mouse button. The first is so you

Re: [flexcoders] Error #2170: Security sandbox violation

2010-03-29 Thread Oleg Sivokon
http://test.salesforce.com/crossdomain.xml must permit your domain to connect and get the data. If it doesn't, you'll have to either ask the owners of that domain to add your domain to the list or proxy the requests to their domain through your own proxy. Best. Oleg

Re: [flexcoders] Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread Alex Harui
What does your renderer code look like? On 3/29/10 8:08 AM, azona26 azsl1326-em...@yahoo.com wrote: I have a Spark DropDownList that has a custom ItemRenderer. The ItemRenderer, upon creation, checks the label text and if it matches certain criteria, then the label text color changes.

[flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
Here's the code: s:ItemRenderer xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx autoDrawBackground=true height=20 creationComplete=itemrenderer_creationCompleteHandler(event) fx:Script ![CDATA[ import

[flexcoders] Utilizing HBox or VBox layouts without actually using them

2010-03-29 Thread djamsheds
I have a bunch of visual objects that should be Hbox'ed and Vbox'ed at different times (e.g. object obj1 can should be in Hbox1, and after a certain action obj1 should be moved right to the middle of VBox1, and after that it could be moved to bottom of VBox2). Using CollectionView is one of

[flexcoders] Re: Security Cameras

2010-03-29 Thread luvfotography
Hi, It's most likely the browser caching the image, are you getting the image in a normal http request? over and over again? ex: http://www.mysite.com/image.jpg if so, just add a random number (a timestamp works fine) to the end of the url ex: http://www.mysite.com/image.jpg?12343545 This

Re: [flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread Alex Harui
The rules for itemrenderers haven’t changed that much. You must still derive all of your visuals from the data property. Use dataChange instead of creationComplete. On 3/29/10 9:32 AM, azona26 azsl1326-em...@yahoo.com wrote: Here's the code: s:ItemRenderer

Re: [flexcoders] Utilizing HBox or VBox layouts without actually using them

2010-03-29 Thread Alex Harui
In Flex 4 you can try replacing the layout of a container. On 3/29/10 10:01 AM, djamsheds djams...@gmail.com wrote: I have a bunch of visual objects that should be Hbox'ed and Vbox'ed at different times (e.g. object obj1 can should be in Hbox1, and after a certain action obj1 should be

[flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
Thanks. However switching to dataChange event causes all items in the DropDownList to change their text color. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: The rules for itemrenderers haven't changed that much. You must still derive all of your visuals from the data

[flexcoders] Re: Best Way To Tweet To Twitter From an Air Application

2010-03-29 Thread valdhor
What did you manage to glean from the Twitter API documentation? --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: I am looking for the quickest and simplest possible method to allow a user to post a tweet to twitter from within an air application. Basically I just want

[flexcoders] FileReference does not sending the right header in file upload

2010-03-29 Thread Jesus Saad
Hello all! I'm searching about my issue or flex `issue and I can`t found the error. Please, help me. I'm trying to upload a file using the FileReference class and it work fine just in my computer. When I try in server, the error appears. Following my source code: Init function: private var

[flexcoders] FB Namespace for FlashBuilder

2010-03-29 Thread Precia
I have seen the FB namespace in several Flex 4 examples dealing with skins but I can't find any documentation for it in such things as fx:Script fb:purpose=styling. Anyone have any pointers?

[flexcoders] Re: Best Way To Tweet To Twitter From an Air Application

2010-03-29 Thread James
Hi Valdhor. I did finally manage to get this done. My app now has the capability to display a users Twitter feed and post a tweet to a twitter feed a long as they enteer a valid username and password. I'm now looking for good examples of using Facebook connect to do the following:- - View a

[flexcoders] Dataprovider and events

2010-03-29 Thread Scott
I know I've ran into this before but for some reason my memory isn't kicking in. I've got a listbox that depends on a combobox to load before it fires its dataprovider. Without having the combobox loaded, the data provider for the listbox is null and it throws an error: #1009: Cannot access a

[flexcoders] Saving an image (snapshot) to the server

2010-03-29 Thread Wally Kolcz
I see a number of php example of how to save an image to the server, but can't find one using CF? I want the user to be able to save the image they drew/colored to their account by saving an area (I see how to do that) then have it saved on the server in a folder and databased. I can't seem to

Re: [flexcoders] Dataprovider and events

2010-03-29 Thread Alex Harui
Post the entire stacktrace so we can see why it throws. On 3/29/10 11:33 AM, Scott h...@netprof.us wrote: I know I've ran into this before but for some reason my memory isn't kicking in. I've got a listbox that depends on a combobox to load before it fires its dataprovider. Without

Re: [flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread Alex Harui
You must derive all visuals, and that means resetting the color if it doesn’t meet the criteria. On 3/29/10 10:44 AM, azona26 azsl1326-em...@yahoo.com wrote: Thanks. However switching to dataChange event causes all items in the DropDownList to change their text color. --- In

[flexcoders] Re: Best Way To Tweet To Twitter From an Air Application

2010-03-29 Thread valdhor
Sorry, no idea. I haven't had to add that to any applications I've built. --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: Hi Valdhor. I did finally manage to get this done. My app now has the capability to display a users Twitter feed and post a tweet to a twitter feed

[flexcoders] Re: Dataprovider and events

2010-03-29 Thread valdhor
How does the combobox get its data? If it is using remoting, you can wait for the resultevent to fire and then populate the listbox. Also, you could populate the dataprovider with dummy blank data so it's not null and then update it when the data arrives. --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Dataprovider and events

2010-03-29 Thread Scott
It's throwing because the cbGroupSelect.selectedItem.pkGroupID doesn't exist when it's trying to call it the list_update function... The combobox cbGroupSelect pulls its data from the provider first which gives the index fields for the list object. I'm doing creation_complete on the list object,

[flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
Got it! Thanks for the additional insight as that is exactly what I needed to do. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You must derive all visuals, and that means resetting the color if it doesn't meet the criteria. On 3/29/10 10:44 AM, azona26

RE: [flexcoders] Re: Dataprovider and events

2010-03-29 Thread Scott
I should spend some time with FB4 (which is what I'm using right now) and result events. The remote object calls are a lot different than in FB3... Callresponders are a little different when it comes to this. I don't see any references to result event like what I had in FB3...

[flexcoders] SparkDataContainer Scroller not scrolling to bottom of container

2010-03-29 Thread azona26
I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end of the scrollable area. In actuality, the thumbbar should be at the bottom of the scroll

[flexcoders] SparkDataContainer Scroller not scrolling to bottom of container

2010-03-29 Thread azona26
I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end of the scrollable area. In actuality, the thumbbar should be at the bottom of the scroll

Re: [flexcoders] FileReference does not sending the right header in file upload

2010-03-29 Thread Oleg Sivokon
Consider adding the parameters to URL instead of pushing them into POST request body. That is form the URL of the URLRequest however you want, so it will look like: domain/uploading-script?param=valueanotherParam=value You don't have to specify Security.allowDomain() for what you are doing, unless

Re: [flexcoders] Dataprovider and events

2010-03-29 Thread Alex Harui
Instead of using creationComplete, you might want to wait until you get a resultEvent from the server. On 3/29/10 1:12 PM, Scott h...@netprof.us wrote: It’s throwing because the cbGroupSelect.selectedItem.pkGroupID doesn’t exist when it’s trying to call it the list_update function… The

[flexcoders] Purplexing error

2010-03-29 Thread Scott
I'm getting a weird error when updating a mysql table through PHP. I've tested the function using PHP and it works perfect. I've also made sure the variables match the object. When I fill in my textbox and click submit, I get this error: ArgumentError: updateItem called with an item

RE: [flexcoders] Dataprovider and events

2010-03-29 Thread Scott
I just got done adding that in. The result event was moved to the CallResponder. Thanks! From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, March 29, 2010 5:44 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Purplexing error

2010-03-29 Thread Scott
I think I found the issue... And I think it's a bug... I used the FB4 function to create the base PHP class. I then modified the FB4 created update function to use an object instead of an integer. FB didn't re-adjust the superclasses after I made that change. What I did to fix it was to

[flexcoders] ComboBox fullscreen issue

2010-03-29 Thread elder.mich...@rocketmail.com
Short version: ComboBox's dropdown works and renders properly before fullscreen, but not during or after. I'm not totally sure how to ask this, so I've actually made a page demonstrating the error http://whatisfound.com/flex/problem1/ , with a very simple Flex app, and all three directions you

[flexcoders] Re: Error #2170: Security sandbox violation

2010-03-29 Thread jeyathilak
Hi Oleg, Thank you for your response. I checked that SalesForce has crossdomain.xml in both their http and https servers. http://test.salesforce.com/services/Soap/u/crossdomain.xml http://test.salesforce.com/services/Soap/crossdomain.xml

[flexcoders] Intercepting the MouseOver MouseOut Events on DisclosureIcon of ADG

2010-03-29 Thread abhishekkhandelwal2000
Hi friends, I seek your immediate help, I have a Custom ADG that displays the grouped data, I would like to intercept the mouse over and mouse out events on the disclosureIcon of the ADG (the + and - icons), Please advise how to achieve the same. I have created a custom groupItemRenderer and