Home Page

Flash Swf Embedded

Through Imgshow Flash feature, you are able to effectively embed Flash animation in posts or articles. If you are authoring a web page, you will normally need embedding lots of object HTML code, or using swfobject Javascript framework, but you just need a fingertips tiny text by using Imgshow only. How simple it is.

[imgshow]q:name=flash,url=http://www.yoururl.com/abc.swf[/imgshow]
  		
[imgshow q:name=flash,url=http://www.yoururl.com/abc.swf]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('flash')->p('url', 'http://www.yoururl.com/abc.swf')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('flash').p('url', 'http://www.yoururl.com/abc.swf').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('flash').p('url', 'http://www.yoururl.com/abc.swf').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('flash').p('url', 'http://www.yoururl.com/abc.swf').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

To adjust width and height, just adds its parameters behind

[imgshow]q:name=flash,url=http://www.yoururl.com/abc.swf,width=550,height=400[/imgshow]
  		
[imgshow q:name=flash,url=http://www.yoururl.com/abc.swf,width=550,height=400]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('flash')->p('url', 'http://www.yoururl.com/abc.swf')->p('width', '550')->p('height', '400')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('flash').p('url', 'http://www.yoururl.com/abc.swf').p('width', '550').p('height', '400').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('flash').p('url', 'http://www.yoururl.com/abc.swf').p('width', '550').p('height', '400').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('flash').p('url', 'http://www.yoururl.com/abc.swf').p('width', '550').p('height', '400').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

Example: