Solved

Why doesn't the ColdFuison 8 flash form display in Safari when it displays in other browsers?

Posted on 2008-10-17
4
435 Views
Last Modified: 2013-12-16
I am trying to accomplish the following:  A user has the ability to pick a date as a start date and an end date.  The caveat is that they are only allowed to pick a date within the previous 90 days only.  If the date is outside of the 90 days, the days are grayed out.  Once they have chosen the dates and other information, I am then sending all that information to another pager.  I have limited space for displaying purposes.  

I have tested the following code in both IE 6, IE 7, and FF 3 and the calendar is showing correctly.  But once I test in Safari on a Mac or Safari for PC, the flash format form does not show up.  I have used the cfcalendar tag and the calendar shows up on Safari.  I am also able to use a form without being a flash and the calendar will show display properly, but my issue with using this option is the ability to gray out the dates.  The combination seems to be a flash form and an input field type datefield.  

 I am running Coldfusion 8.0.1.  Flash version 10.0 & Safari 3.0.  

Does Safari support this?  If so, what am I missing to make this code work in Safari?  If I have to use the cfcalendar, is there a way to gray out the dates and make the calendar smaller on load of the page?  Any help would be greatly appreciated.  
<cfset startDate = "#dateAdd('d',-90,now())#">
<cfset endDate = "#now()#">
 
<cfoutput>
 <cfsavecontent variable="loadFields">
    var startDate:Date = mx.formatters.DateFormatter.parseDateString("#startDate#");
    var endDate:Date = mx.formatters.DateFormatter.parseDateString("#endDate#");
    DTStart.selectableRange  = {rangeStart:startDate, rangeEnd:endDate};
    DTEnd.selectableRange  = {rangeStart:startDate, rangeEnd:endDate};
</cfsavecontent>
</cfoutput>
 
<cfform name="Calendar" format="flash" onLoad="#loadFields#" width="100%" action="#myString3#" method="post">
<cfformgroup type="horizontal">
 <cfinput type="datefield" name="DTStart" label="Start Date:" width="100">
  <cfinput type="datefield" name="DTEnd"  label="End Date:" width="100">
   <cfinput type="image" name="Submit" value="Submit" border="0"> 
</cfformgroup>
</cfform>

Open in new window

0
Comment
Question by:DADITWebGroup
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
erikTsomik earned 250 total points
ID: 22742495
check if flash player installer on safari
0
 
LVL 1

Author Comment

by:DADITWebGroup
ID: 22742568
Hi Erik,
From installed plug-ins

Shockwave Flash
Shockwave Flash 10.0 r12  from file NPSWF32.dll.
0
 
LVL 36

Assisted Solution

by:SidFishes
SidFishes earned 250 total points
ID: 22742722
your code works for me using safari 3.1 for win
0
 
LVL 1

Author Closing Comment

by:DADITWebGroup
ID: 31507196
Thank you both for answering.  I appreciate it.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question