I have made more attempts than I can count to embed my flex app into my cold fusion page. I have done this dozens of times in other projects, but I cannot seem to make this work properly.
The problem is that when the page opens, it will NOT display at 100% height (or any % height for that matter). If I put in height="768", that works, but height="100%" does not (and yet width="100%" seems to be working). BUT- this problem only appears when using FireFox.
When I compile and run the app from FlexBuilder, I don't see this problem, but I don't want to use the default wrapper, as there is a lot of ColdFusion logic and code added to my custom wrapper (and I have not yet ventured into editing the template files).
Below is my code. I've looked at this so long, my eyes are suffering from burn in, and I can't see an error! Please help.
id="myMarks_upload" width="100%" height="100%"
<param name="movie" value="bin/myMarks_upload.swf" />
<param name="FlashVars" value="courseID=<cfoutput>#crnid#</cfoutput>&title=<cfoutput>#myTitle#</cfoutput>&inst=<c foutput>#Session.NetId#</cfoutput>&role=<cfoutput>#myRole#</cfoutput>&subCode=<cfoutput>#s trSubject#</cfoutput>" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="scale" value="default" />
<embed src="bin/myMarks_upload.swf" FlashVars="courseID=<cfoutput>#crnid#</cfoutput>&title=<cfoutput>#myTitle#</cfoutput>&ins t=<cfoutput>#Session.NetId#</cfoutput>&role=<cfoutput>#myRole#</cfoutput>&subCode=<cfoutpu t>#strSubject#</cfoutput>"
width="100%" height="100%" name="myMarks_upload" align="middle"
Thanks in advance for pointing out (what hopefully is overly obvious) any errors.