Flex Calendar

Hi
I have created a flex app for use by the employees of our company. There are 60 employees and we are all shift workers with various rotations of work days. In the application, an employees logs in and a datagrid appears. Inside the datagrid is a cell for each day of the year and this is populated through actionscript with the employees work schedule for the year. A rotation is placed in the database of 6 days on and 4 days off, for example, and this is displayed in the datagrid based on the start date of the rotation. So if a employees starts their cycle on January 1, the dates January 1-6 will show "WORKING" in the datagrid, then January 7-10 will be blank (days off), then January 11-16 will show "WORKING" and so on.
What I want to try in to produce an annual calendar view, similar to any paper wall calendar. It will appear with the 12 months arranged in a grid type fashion. For each day that is a "WORKING" day, I want to highlight it somehow (color, for example). This way, an employee can look at this calendar view and quickly see that he is working on December 25th without having to scroll all the way through a datagrid.
I hope I explained that succintly!
Any ideas on how to accomplish this? Since the actionscript already can produce the days of work and rest, it is just a matter of displaying the working days in a grid type calendar rather than a list based datagrid. Unfortunately, I can't figure out how to do it.
Thanks for any help!

Building the Flextras Calendar took 11 months; and it was my primary project during that time.  I'm told we're pretty close to the iLog Calendar conceptually, but it isn't the same.  Our focus was not on duplicating Outlook / Google Calendar.  It was on providing an extensible base where developers could build anything.  Every 'visual' piece of our Calendar has a renderer associated with it, which gives the developer complete control.
Generally, I assume a developer, with a single use case could build a knock off in 1/4 of the time.  It wouldn't be as extensible or documented as ours is; but if it's for a single uise / specific app it would work fine and be taylored to their specific needs.
It sounds like the the original poster doesn't need all the functionality of the Flextras Calendar or the iLog Calendar.  He just needs a month view that displays 12 months and highlights the color of specific days.  I bet something could be created in <2 weeks easy.  I could probably create a mockup using the Flextras Calendar in a couple of hours.  I already have a prototype where three Calendars act like a single unit; creating one where 12 act as a single unit won't be much different.

Similar Messages

  • Announcement: Introducing a Flex Calendar Component

    Hi Everyone,
      I'm pleased to announce the release of the Flextras Calendar Component.  This was a big undertaking for us and we can't wait to have a few people take a look and tell us what we did wrong (or right).
    The Calendar is a great way for you to deal with date based data in a Flex Application and it allows you to build Calendar or scheduling applications.  The component features:
    Views for a Month, Week, and      Day. 
    Extensive renderers so that      you can make the component suit your needs.
    Standard Flex APIs for drag      and drop, itemEditors, and localization. 
    Support for Flex 3 and Flex 4
    You can download our no cost developer edition along with samples and documentation at http://www.flextras.com/index.cfm?event=loginForm&c=218
    Here are some links to find out more:
    Product Page
    Documentation
    Demos
    Register and Download
    Flextras Home
    We are here to help and would love to hear your feedback.  Drop us a line! What can we do for you today?

    Take a look at ours and try out our Free Developer Edition:
    http://www.flextras.com/?event=ProductHome&productID=15
    We believe it creates a strong foundation for you to extend to build scheduling / Calendar applications with Flex.
    If you want to build a Google Calendar style implementation, you'll need to create a custom DayRenderer with an embedded Gantt chart.  We're working on a sample, but have no ETA for delivery.

  • Flex Calendar component?

    Any one know a good calendar / scheduler component. Should have day/month/week view. The events that you add should be draggable and resizable.
    Please.. urgent. If you have the component with you could you mail it to [email protected] thanks a lot

    Take a look at ours and try out our Free Developer Edition:
    http://www.flextras.com/?event=ProductHome&productID=15
    We believe it creates a strong foundation for you to extend to build scheduling / Calendar applications with Flex.
    If you want to build a Google Calendar style implementation, you'll need to create a custom DayRenderer with an embedded Gantt chart.  We're working on a sample, but have no ETA for delivery.

  • Flash Islands : convert bindable ArrayCollection

    Hi Experts,
    I'd like to use a Flex calendar component in a Flash Island in my WDA application.
    I've created a node (EVENTS) with 3 attributes (STARTTIME, ENDTIME, SUMMARY) and created a GACDataSource (calendarEvents) with 3 GACProperties (startTime, endTime, summary). Then I've created some bindable variables in my Flex application :
    [Bindable]
    public var calendarEvents:ArrayCollection;
    [Bindable]
    public var startTime:String;
    [Bindable]
    public var endTime:String;
    [Bindable]
    public var summary:String;
    If I put a DataGrid in my Flex application and use calendarEvents as dataProvider everything works fine and the data is displayed in the grid :
    <mx:DataGrid dataProvider="{calendarEvents}" id="grid">
         <mx:columns>
              <mx:DataGridColumn headerText="Start" dataField="{startTime}"/>
              <mx:DataGridColumn headerText="End" dataField="{endTime}"/>
              <mx:DataGridColumn headerText="Summary" dataField="{summary}"/>
         </mx:columns>
    </mx:DataGrid>
    However, if I use calendarEvents as dataProvider for the calendar component, the events are not displayed on the calendar. This component expects an ArrayCollection that looks like :
    [Bindable] public var eventsArray:ArrayCollection = new ArrayCollection([
    {startTime: "2011/03/10 00:00", endTime: "2011/03/11 00:00", summary: "Meeting"}]);
    The problem is the calendarEvents ArrayCollection contains WDContextNode objects. How do I convert this ArrayCollection to an ArrayCollection that can be understood by the calendar component?
    Regards,
    Pierre

    Problem solved by specifying calendar data with custom functions.
    Pierre

  • Calender view using charts

    Hello everyone,
    I am trying to create a calender view for a week using charts with days on x axis and hours on y axis.
    I would like to highlight the meetings in any color to give a weekly view. But I am not able to highlight more than one meeting in a single day.
    I am totally new to charts. Please advise me what is the best axis and series to be implemented for the case.
    Thanks a lot in advance.
    This is what I am using
    [Bindable]
      private var expensesAC:ArrayCollection = new ArrayCollection( [
      { Date: "25-Jul", Open: 40.75,  High: 40.75, Low: 40.24, Close:40.31},
      { Date: "26-Jul", Open: 39.98,  High: 40.78, Low: 39.97, Close:40.34},
      { Date: "27-Jul", Open: 40.38,  High: 40.66, Low: 40, Close:40.63},
      { Date: "28-Jul", Open: 40.49,  High: 40.99, Low: 40.3, Close:40.98},
      { Date: "29-Jul", Open: 40.13,  High: 40.4, Low: 39.65, Close:39.95},
      { Date: "1-Aug", Open: 39.00,  High: 39.50, Low: 38.7, Close:38.6},
      { Date: "2-Aug", Open: 38.68,  High: 39.34, Low: 37.75, Close:38.84},
      { Date: "3-Aug", Open: 38.76,  High: 38.76, Low: 38.03, Close:38.12},
      { Date: "4-Aug", Open: 37.98,  High: 37.98, Low: 36.56, Close:36.69},                      
      { Date: "5-Aug", Open: 36.61,  High: 37, Low: 36.48, Close:36.86} ]);
    <mx:CandlestickChart id="candlestickchart"
      height="100%"
      showDataTipTargets="false"
      width="100%"
      paddingLeft="5" columnWidthRatio="1"
      showDataTips="true"
      dataProvider="{expensesAC}" dataTipFunction="dataTipFunction"
      >           
      <mx:verticalAxis>
      <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price" direction="inverted"/>
      </mx:verticalAxis>
      <mx:horizontalAxis>
      <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
      </mx:horizontalAxis>
      <mx:horizontalAxisRenderers>
      <mx:AxisRenderer axis="{haxis}" canDropLabels="true" placement="top"/>
      </mx:horizontalAxisRenderers>
      <mx:series>
      <mx:CandlestickSeries
      openField="Low"
      highField="Close"
      lowField="Low"
      closeField="Close"
      fill="{up}"
      declineFill="{down}"
      stroke="{wick}"
      boxStroke="{box}" dataProvider="{expensesAC}"
      />
       </mx:series>
      </mx:CandlestickChart>

    Why are you using a Chart component to render calendar data? There are some pretty powerful calendar components that are built for this purpose , ours included : Flexicious | Flex Calendar Component - New with Flexicious 3.1

  • How did they create this component.. suggestions please

    Hello,
    Please spend 3 minutes to watch this video and reply..Thanks a lot!!
    http://www.youtube.com/user/PracticeFusion#p/u/13/S1gQDHsmUqo
    here i've seen a flex calendar (go to 1.49 minute) they have a weekly view of the calendar. I would like to know how they did this. Please it is urgent.!!

    saisri2k2,
    Our component is designed to be extensible.  To make it look like it does in the video, you'd have tocreate a custom dayRenderer to displays and styles your data elements.
    You can check our documentation for information on the APIs and how to modify, or replace, our default look::
    http://www.flextras.com/Calendar/docs/FlextrasCalendarDocumentation.pdf
    It's not trivial, but it shouldn't be hard either.  We'd be more than willing to work with you as a customer to make it work.
    Feel free to contact us directly if you wanted to discuss further ( http://www.flextras.com/?event=ContactForm )

  • Calendar Day View in Flex

    Hi,
    I am not sure if this place is the right place where I am
    supposed to post this.
    Has anyone tried using Flex to build a calendar application
    from scratch? I am having some problems with finding the right
    elements that would display the calendar in a day view that looks a
    bit like a timetable, but so far I have only found calendar
    components that display in a monthly view.
    Does anyone know if there are other possible components
    other than mx:DateChooser to build an application that allows users
    to list things in a day view, a monthly view and possibly other
    customized views? Or, do I have to "establish" each of these
    elements by compiling them manually with images?

    "alice_data" <[email protected]> wrote in
    message
    news:g94igg$o1f$[email protected]..
    > Hi,
    >
    > I am not sure if this place is the right place where I
    am supposed to
    > post
    > this.
    > Has anyone tried using Flex to build a calendar
    application from
    > scratch? I
    > am having some problems with finding the right elements
    that would display
    > the
    > calendar in a day view that looks a bit like a
    timetable, but so far I
    > have
    > only found calendar components that display in a monthly
    view.
    > Does anyone know if there are other possible components
    other than
    > mx:DateChooser to build an application that allows users
    to list things in
    > a
    > day view, a monthly view and possibly other customized
    views? Or, do I
    > have to
    > "establish" each of these elements by compiling them
    manually with images?
    I built something with a month and a week view. I used a
    TileList for the
    month, and a custom component that does something sort of
    like an Accordion
    that held a List with a custom itemRenderer for each day.
    Essentially, I
    had an array of dates that I grouped different ways for the
    different views.
    If I had it to do over, I'd extend HierarchicalCollectionView
    to have a
    grouping function and use that to group on the different time
    periods. But
    this is how I dealt with the dates...
    http://flexdiary.blogspot.com/2008/05/working-with-dates-in-as3.html
    HTH;
    Amy

  • Master / Details Regions with yui Calendar

    I have a Calendar of Events that I need to display.  I have put a yui Calendar in my Master Region, and need it to control the Details Region.  I can get the Details Region to show a single event per day.
    Is there a way to let the Details Region show multiple Events if they are scheduled on the same date?
    I do not have access to an external web server to post my page to, but here is the code to the Master/Details Region on my site:
    <div id="sidebar2">
        <div id="yuicalendar1"></div>
    <script type="text/javascript">
    // BeginWebWidget YUI_Calendar: yuicalendar1   (function() {
        var cn = document.body.className.toString();
        if (cn.indexOf('yui-skin-sam') == -1) {
          document.body.className += " yui-skin-sam";
      })();  var inityuicalendar1 = function() {
        var yuicalendar1 = new YAHOO.widget.Calendar("yuicalendar1");    // The following event subscribers demonstrate how to handle
        // YUI Calendar events, specifically when a date cell is
        // selected and when it is unselected.
        // See: http://developer.yahoo.com/yui/calendar/ for more
        // information on the YUI Calendar's configurations and
        // events.
        // The YUI Calendar API cheatsheet can be found at:
        // http://yuiblog.com/assets/pdf/cheatsheets/calendar.pdf
        //--- begin event subscribers ---//
        yuicalendar1.selectEvent.subscribe(selectHandler, yuicalendar1, true);
        yuicalendar1.deselectEvent.subscribe(deselectHandler, yuicalendar1, true);
        //--- end event subscribers ---//
    yuicalendar1.cfg.setProperty("title", "Calendar of Events", false);    yuicalendar1.render();
      }  function selectHandler(event, data) {
      // The JavaScript function subscribed to yuicalendar1.  It is called when
      // a date cell is selected.
      // alert(event) will show an event type of "Select".
      // alert(data) will show the selected date as [year, month, date].
      var formattedDateString = data[0][0][1] + "/" + data[0][0][2] + "/" + data[0][0][0];
      var r = dsCalendar.findRowsWithColumnValues({"Date": formattedDateString }, true);
      var region = Spry.Data.getRegion("classDetail");
      if(r){
       dsCalendar.setCurrentRow(r.ds_RowID);
       region.setState("showClass", true);
       } else {
        region.setState("ready", true);
      };  function deselectHandler(event, data) {
      // The JavaScript function subscribed to yuicalendar1.  It is called when
      // a selected date cell is unselected.
      };      // Create the YUI Calendar when the HTML document is usable.
      YAHOO.util.Event.onDOMReady(inityuicalendar1);
    // EndWebWidget YUI_Calendar: yuicalendar1
    </script>
    <div spry:detailregion="dsCalendar" spry:setrow="dsCalendar" id="classDetail">
    <div spry:state="showClass">
    <table width="100%" border="0" cellpadding="1">
       <tr>
         <td colspan="2"><h4>{Class}</h4></td>
        </tr>
       <tr>
        <td colspan="2">{Description}</td>
        </tr>
       <tr>
         <td>{Location}</td>
         <td>{Date}</td>
       </tr>
    </table>
        </div>
        <div spry:state="ready">
    There are no classes on this date. Please select another date.
    </div></div>
      <!-- end #sidebar2 --></div>
    And, here is the code to my "schedule.htm" file:
    Class
    Logo
    Description
    Location
    Date
    Dreamweaver CS4 Intermediate
    Take your skills to the next level with this training.
    Austin, TX
    12/15/2008
    InDesign CS4 Advanced
    This class is for experienced users that want to go beyond the basics.
    Phoenix, AZ
    12/18/2008
    Flex CS4 Data Services
    Learn about Live Cycle Data Services in this training.
    Austin, TX
    12/19/2008
    Flash CS4 Rich Content Creation
    From beginning to intermediate, learn how to animate with the latest tools.
    Austin, TX
    12/30/2008
    Photoshop Advanced
    Experienced Photoshop users will learn how to use advanced tools for image manipulation.
    Phoenix, AZ
    12/20/2008
    Dreamweaver CS4 Intermediate
    Take your skills to the next level with this training.
    Austin, TX
    12/01/2008
    InDesign CS4 Advanced
    This class is for experienced users that want to go beyond the basics.
    Phoenix, AZ
    12/08/2008
    Flex CS4 Data Services
    Learn about Live Cycle Data Services in this training.
    Austin, TX
    12/25/2008
    Flash CS4 Rich Content Creation
    From beginning to intermediate, learn how to animate with the latest tools.
    Austin, TX
    12/26/2008
    Photoshop Advanced
    Experienced Photoshop users will learn how to use advanced tools for image manipulation.
    Phoenix, AZ
    8/21/2009
    Short Course
    Seminar where the engineers come together to discuss TxDOT.
    Austin, TX
    8/26/2009
    Long Course
    Around the cementary, down to the high school, and back.
    Wolfforth, TX
    8/21/2009
    No Class
    No classes on this date.
    n/a
    Notice on the schedule.htm file, there are some classes that have the same date.  I would like the Details region to show multiple classes based on the date.  Is that even possible?
    Thanks!

    @strick,
    Don't know if you got this sorted out already, but I'll add an answer since I looked here when trying to figure this out.
    I had the same problem.
    You can get this to do what you want in two steps:
    1.)  Just below the line in your code that reads
    var formattedDateString = data[0][0][1] + "/" + data[0][0][2] + "/" + data[0][0][0];
    add the following code:
    function myFilterFunc(dataSet, row, rowNumber)
    // Filter all rows with date = selected date
    if (row['Date'] == formattedDateString){
    return row;   }
    else {
    return null;}
    // Filter the data.
    dscalendar.filter(myFilterFunc);
    2.) Just after the line in your code that reads
    <table width="100%" border="0" cellpadding="1">
    add the following code:
    <tr spry:repeat="dscalendar">
    Ok, one last step for the code that you've listed here.  You should be able to get rid of all the <tr> tags except for the outermost ones.  So, it could
    look like this:
    <table width="100%" border="0" cellpadding="1">
       <tr spry:repeat="dscalendar">
        <td colspan="2"><h4>{Class}</h4></td>
        <td colspan="2">{Description}</td>
        <td>{Location}</td>
        <td>{Date}</td>
       </tr>
    </table>
    You can see a working example of this at http://www.coloradogreenline.com/YUISpryCalendar/sprytest6.html.  October 13, 2009 has more than one event scheduled.  This one doesn't display the data in table format, but you can still it working.
    Hope this helps.

  • Adding external photo galleries, calendars, etc. in Catalyst

    Is there a way of adding external photo albums, calendars (ie. yahoo, google) into a website made in Flash Catalyst?

    The short answer is no. If these modules need to be within the design of the Flash Catalyst project, you can add them using Flash Builder to add them in. This method will require some effort and knowledge of ActionScript and the Flex Framework.  If these modules need to next to the Flash Catalyst project, then you could modify the produced HTML file that contains the Flash Catalyst element and insert the modules.
    Either way, you will have a modest amount of development to add these elements to your project.
    Good luck,
    Chris

  • Performance building Tile Flex 3 and List Flex 4

    Hi,
    I'm writing aplication in FlashBuilder, I see that building Tile with repeaters(Flex 3) is 3-4 time faster that FB
    and I don't know what I do wrong,
    it is My Code in Flex 3
    <mx:Tile>
                    <mx:Repeater id="dayRepeater" dataProvider="{ arr }" >
                        <mx:Canvas width="78" height="38" horizontalScrollPolicy="off" verticalScrollPolicy="off" >
                              <calendar:CalRenderer dataProvider = "{ dayRepeater.currentItem as DataVO }"/>
                        </mx:Canvas>
                    </mx:Repeater>
                </mx:Tile>
    and inside repeater is following code
    <mx:Canvas>
            <mx:Image x="0" y="0" width="78" height="38" source="{ dataProvider.renBackUrl}" scaleContent="true" maintainAspectRatio="false" verticalAlign="middle" horizontalAlign="center"/>
        </mx:Canvas>
        <mx:Canvas x="{dataProvider.imgIcoX}" y="{dataProvider.imgIcoY}" width="24" height="26">
            <mx:Image width="20" height="20" source="{ dataProvider.holyico}" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" horizontalAlign="center"/>
        </mx:Canvas>
        <mx:Text id="renTxt" styleName="{dataProvider.txtIdFont}" x="{dataProvider.txtIdX}" y="{dataProvider.txtIdY}" text="{dataProvider.id}" width="51.5" height="34.149994" fontSize="22"  textAlign="right"  fontWeight="normal" color="{dataProvider.renMainTxtColor}" selectable="false"/>
        <mx:Text styleName="{dataProvider.txtNameFont}" x="{dataProvider.txtNameX}" y="{dataProvider.txtNameY}" text="{dataProvider.names}" width="100%" height="10.799999" fontSize="6" textAlign="right" color="{dataProvider.renMainTxtColor}" selectable="false"/>
        <mx:TextArea styleName="{dataProvider.txtHolyFont}" x="{dataProvider.txtHolyX}" y="{dataProvider.txtHolyY}" width="80" height="13.099998" text="{dataProvider.holy}" fontSize="7"  borderStyle="none" backgroundAlpha="0.0" editable="false" cornerRadius="0" color="{dataProvider.renMainTxtColor}" textAlign="right" selectable="false"/>
    In the FB4 the code looks like this
    <s:List id="myList" height="100%" width="100%" x="17" y="30"
                   dataProvider="{arr}"
                itemRenderer="gui.views.ProjectView.CalItemRenderer" >
            <s:layout>
                <s:TileLayout/>
            </s:layout>
        </s:List>
    and renderer look.
        <mx:Canvas>
            <mx:Image x="0" y="0" width="78" height="38" source="{ dataProvider.renBackUrl}" scaleContent="true" maintainAspectRatio="false" verticalAlign="middle" horizontalAlign="center"/>
        </mx:Canvas>
        <mx:Canvas x="{data.imgIcoX}" y="{data.imgIcoY}" width="24" height="26">
            <mx:Image width="20" height="20" source="{ data.holyico}" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" horizontalAlign="center"/>
        </mx:Canvas>
        <!--<s:Rect width="50" height="50" fill.normal="{fill}" fill.hovered="{overfill}" fill.selected="{fill}" bottomLeftRadiusX="5" topRightRadiusX="5" stroke="{borderStroke}"/>-->
        <!--<s:Label text="{data.maskPrvUrl}" color.hovered="0x1313cd" color.selected="0x000000" verticalAlign="bottom"/>-->
        <s:TextArea styleName="{data.txtIdFont}"   x="{data.txtIdX}"   y="{data.txtIdY}"   text="{data.id}"    width="51.5" height="34.149994" fontSize="22" borderVisible="false" borderAlpha="0.0" textAlign="right" color="{data.renMainTxtColor}" fontWeight="normal"  editable="false" selectable="false" contentBackgroundAlpha="0"/>
        <s:TextArea styleName="{data.txtNameFont}" x="{data.txtNameX}" y="{data.txtNameY}" text="{data.names}" width="100%" height="10.799999" fontSize="6"  borderVisible="false" borderAlpha="0.0" textAlign="right" color="{data.renMainTxtColor}" editable="false" selectable="false" contentBackgroundAlpha="0"/>
        <s:TextArea styleName="{data.txtHolyFont}" x="{data.txtHolyX}" y="{data.txtHolyY}" text="{data.holy}"  width="80"   height="13.099998" fontSize="7"  borderVisible="false" borderAlpha="0.0" textAlign="right" color="{data.renMainTxtColor}"  editable="false" selectable="false" contentBackgroundAlpha="0"/>
    arr is ArrayCollection;
    Generaly when I run aplication made witth Flex 3 - Tile is completed after  2-3 sec. In FB4 with SDK10485 - after 6-7 sec.!!!
    Do you have any idea?
    Thx
    Chris

    for info my ArrayCollectio has about 30 indexes
    I found solution.
    I made some test with different text Components (Fx 3 & 4)
    My conclusion is.
    <s:TextArea - create longer that  <mx:TextArea, <s:Label
    I change <s:TextArea to <mx:TextArea  in the ItemRenderer. - now is OK.
    Chris

  • Zend Amf & Flex 3, problem when many records returned

    I have a project with a start dateField (calendar) and an end dateField (calendar). The user chooses a start date and an end date and the database pulls latitude and longitude coordinates for events that occurred between those dates. If the user chooses dates that produce fewer than roughly 11,200 records, it works perfectly.  If the user chooses dates that produce more than that, it produces the following error message:
    faultCode:Client.Error.DeliveryInDoubt
    faultString:'Channel disconnected'
    faultDetail:'Channel disconnected before an acknowledgement was received'
    The server is my local machine (localhost). I'm running:
    MAMP   (which has  Apache 2.0.59)
    Flex 3
    I tried editing the my.cnf (mySQL options file) and increased the max_allowed_packet to 32M, but that didn't work.
    It's a strange problem as the same code works when a relatively small amount of data is returned, but doesn't work when more data is pulled. Could it be some sort of memory or packet limit or a time-out that is called?
    If anyone has any suggestions, please let me know. 
    -Laxmidi

    Richard Bates of flexandair.com figured it out. In my php.ini file, I had the memory limit set at 8M. After, changing it to 32M, it worked. Thank you, Richard!
    -Laxmidi

  • A big newbie flex question.

    Where do I put it all?
    I've done many of the basic tutorials, I have a pretty good
    idea on how
    to create simple flex projects. I am now trying to design a
    real,
    functioning project based on one of our most important,
    internal, web
    applications.
    I find myself a little over my head. Any help would be
    greatly appreciated.
    I am building what is basically a calendar of events. I'm
    currently
    using flash remoting to pull the event data with ColdFusion
    from a
    database. I will have to main 'views' to start with. One is a
    full
    calendar display of all the events for a month. The second is
    a drill
    down that will display all the details of an individual
    event, with a
    panel on the left displaying other events on the same date.
    I've built most of the pieces of this, but I'm having trouble
    putting it
    together in a manageable layout. To date, I've pretty much
    put
    everything into a single MXML file but this is getting quite
    unwieldy.
    However when I try to pull pieces out into custom controls I
    start
    having great difficulty dealing with the data and the various
    view pieces.
    So, one has managed to wade through all that exposition, what
    is a good
    way to do this? Where do I put the data access logic. I
    presume in my
    root application file. But, if I do that, how do I access it
    from my
    various view pieces? How do I connect all the dots?

    peterent wrote:
    > The URL is in my signature (maybe that doesn't come
    through on a news reader):
    >
    http://weblogs.macromedia.com/pent
    >
    > Sorry!
    Nope, no signatures in what is sent to the RSS feeds for us
    newsreader
    folks.
    Thanks for the link. I have added it to the others I am
    trying to
    digest as quick as I can to get some understanding on how all
    the
    RPC-Flash Remoting Flex and ColdFusion stuff works.

  • Is Flex for me?

    Hello,
    We have a large application that does project management,
    time sheets and collaboration (calendars, web folders, etc.)
    written in Spring and Hibernate and we are looking to move it to a
    new UI framework. Flex looks interesting but I have a few questions
    and I hope some flex gurus help me out:
    1) Size
    I noticed that a simple hello world swf file is about 200K.
    Should I be concerned about size... since the server could be on
    the internet and not necessarily on a local machine. If a person on
    the internet is going to face several lag times... say when he
    moves from his "View Project Tasks" screen to "My Calendar"... then
    flex is not for me.
    2) IDE
    IDE is not cheap but worth buying for $500. But works only on
    Windows... any plans for Linux? I have tried the linux hacks on the
    net.. works some times... not enough for writing a serious
    application.
    2) Remoting.
    Flex introduces a new set of issues with its web services
    model. Web Services today suck. Nobody can write serious
    applications using them... maybe a blog reader or some intranet
    apps for fun. I have tried XFire and I couldn't get it to run with
    Java generics and it had probems handling my object model (circular
    references through getParent(), lazy proxies etc.). I have not
    written my object model so that I can dumb it down again.. so that
    it works with a web service. What's the point?
    The only option being Remote Objects. Now there is a catch.
    The open source alternatives have a BIG QUESTION MARK ATTACHED TO
    THEM. GDS is 0.2 and looks like a couple of people are working on
    it. OpenAMF has no news for the last one year and their
    documentation sucks... both of them good for fun but not for real
    stuff. I cannot invest time and energy in things that could crash
    in the future. I have got burnt once big time... chasing
    will-o-the-wisps.
    I don't need the advanced features of FDS, just remoting but
    FDS is no option because we sell our product and customers install
    it thems elves. It would be ridiculous to make them pay for FDS
    since our product sells for about 2.5k USD on average... and asking
    them to install it on a one CPU machine...is taking them back to
    the computer stone age.
    My question comes down to whether Flex is meant for "fun" or
    "small time" web applications or for some real serious ones and if
    the answer is latter, then what are my alternatives? I got quite
    excited reading Bruce Eckel's article and was even more excited
    reading the components and getting started guide but it seems to me
    that I am bound in chains.
    Maybe it's not what I think it is and there is a nice path
    out there. Can some one show me the light?
    Thanks!

    Regarding #1: Alot of people see "hello world" as a 200k app,
    and figure twice the text would be 400k - it doesn't work that way.
    No matter how large or small your application, a certain overhead
    is incurred.
    I would advise one SWF per application, but that would depend
    on your particular situation, business rules, etc.
    There is good documentation on the Adobe site, and on the
    blogosphere for speeding up apps - it comes down to good coding
    practices (just like in any language).
    Also, you can stagger the items that are loaded, and when
    they are loaded - all at once, or when needed. Because Flex is
    asynchronous (unlike the traditional html web based apps we have
    right now), you can load some design items and get the users
    attention, while other items are loading in the background.
    I don't know about dumbing down web services - depepnding on
    whicha language you serve them in, they can be quite complex (I use
    ColdFusion). They are public, though, and that may not be what you
    want. You can look at the other manners of communication such as
    HTTP headers (get, post, etc, look up REST - it's turning out to be
    quite popular these days). You can call Java objects, or, if you
    are a ColdFusion shop, get a direct link, if you are running
    version 7.0.2+
    Hope that helped some.
    David

  • Flex swf cache issue in IE

    Hi,
    We are facing an important issue with the IE cache of the swf file. Could you please help us?
    For example, we built and put calendar.html & calendar.swf on server. We don't want users to download a 800 KB large swf file everytime when they access the web page, especially at a lower speed of network. However, although we coded some IE cache setting in calendar.html, like response.setHeader("Cache-Control" ...., IE still download the file from server sometimes instead of using the local one in cache.
    One of reasons is the cache size. If you set the size to 50 MB by default, it will be full very soon after you view some websites. Then IE will clean part of the cache. The cached swf file might be cleaned, or might not be. We never know. If it's cleaned and you access calendar.html, you will found out IE downloads the file again from server. To avoid this, users can enlarge the cache size, but the downloading still happen sometimes. Also, letting user enlarge the cache may not be a good and final solution.
    We want to force IE to use the local file everytime. If we updated the file, we want IE to download it in this case, and download it only once.
    So, we want to ask if you also have faced this kind of issue and how you did it? Please follow this topic or anyone is welcomed to send an email to me at [email protected]
    Thank you very much.

    Hmmm
    Not sure about this one.  However to reduce download time have you tried using Runtime Shared Libraries.  This allows the Flash Player to cache the Flex Framework.  This means the first time someone gets a flex app it will take a bit longer to load, but it will cache the framework, then next time the load is quicker.
    Its the Flash Player that caches the frameowrk also, so the browser can;t clear it.
    That might help
    Andrew

  • Why Isn't OpenX Working On My Flex Website When Using a PC?

    Hi,
    I'm using OpenX to serve ads. It serves ads when I use my Mac with Safari or Firefox. But, it doesn't work when I checked my site on two PCs both running Windows XP with IE and Firefox. I'm getting error #1090, which is "XML parser Failure: element is malformed" only on the PCs, not on the Mac. In order to use OpenX, the ads have to be properly formatted. Thank you Daryl Bowden for creating the class below:
    package com.darylbowden.ads
    import flash.external.ExternalInterface;
    import mx.controls.Alert;
    public class OpenAds {
    private static var externalCallback:String = "callOpenAds";
    private static var retries:uint = 10;
    public function OpenAds(){
    public function getAdReturn():Ad {
    var xmlReturn:XML;
    if(ExternalInterface.available) {
    var adReturn:String = ExternalInterface.call(externalCallback);
    try
    adReturn = adReturn.replace("//]]>->","//]]>->\n");
    var infoTagsIndex:int = adReturn.indexOf('<script type="text/javascript" src=""', 0);
    adReturn = adReturn.substring(infoTagsIndex, adReturn.length);
    var wasFlash:Boolean = false;
    if(adReturn.search("<embed") == -1) {
    adReturn = adReturn.replace('></a>', '></img></a>');
    adReturn = adReturn.replace('></div>', '></img></div>');
    else {
    adReturn = adReturn.replace('></div>\n<script','></embed></div>\n<script');
    adReturn = adReturn.replace('></div>\n<noscript','></img></div>\n<noscript');
    wasFlash = true;
    adReturn = '<adXMLReturn>' + adReturn + '</adXMLReturn>';
    xmlReturn = new XML(adReturn);
    var ad:Ad;
    if(wasFlash){
    ad = new Ad(xmlReturn, true);
    else {
    ad = new Ad(xmlReturn);
    catch(error:Error){
    Alert.show(error.message + 'stacktrace:' + error.getStackTrace(), "Error");
    else {
    Alert.show("Javascript must be enabled to view this page properly.", "Javascript Not Detected");
    xmlReturn = new XML('<root>xml</root>');
    return ad;     
    I've got a catch statement sending the error. Does anyone know why it doesn't work on PCs? Any suggestions on how to solve this problem? I'm pretty desperate. I've also posted this question on OpenX's forum, but not too many people use Flex over there.
    Thank you.
    -Laxmidi

    iOS: Troubleshooting Messages
    And as necessary:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                                              

Maybe you are looking for

  • Dynamic File name in sender file adapter

    Hello, We have a requirement to pull files from our vendor's SFTP folder, the file will be pulled once a day however the file would remain in the folder for 45 days. The filename follows the pattern STL-20110425.01.002.TAB  where the date keeps chang

  • Validation required for a GL account

    Hi Guru, I want to have a validation for a GL account 571006 to use WBS element for manual postings and should give error if WBS element is not entered against this GL. Can you please let me know how to create a validation in GGBO. Thanks

  • I cant open quicktime

    hello i just got this imac 5 days ago and i have not been able to open the quicktime player every time i try to open it it gave me an error (quicktime 7 quit unexpectedly) please tell me what can i do?

  • Line item reduces the cut off value -asset accouning

    SAP Guru's while transfering the asset form one company code to another i am getting a error that "Line item reduces the cut- off value by 609.22" plz tell me what is it and what to do? Pavan

  • Help needed with BootCamp and WinXP

    I've installed Bootcamp on my new MacBookPro and after the first reboot during windows XP installation the machine doesn't boot. I have to hold down "option" to choose to boot from Mac OS, but booting from the windows partition generates an error mes