Flex :: Alerts, Dropdown Calendar Of DateField, Cursors Resulting In Null Value References Once Embedded?
Aug 18, 2009
I have a Flex application embedded in a Flash application, which was working fine and currently works fine if not embedded. As of last Friday, when embedded the Alerts do not show (no error, just nothing), DateField Calendar dropdowns do not show (null value reference of DateField), and dynamically showing the busy cursor errors (null value reference). My code for the Flex app did not change, and I can't think of any reason outside of Flash Player updates (which I think unlikely) or something has changed in the Flash application that is embedding it.
View 1 Replies
Similar Posts:
Jul 31, 2010
i inserted a dateField component.on clicking it displays calender, i would like to add 2 comboboxes, i shows hours(0 to 23) other for minutes (0 to 59) to calender so tht the user can select the time along with the date and that wil be displayed in the text input as date and Time. one more thing i would like to add is clear button to clear the selected date to the calender.
View 1 Replies
Aug 27, 2009
I use a datefield on a form for user to pick an appointment date.All is working fine but I would like to make users cannot select previous date (ie yesterday).
View 3 Replies
Jul 15, 2010
I want to change the dropdown driection of the calender of datefield.since my width of the application is small.and also i want to reduce the size of the datefield's calender control.
View 1 Replies
Jul 26, 2011
Setting the text property of a flex DateField makes the selectedDate property of that DateField go to null.I need to set the text property so that I can use a particular format (DD-MMM-YYYY).
View 2 Replies
Apr 15, 2012
I have a form in which i add two dates
Start date
End Date
I want to know how i validate that the selected start date is always less than end date(actually an expiry date).
View 3 Replies
Sep 2, 2011
Boy, it feels like I'm here a lot more than I used to be. I'm currently switching tweens to use TweenLite and what happens is I now have a null reference.
What I don't understand is how to switch this code appropriately. The object begin tweened then has to be capable of being dragged again once it's scaled back down and incapble of being dragged while it's scaled up.
[Code]...
View 8 Replies
Nov 6, 2008
I am a new flash developer and I cannot seem to understand this problem. Whenever I try and trace one of these variables of type XMLList they all return NULL except for the last one in the array.The createDatsSets() function is designed to pull XMl data and copy it to an variable of type XMLList which resides in an array. This should happen 8 times to add data to all 8 variables.It works fine with a single variable but, in the for statement when.I try and trace any of the variables in the xmlList array only the last one has XML data in it.
View 4 Replies
Feb 2, 2011
I'm making a list of alarms to pick from. I've googled for answers the past two days but I cannot figure out what my problem is with this batch of code.
I've got 7 items in the menu and the dropdown works good as long as you do not select the item that is already displayed in the menu. You can select another item and then reselect the original item, but I get error "Cannot access a property or method of a null object reference." from
[Code]...
View 0 Replies
Nov 8, 2004
so heres the deal i have a drop down menu that for some reason is not picking up button presses, im starting to think its because the drop down menu is within another movie clip, but its driving me nuts, any reasons why an embeded movie clip wouldnt be picking up a hitTest or a this.onRelease ??? ahh driving me nuts heres my code im using the undocumented tween class
onClipEvent(load){
//portfolio dropdown
this.onRelease = function() {
[Code].....
View 2 Replies
Sep 16, 2006
I have a dropdown style menu that has some movieclip buttons inside it and when I click on the movieclips the actions aren't working.
Here is the file I'm working on. Rollover the head on the border and you'll see what I mean. [URL]
I tried searching but couldn't find any threads that answered my question about why the MC doesn't work when its embedded inside another MC.
Here is the code (first frame of root timeline) that is used for the movieclip button:
Code:
_root.odinHead_mc.videoGalleryButton_mc.onPress = function() {
_root.videoGallery_mc._visible = true;
};
View 2 Replies
Mar 13, 2011
I have a Flash 10 program that locks up when running on a device, such as a netbook, that has a weak processor.Specifically, it goes into a state where it is doing very heavy processing within an ENTER_FRAME event handler following a mouse down event, and expects to stop doing this processing following a mouse up event. The problem is that, since there is no idle time left over following the frame event handlers, the mouse up event is never received, and consequently the process locks up in what amounts to an infinite loop. Yes I can do things like lower the frame rate and do what I can to reduce the processing taking place in each frame, but is there some iron clad way to break out of this? Is there some way to detect that no idle time exists? Or is there a way to force receipt of the interactive mouse events? Or could I, within the ENTER_FRAME code, detect the state of the mouse, up or down, without getting a mouse event?
View 2 Replies
Aug 28, 2009
User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)
View 2 Replies
Oct 28, 2011
I had an assessment i need to finish as my test for flash developer vacancy...i need to create a function that convert date Gregorian calendar to Hijri calendar in flashis that possible?I've search through google, but still doesnt find anything useful yet.
View 3 Replies
Mar 28, 2004
I have to set up an list of events in sort of a calendar format. I'm trying to figure out how I should bring in the data.The data will be stored in a mySQL database. Should I just bring it straight into flash with PHP, or should I use PHP to convert it to XML and then bring it to flash?
View 1 Replies
Feb 20, 2008
I would like to know if there is a way to create a calendar page on my site that will display the free Google Calendar? I have embedded code in a Myspace site before and it worked well, but have no experience with the IFrame code that Google Calendar uses. fyi- I just bought Flash a month ago and have been editing a template that I purchased to be my new website.
View 1 Replies
Dec 8, 2009
I am making a form that pass's the Variables over to php. I am using Input text feilds and also a combo box. The text fields were a breeze and the combo box took a little bit of research but I got that working by assigning it a instance name of cBox and then using the following code to pass it through:
Code:
cBoxVar= cBox.getValue();
Now I want to add a DateField using the AS2 DateField Component. How would I pass it over to a variable so when the form collects at the end it will go over to the php?
View 1 Replies
Jun 1, 2010
I' m trying to use the DateField control.I can set the current value using the selectedDate field.Adobe says: "Selecting the currently selected date in the control deselects it, sets the selectedDate property to null", so when user selects other date the selectedDate = null. How do I can get the current selected value? I only saw in the debugger that DateField's text property contains the string with selected date? Do I need to parse it back?
View 2 Replies
Oct 17, 2010
I'm using a dateField component (with editable = true) as an itemEditor in a dataGrid. Interestingly, when editing the textInput part of the dateField it doesn't seem to react to an ESC keydown as I would expect, i.e. reload old dateField value and give up focus. This seems to be standard for most other components, but not for as most other components do.
How would you go about implementing such behavior? I can listen to keydown == escape on the TextInput portion, but just realized that I don't know how to tell dateField to give up focus and politely close - in fact I'm not even sure that's the right strategy (maybe I should work at the DataGrid level?
View 1 Replies
Oct 10, 2009
there's no way to clear a date after it has been inserted! I had to add an ugly button near it to clear it programmatically..
View 1 Replies
Apr 15, 2012
I'm using Flash builder, with flex 4 sdk, I'm trying to create a DateField in which the TextInput component has rounded corners, this is my code, for some reason it doesn't work, anyone knows why?
[Code]...
View 1 Replies
Mar 31, 2011
Is there a way to Set a a focus border on a datefield when it is selected and change the border to some other colour when we lose focus from the datefield.
View 1 Replies
Apr 17, 2011
according the documentation borderThickness is an applicable style, but when I try to set it to anything (would prefer '0') it says "The style 'borderThickness' is excluded by type 'mx.controls.DateField'."I could style the background color to be the same as the background, but I have an image behind so this will not work.
View 1 Replies
Jun 18, 2009
Is there any Flex control to select months (any)? Right now I'm using a DateField and allow the user to select any date in a month to select that month.
View 2 Replies
Dec 19, 2009
Is there anything wrong with following snippet of code?
var d:Date = DateField.dateToString(myDateField.text,"DD/MM/YYYY");
testTextArea.text = d.getSeconds().toString();
Error: Implicit coercion of a value of
type String to an unrelated type Date.
View 1 Replies
Feb 19, 2010
How to create a DateField in flex, that would disable all the dates before today's current date.
<mx:DateField id="dateField2" yearNavigationEnabled="true"
disabledRanges="{[ {rangeEnd: new Date(dateBeforeCurrentDate} ]}" color="0x000000"/>
I understand I will have to do sometime like the code above. But I don't know how to get dateBeforeCurrentDate, so that all the date from yesterday will be disabled.
View 4 Replies
Jun 3, 2011
How can I detect when a user changes a date field - specifically when they TYPE the date as I have set it to editable:
<mx:FormItem label="Assigned" x="220" y="59">
<mx:DateField formatString="YYYY-MM-DD" id="clinicianAssignedDateInput" editable="true" text="@{this._currentEditEncounter.clinicianAssignedDate}"
[Code]....
The change event seems to only throw when using the calendar pop-up. It is not thrown when the user manually types in to the field. I also tried dataChange.
View 2 Replies
Jun 30, 2011
I'm using the MX DateField control in Flex and want to display the date as 01 Jul 2011 or 01 July 2011. Does anyone know how to do this? I tried setting the formatString to "DD MMM YYYY" but it didn't work.
View 1 Replies
Sep 29, 2011
I have two Datefields .Is there a way that i can set the date of second Datefield to a specified range(say three days ...?. I tried to do it but not worked .. dont know to convert date back to string and format it .. here is the code
[Code]....
View 2 Replies
Oct 28, 2011
I have a Form with several FormItems and one of those include an mx:DateField. I am not sure how I should bind the DateField values. I have tried the following which none work:
<mx:DateField yearNavigationEnabled="true" text="@{dateValue}"/>
<mx:DateField yearNavigationEnabled="true" selectedDate="{dateValue}"/>
Now eventually I am trying to store/retrieve the date as a string in the db.
View 2 Replies