I posted this same question over in the FlashMX forum but am realizing that maybe it's not the place to post this...I would really appreciate any help I can get:
I recently purchased a Flash/PHP calendar script from www.phpjabbers.com/web-calendar. The way it works is that it has a .swf and 2 PHP files. The changes to the calendar are made from a web-based admin site that is set up by one of the PHP files namely "calendar-admin.php". It works perfectly on the html sites that I've used it on. However, when I try to incorporate it into my Flash site, it's not exactly coming up roses. I have to admit, too, that I'm not PHP educated.
First, I tried just using loadMovie to load the external .swf. All that happens is a skeleton of the calendar shows up.
The way that the admin site is set up is it has 3 pages: the settings page, the data page (where appointments and such are added to the calendar), and the html code page which gives the code that is pasted into an html document. Below is the html code for my calendar:
So I came up with another way to embed the calendar into my flash site. I inserted this code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub...ersion=8,0,0,0" width="500" height="417" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="calendar.swf?link=calendar-data.php&cid=2&owner=phpjabbers.com" /><param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<embed src="calendar.swf?link=calendar-data.php&cid=2&owner=phpjabbers.com" quality="high" bgcolor="#FFFFFF" width="500" height="417" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
This actually almost works, however, the size comes up as 180px by 150px when the calendar should be 500px by 417px. The calendar.swf is actually the smaller dimensions above, but the admin site changes this in the html code. So my question is, how do I fix it? I really have no clue here as to why it's doing this. Should I be approaching it in a different way?
I would appreciate any help I get can with this. The people who designed the script said they only support customers who use it with html but did say that other customers have been able to get it to work using loadMovie. HELP!! I so want this work on my photography site in order for clients to see my availability.
Thanks in advance to anyone that can help me out.
P.S. I use FlashMX.