Flash & Safari woes..
Posted by mkhairul - April 14, 2007 at 02:04:45 am - No CommentsCategories: blog
Yeah, new workplace. Nice, cozy office, renovation still going on. The work is quite challenging because I'm not familiar with the plugins being used. And code generated by the plugins is a mess. Lol.
So anyway, yesterday I tried to compose a video by applying a few effects in After Effects. Doesn't work for some reason beyond my understanding(at the moment, too tired from work). Today, it works like a charm, smooth sailing. Weeee
Other than that, I've been trying to figure out why the hell is my flash are not appearing on Safari (Mac). I tried downloading a 3GB image of Mac OS X and in the end the file is corrupted. I've wasted 2 days on this. Damn. I decided to ask a friend to test it on his Mac, I tried to be independent, and it cost me 2 days, now its time to be dependent on others. hehe. I asked if any one of the flash loads. One loads. huh?
So I looked at the code of the one that loads and behold! Safari doesn't likes param, object and related to it. So, I read up on SWFObject, and it loads. Finally! But then again, the thumbnails does not loads. There must be some param thats missing.
Then I remembered that the actionscript specifies a domain and I specified it as http://mkhairul.com. When I use that domain name it loads fine but when I use http://www.mkhairul.com it doesnt works. The value in the address bar and the value in the actionscript must be the same.
I searched for the passing variable how to, implement it using this php line and SWFObject method,
and modified the variable declaration in actionscript.
-
var domain:String = (domain_name == undefined) ? "http://www.mkhairul.com" : domain_name;
Yeah, thats about it, and it works! BRING IT ON!
Cankerous.. and 6° of Seperation.
Posted by mkhairul - April 7, 2007 at 02:04:54 am - No CommentsCategories: blog
Argh, I think its the maggi that I ate yesterday, I left it soak for quite sometime. I was deep in actionscripts (Adobe Flash) to notice it. When my stomach began rumbling, twas then I realised it.
I did a few search on ulcer on WebMD and found lots of hits. I then refined it with "ulcer mouth" keyword. Voila! Salvation is at hand. In front of me stands a bottle of Listerine. So I did another search "listerine canker sore" and the site which seems to have seen better days but informative nonetheless helped a lot. Canker sores / Recurrent minor Aphthous Ulcers / Mouth Ulcers, one of it few names.
Listerine works quite well. Amazingly. Ah, enough of this, I have a meeting tomorrow noon. A new job, or potential job. Got it through my friend's friend's cousin's friend. As confusing as it sounds, it doesn't matter. Six degrees of separation at its best. Yeay! A round of DotA and a nap should fix me right up!
GimpStyle Theme design by Horacio Bella.
