[AS3] Load External swf into MovieClip & Play/Pause/Forward/Rewind and Stop it at LastFrame from Main Flash Movie

Loading external swf into a MovieClip inside your main Flash movie is a routine job and ActionScript3 allows you to do that quite efficiently. What AS3 does not provide you are the built-in functions to control loaded swf file timeline from your main movie. I initially tried to find some built-in functions to control the…

[AS3] Start/Seek a FLV Video at a Specific Time using Cue Points in Flash ActionScript3

While loading FLV videos using FLVPlayback Componenet 2.5 in Flash, when I tried to navigate to the “cue” point I had created using AS3 cue point object,   flvPlayer.seekToNavCuePoint("cp1"); It failed with following error:   VideoError: 1003: Invalid seek at fl.video::FLVPlayback/seekToNavCuePoint() at Function/<anonymous>() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::setState()…

[AS3] Loading External swf & going to Specific Frame using Loader Class in ActionScript3

Using AS3 in Flash, If you want to load an external swf movie and make it go to a specific frame to play or stop, you can achieve that using AS3 Loader class with the following code:   function loadSWF(swfURL){ var myLoader:Loader = new Loader(); var mySWF:URLRequest = new URLRequest(swfURL); myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler); myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler); myLoader.load(mySWF);…

[Joomla] Resolve Error Installing Joomla Components or Plugins, It was not possible to copy the selected file

If you get following error while installing Joomla components or plugins,   It was not possible to copy the selected file. JInstaller::install: Failed to copy file: /var/www/localhost/htdocs/tmp/install_4d621e648af3f/plg_sslredirect/sslredirect.php to /var/www/localhost/htdocs/plugins/system/sslredirect.php Permission Solution You can resolve this by changing permissions (chmod to 777) on following directories in your Joomla website.   chmod 777 /tmp chmod 777 /plugins/content…

[osCommerce] EasyPaisa Mobile Money Transfer Contribution for osCommerce Store

While implementing a recent osCommerce store, I needed to add Mobile Money Transfer payment as another option for the customers to pay. Requirement was quite straight forward, I needed to incorporate EasyPaisa Mobile Money Transfer provided by Telenor in Pakistan which would let customers choose it as a payment option and then make the payment…

[osCommerce] Implementing Multiple Shipping Rates for Multiple Countries/Zones in osCommerce

Shipping cost calculation is the mandatory feature for any E-Commerce website. Shipping cost is dependent upon zones and/or countries. It largely depends upon your requirement whether you need to charge different rates for different zones inside same country. You might want to do the same for multiple countries as well with or without multiple zones…