Re: Loading Multiple images

2016-08-29 Thread CodeGirl
I do have some incentive to learning FlexJS because I like how Flex works. Thats if FlexJS is similar to Flex and actionscript. Not sure why I do not like how HTML works. I was an original member of the HTML writers guild but as soon as Swing came out, I liked it much better. And Flex and Actio

Re: EventListener null reference error

2016-08-29 Thread CodeGirl
I was thinking about that last night while I was trying to sleep. Not sure if I think while I sleep of if I am in and out of sleep and think about stuff. But I wondered if that was what you meant. I was going to test it today to see if it would work. My thoughts was slightly different but I C m

Re: EventListener null reference error

2016-08-28 Thread CodeGirl
I finally found an answer. Now I wonder if this was what you were saying all along and I was too focused on adding the event listener rather than thinking of scope. The down side is that I ended up adding four listeners to add one that I needed. So here is how I did it. in the tab or NavigatorC

Re: EventListener null reference error

2016-08-28 Thread CodeGirl
After some reading, there was a suggestion to use the Event.Change on the tab but when I tried it, it never fired. I even tried the TabIndexChanged Event but it also didnt fire. I tried to look at the AS and Flex Class info in hopes of finding out how it was designed but I couldnt find anything a

Re: EventListener null reference error

2016-08-28 Thread CodeGirl
Okay, so I went to the tab Navigator and I put an id on the tab which my options are on. Where I want my event listeners is the parent to where the tab Navigator is located. So this is great. Except when I tried to create an event listener for the tab if it was clicked, I didnt see an okClicked

Re: Loading Multiple images

2016-08-28 Thread CodeGirl
I knew what you were suggesting. I know you were not offering me a job. I thought that is what I was doing when I learned Flashbuilder. I had just learned EJBs and I asked around what was the latest front end app so I could invest forward. But just as I got efficient with Flex and Actionscrip

Re: EventListener null reference error

2016-08-28 Thread CodeGirl
This was the first app I wrote which used listeners this way, I never thought of it like that. But now that most apps are going to mobiles, I guess its the kind of thinking needed. Thanks for the help. Or YTH -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Eve

Re: EventListener null reference error

2016-08-28 Thread CodeGirl
Here, I added a powerpoint showing you what my barn app looks like. Go to my consultant job and click on the Custom Barn Presentation https://www.linkedin.com/in/michelle-streeter-62839638 -- View this message in context: http://apache-flex-users.246.n4.nabble.com/EventListener-null-re

Re: Loading Multiple images

2016-08-28 Thread CodeGirl
One other thing, since no one pays me and I have nothing to do, I code. I have to kill time every single day. So for me, weekends dont exist. Holidays dont exist. A day I need to get through exists. If you didnt answer my questions until Monday, I would have to work on something else or keep t

Re: EventListener null reference error

2016-08-28 Thread CodeGirl
You just wonderfully described what I suspected was causing my problem and I appreciate that it was designed that way. Except when it came to my event listener. I need to know in a grand parent when an option is changed at the grand child level. Sure the event wont be triggered until I am in the

Re: Loading Multiple images

2016-08-28 Thread CodeGirl
Yes, the local farmer does know I am here. He does not have internet. And he has a jealous wife and so I have to keep away. Yes, I have been looking for work all along. But it appears my being 53 and over weight is not what they are looking for. Too bad I didnt know you would have been interes

Re: AW: Loading JPG bitmapdata. Something like Embed but at runtime

2016-08-27 Thread CodeGirl
Thank you Chris. I actually ditched using the class thing. As soon as I realized I was going to have to create a class for every location I wanted to load images from, that was when I decided against it. And it wasnt needed anyways. Of course it didnt help when I was testing different loaders t

Re: Loading Multiple images

2016-08-27 Thread CodeGirl
Alex, we already know more often than not, your the one who is going to answer. I was not having a problem in this question, I was asking your opinion. I can tell when you are very busy because our questions have to be much more detailed when your more busy and I think you must be very busy right

EventListener null reference error

2016-08-27 Thread CodeGirl
I have an options panel. I have a panel which I display an image with the options from the options panel. The Options panel has a Tab Navigator for different categories of Options. In the parent of both panels, I have my event listeners for all my options. The problem is that my event listene

Loading Multiple images

2016-08-26 Thread CodeGirl
I found this example on how to load Multiple Images. http://stackoverflow.com/questions/1139838/how-to-load-several-external-images-getting-cannot-convert-to-class Is this the best way or is there a better way? Also, is it better practice to use URLLoaders before the Loader? Or is it fine to

Re: Loading JPG bitmapdata. Something like Embed but at runtime

2016-08-26 Thread CodeGirl
Turned out to be a bug. Got egg in my face I had created a function called setOffset which when I created it, it was intended for after creation settings and so in that function, I call update. Later, as I changed how I created my 3D image, I ended up using that function in the create process.

Re: Loading JPG bitmapdata. Something like Embed but at runtime

2016-08-26 Thread CodeGirl
Here is an example of the embed that works but only if I put my hard code my images rather than loading them from a list. [Embed("../panels/OceanBluePanel.jpg")] private static const OCEANBLUEPANEL:Class; this.panelTexture = [new OCEANBLUEPANEL().bi

Re: Loading JPG bitmapdata. Something like Embed but at runtime

2016-08-26 Thread CodeGirl
Figured you would assume I did what the examples showed. Thats why I just said I tried various loaders and how they say to get the data on the complete events. But I guess I have to say that too. If you google about loading an image, you get all kinds of examples about using Loaders. URLLoader

Re: Loading JPG bitmapdata. Something like Embed but at runtime

2016-08-26 Thread CodeGirl
Let me revise my statement. I created a Panel Class which contained all my images as Embed and then created a static getImage function But even with the Embed statement in a separate class gets the same error. Evidently, the Embed only works if its in the same glass as the setTexture function.

Loading JPG bitmapdata. Something like Embed but at runtime

2016-08-26 Thread CodeGirl
If I have the image hard coded into my class, I do not get any errors and my 3D image loads. [Embed("panels/BrownPanel.jpg")] private static const BROWNPANEL:Class; this.panelTexture = [new BROWNPANEL().bitmapData]; Guessing the bitmapdata is loaded at compile time. however, when I try to load

3D which is more expensive. Points? Or a whole lot of NaNs

2016-08-22 Thread CodeGirl
So I am trying to create a 3D image. Basically a Barn but the barn needs to grow as the length and width grows. So just painting a picture on a square isnt going to work. I found this one example written by Lee Burrows which he offers a Shape3D.as class where you set points and then with the

3D and root

2016-08-17 Thread CodeGirl
So I am learning about 3D in Flex and ActionScript http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WSF24A5A75-38D6-4a44-BDC6-927A2B123E90.html I wanted to see the example given in this article. http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WSCE716DAD-9364-464f-AFE9

Re: default Index for ComboBox or DDL when DataProvider data comes from a webservice

2016-08-17 Thread CodeGirl
I had already tried the callLater idea but it didnt work. I have not tried the validate now. Will see if that helps. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/default-Index-for-ComboBox-or-DDL-when-DataProvider-data-comes-from-a-webservice-tp13321p13329.h

default Index for ComboBox or DDL when DataProvider data comes from a webservice

2016-08-16 Thread CodeGirl
I have a panel with a ComboBox or even a DropDownList. The dataprovider is a list which I get from a web service. I want to have the default item selected. However, I do not know the index but the id of the default item and so I have to look that up. But by the time the dataList is populated

Re: .jpg images via SOAP webservice using SQL Server as DB

2016-08-16 Thread CodeGirl
Here is a suggested work around. http://stackoverflow.com/questions/25255030/as3-loading-images-binary-xml-to-flash What is an FLA? I am guessing the suggestion here is in JPA on my backend, convert my varbinary(MAX) to a String. Let SOAP send it as a String. Let the Value Object be a String

Re: .jpg images via SOAP webservice using SQL Server as DB

2016-08-16 Thread CodeGirl
I had converted it to a string so I wouldnt crash when i ran it. So I added a new variable called testpic. Here are the DTO, Super_, and EntityMetadata for that valueObject /** * This is a generated sub-class of _ImageDTO.as and is intended for behavior * customization. This class is only g

.jpg images via SOAP webservice using SQL Server as DB

2016-08-15 Thread CodeGirl
I have some small images in .jpg format. After some reading, I concluded my files were small enough to store in the database but I was told to make the type varbinary(max) No problem so far When I created my Entities JPA wanted to make it a byte[]. Seems no problem. I defined my DTO object

Re: Flex and Google API

2016-08-10 Thread CodeGirl
FYI, Here it is. Here is the URL minus my key: https://maps.googleapis.com/maps/api/distancematrix/xml?origins=Dallas,%20TX&destinations=Houston,%20TX&units=imperial&key= http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark"

Flex and Google API

2016-08-10 Thread CodeGirl
I see Google does have a Web Service to get distances between two cities. Has anyone done this inside of Flex? How did you do it? -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-and-Google-API-tp13254.html Sent from the Apache Flex Users mailing list archi

Using external Projects

2016-08-10 Thread CodeGirl
I have a flex project. For this question we will call it checkbook I have a second flex project. Lets say its called office. I want to be able to use checkbook in my office app. But I also want to use the checkbook on its own as well. I was able to accomplish this by adding my checkbooks src f

How I am using Flex and AS

2016-07-22 Thread CodeGirl
I use FB to create my services and valueObjects. I then created a service base AS class which contains a datalist and an index with getters and setters and defines the projects access to the service. For each Datagrid I want, I create a list class which extends this service class. In this clas

SDK update description doc

2016-07-22 Thread CodeGirl
I looked at the web site and found the SDK update history but there was no description of what was in the update. Is there a place which lists each update with what was updated since Apache took over? I am still using the one which came with Flash Builder and wondering if I should incorporate the

Re: FlexGlobals Parameters passed in the URL

2016-07-19 Thread CodeGirl
So, are you saying if I ad the parameter to the template then I could add the parameter to the URL keeping the html extension? That the html would then pass the parameter to the swf file? -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexGlobals-Parameters-pas

Re: FlexGlobals Parameters passed in the URL

2016-07-19 Thread CodeGirl
I think I found the answer but while I am on the topic, is there any issues in doing it this way which bypasses the html file? File:///D:/AccountsFlex/Accounts/bin-debug/BMSAccounts.swf?companyid=501 -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexGlobals-Pa

FlexGlobals Parameters passed in the URL

2016-07-19 Thread CodeGirl
Several years ago, I figured out how to be able to pass a variable from the URL to my app using the FlexGlobals Parameters. And when I did it, I saved an example of that URL. Except somehow, I cant find that example any longer. Would someone help me figure this out again? protected function a

Re: Multiple web services

2016-07-11 Thread CodeGirl
I am dong all my web service work in actionscript. However, I have been using Flashbuilder to build the service action script files and ValueObject files using the wizard and the WSDL. So what I did to get around this was to create a workspace with one project which accesses one web service and t

Re: Multiple web services

2016-07-08 Thread CodeGirl
So, after your post, I tried something. I have two projects. One project uses one service and the second another service. While I was in one projects workspace, I added the second projects source to the source path. I then added some of the seconds components to the first projects application a

Multiple web services

2016-07-08 Thread CodeGirl
I have been using Flex since 2010. I started with Flashbuilder. I discovered that Flashbuilder and maybe flex as well, only allowed one web service per project. Is this still true now with the new SDKs? I have modules in my software. One module is for trucking and another module is for Farms

AlivePDF Date Formatter

2015-01-19 Thread CodeGirl
I am using Alive PDF and a Grid to export data to a pdf. Does anyone know of a way to format Date Fields with DateFormatter for this tool? -- View this message in context: http://apache-flex-users.246.n4.nabble.com/AlivePDF-Date-Formatter-tp9435.html Sent from the Apache Flex Users mailin

reports

2014-12-15 Thread CodeGirl
Does Flex or FlashBuilder provide some kind of reports features? I have been researching report software such as Report Builder for ColdFusion, Oracle Forms and Reports, and Oracle BI, But is there something which I can use what I already have in flex? Like I am looking at a screen I designed a

Re: result Handler fires but last result does not contain the correct data in Actionscript file

2014-12-10 Thread CodeGirl
All of the sudden, its working. The only thing I know I did was reboot my computer. Sure I was playing around trying to get it to work. So I have no clue if I did something or if rebooting fixed the issue. Now I have to figure it out so I can repeat whatever caused it to work for all the ot

RE: Bubbling to a Grandparent

2014-12-10 Thread CodeGirl
I have it working. Maybe not bubbling though, I am having to repeat it in the parent. but I am not sure what I did to get it to work. I will play around and see if I can figure out what it was I did to get it to work and post back the answer. -- View this message in context: http://apache

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
Its probably a FB issue. I was trying to trigger off the Navigator Content. I am now triggering off the tabNavigator Change event.What I was trying to do is open a new window with a new set of tabs for a different group of screens. Right now, I am using the change event and the newIndex

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
Hey, the change event in the TabNavigator does fire. So I might have an answer after all -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Open-a-new-Browser-tab-from-Tab-navigator-Content-tp9046p9086.html Sent from the Apache Flex Users mailing list archive at N

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
FYI, even the childindexchange doesnt work as well. Guess I cant do what I was wanting to do. At least not with the TabNavigator. Oh, and I did use a break point in debug to validate this. protected function tabnavigator1_childIndexChangeHandler(event:IndexChangedEvent

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
Thank You. I take it just because an event is available does not mean it actually works. Do you know of a way that I can tell when an event is available that it would work or not so I dont have to ask this type of question any longer? -- View this message in context: http://apache-flex-user

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
Oh and as for my experience level. I have been programming for over 35 years. I started using Flex in 2010 I think. Maybe 2011. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Open-a-new-Browser-tab-from-Tab-navigator-Content-tp9046p9081.html Sent from the

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
If you look at my original question, you can see I provided the code. I am using FB 4.5 on a Windows 7 computer.The browser is Firefox if not the latest version, fairly close since I installed it a month ago. -- View this message in context: http://apache-flex-users.246.n4.nabble.c

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
I think you are completely in appropriate. I am guessing you think I didnt already try to find the answer before I asked the question. Your first response was asking if I knew how to debug or not. The second made the assumption that I hadnt already tried to find a different solution. I was

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
I am hoping someone who knows how to get this to work will reply to my question. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Open-a-new-Browser-tab-from-Tab-navigator-Content-tp9046p9076.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Open a new Browser tab from Tab navigator Content

2014-12-10 Thread CodeGirl
The first indication it didnt work was that a new tab didnt open. Then yes, I placed a break point and it didnt stop. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Open-a-new-Browser-tab-from-Tab-navigator-Content-tp9046p9072.html Sent from the Apache Flex

Re: Receiving ObjectProxy

2014-12-09 Thread CodeGirl
Also, check to see if there is only one record. I discovered some time ago when I ask for a list from my web service but there was only one result instead of a list that it failed. And so I had to test to see the result was a list or not. If it was not a list, then I had to use the event.resu

Open a new Browser tab from Tab navigator Content

2014-12-09 Thread CodeGirl
The function is not being called. what should I do to get this to work? protected function truckingMenu_clickHandler(event:MouseEvent):void { var connection_request:URLRequest; connection_request = new URLRequest("file:///D:/Trucking.html"); connection_request.method = UR

Re: Datagrid functions with objects with objects

2014-12-09 Thread CodeGirl
I down loaded the one from Adobe and used it. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Datagrid-functions-with-objects-with-objects-tp9022p9045.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

One to one relationship - best practices for Flex?

2014-12-09 Thread CodeGirl
I have a one to one relationship in my database. In Java I would just extend one class. But Databases are not Object related. In JPA, on the web service, it wants to just make a field of the class type in the other class but this causes problems with the datagrid. Especially around the data

Re: Datagrid functions with objects with objects

2014-12-09 Thread CodeGirl
IC Thank You. You do know I am Michelle Right? Too bad the avatar is male. Tried to change it but there wasnt one that was female. Guess I will have to download one. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Datagrid-functions-with-objects-with-objec

Re: result Handler fires but last result does not contain the correct data in Actionscript file

2014-12-09 Thread CodeGirl
This first image show a new unsaved item in the grid. Notice id = 0. This image shows in debug that when the setTrip result event is fired for some reason its still the unsaved record zero rather than the saved id whi

RE: Bubbling to a Grandparent

2014-12-09 Thread CodeGirl
In my example, I am not using a web service, but in my real code I am. the problem with dispatching the event in the mxml file is that there is no guarantee the web service has returned the new id when creating a new record. hence why I have it being dispatched in the aAs.as file when supposedl

Re: Datagrid functions with objects with objects

2014-12-09 Thread CodeGirl
The problem is that I have generic combo boxes which also use datafield and so yes, in this situation, its easy to solve but in the case of my other generic custom objects its not. I only put this example to give an example of what I am asking rather than post the entire code of a custom combo bo

Datagrid functions with objects with objects

2014-12-08 Thread CodeGirl
I have a datagrid with a datagrid column. Except the data object contains a data object. For instance the object may be id:int transaction:Transaction and Transaction id:int accountid:int Notice since the datagrid is based upon the object that the datafield is transaction.accountid

Re: result Handler fires but last result does not contain the correct data in Actionscript file

2014-12-08 Thread CodeGirl
this question stems from my last question. If you look at the example.zip file but add the extend as suggested then debug the set result function you will see what I am saying. Except the example is not using a web service. For some reason this same function return the correct id when in the

result Handler fires but last result does not contain the correct data in Actionscript file

2014-12-08 Thread CodeGirl
If I have this same function in an mxml file, the last result returns the correct info but when its in an action script file, it does not. Why? is there something I need to do different? protected function setAResult_resultHandler(event:ResultEvent):void {

RE: Bubbling to a Grandparent

2014-12-08 Thread CodeGirl
Why do I need to keep the repeater in A.mxml? I thought bubbling would go all the way to the Grandparent Example.mxml. Or is there a better way? -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Bubbling-to-a-Grandparent-tp8997p9017.html Sent from the Apache Fl

RE: Bubbling to a Grandparent

2014-12-08 Thread CodeGirl
Thanks for the answer. Is there any hit to doing this? Do you know why they didnt just do this as default? I take it the mxml files have this by default -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Bubbling-to-a-Grandparent-tp8997p9016.html Sent from the

Re: Bubbling to a Grandparent

2014-12-07 Thread CodeGirl
example.zip Here is an example of what I am doing and the issue I am trying to solve with the latest of what I have. When the app loads, hit the new button and then the update button. Notice that the Bs does not update to

Bubbling to a Grandparent

2014-12-06 Thread CodeGirl
I have created mxml files which contain datagrids for my web service data tables. for this question, we are going to call these files parent files. I have also created AS files to hold the data and the service calls to obtain the data. For this question, we are going to call these files child f