as3signals 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -3
- data/Gemfile.lock +32 -0
- data/README.textile +41 -9
- data/Rakefile +88 -43
- data/as3signals.gemspec +26 -11
- data/bin/as3-signals-v0.7.swc +0 -0
- data/build.properties +1 -0
- data/build.xml +3 -2
- data/docs/AC_OETags.js +129 -0
- data/docs/all-classes.html +55 -0
- data/docs/all-index-A.html +25 -0
- data/docs/all-index-B.html +13 -0
- data/docs/all-index-C.html +13 -0
- data/docs/all-index-D.html +22 -0
- data/docs/all-index-E.html +17 -0
- data/docs/all-index-F.html +13 -0
- data/docs/all-index-G.html +13 -0
- data/docs/all-index-H.html +13 -0
- data/docs/all-index-I.html +15 -0
- data/docs/all-index-J.html +13 -0
- data/docs/all-index-K.html +13 -0
- data/docs/all-index-L.html +13 -0
- data/docs/all-index-M.html +16 -0
- data/docs/all-index-N.html +25 -0
- data/docs/all-index-O.html +14 -0
- data/docs/all-index-P.html +13 -0
- data/docs/all-index-Q.html +13 -0
- data/docs/all-index-R.html +21 -0
- data/docs/all-index-S.html +15 -0
- data/docs/all-index-T.html +15 -0
- data/docs/all-index-U.html +13 -0
- data/docs/all-index-V.html +17 -0
- data/docs/all-index-W.html +13 -0
- data/docs/all-index-X.html +13 -0
- data/docs/all-index-Y.html +13 -0
- data/docs/all-index-Z.html +13 -0
- data/docs/asdoc.js +286 -0
- data/docs/class-summary.html +24 -0
- data/docs/cookies.js +84 -0
- data/docs/help.js +941 -0
- data/docs/images/AirIcon12x12.gif +0 -0
- data/docs/images/P_AlternativeMetadataIndicator_30x28_N.png +0 -0
- data/docs/images/collapsed.gif +0 -0
- data/docs/images/detailHeaderRule.jpg +0 -0
- data/docs/images/detailSectionHeader.jpg +0 -0
- data/docs/images/expanded.gif +0 -0
- data/docs/images/inherit-arrow.gif +0 -0
- data/docs/images/inheritedSummary.gif +0 -0
- data/docs/images/logo.jpg +0 -0
- data/docs/images/titleTableBottom.jpg +0 -0
- data/docs/images/titleTableMiddle.jpg +0 -0
- data/docs/images/titleTableTop.jpg +0 -0
- data/docs/index-list.html +70 -0
- data/docs/index.html +40 -0
- data/docs/org/osflash/signals/DeluxeSignal.html +68 -0
- data/docs/org/osflash/signals/IDeluxeSignal.html +42 -0
- data/docs/org/osflash/signals/IDispatcher.html +21 -0
- data/docs/org/osflash/signals/ISignal.html +39 -0
- data/docs/org/osflash/signals/ISignalOwner.html +24 -0
- data/docs/org/osflash/signals/Signal.html +64 -0
- data/docs/org/osflash/signals/class-list.html +1 -0
- data/docs/org/osflash/signals/events/GenericEvent.html +17 -0
- data/docs/org/osflash/signals/events/IBubbleEventHandler.html +21 -0
- data/docs/org/osflash/signals/events/IEvent.html +16 -0
- data/docs/org/osflash/signals/events/class-list.html +1 -0
- data/docs/org/osflash/signals/events/package-detail.html +14 -0
- data/docs/org/osflash/signals/natives/INativeDispatcher.html +32 -0
- data/docs/org/osflash/signals/natives/NativeMappedSignal.html +106 -0
- data/docs/org/osflash/signals/natives/NativeRelaySignal.html +49 -0
- data/docs/org/osflash/signals/natives/NativeSignal.html +82 -0
- data/docs/org/osflash/signals/natives/class-list.html +1 -0
- data/docs/org/osflash/signals/natives/package-detail.html +21 -0
- data/docs/org/osflash/signals/package-detail.html +19 -0
- data/docs/override.css +12 -0
- data/docs/package-frame.html +18 -0
- data/docs/package-list.html +1 -0
- data/docs/package-summary.html +13 -0
- data/docs/print.css +110 -0
- data/docs/style.css +578 -0
- data/docs/title-bar.html +41 -0
- data/gemfile +3 -0
- data/lib/as3signals.rb +5 -2
- data/lib/as3signals/version.rb +8 -0
- data/libs/asunit4-alpha.swc +0 -0
- metadata +109 -32
- data/as3-signals.as3proj +0 -87
- data/as3-signals.docproj +0 -9
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
as3signals (0.7.1)
|
5
|
+
flashsdk (>= 1.0.0.pre)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
archive-tar-minitar (0.5.2)
|
11
|
+
asunit4 (4.2.2.pre)
|
12
|
+
flashsdk (1.0.13.pre)
|
13
|
+
sprout (>= 1.0.31.pre)
|
14
|
+
open4 (1.0.1)
|
15
|
+
rake (0.8.7)
|
16
|
+
rdoc (2.5.11)
|
17
|
+
rubyzip (0.9.4)
|
18
|
+
sprout (1.0.32.pre)
|
19
|
+
archive-tar-minitar (= 0.5.2)
|
20
|
+
bundler (>= 0.9.19)
|
21
|
+
open4 (>= 0.9.6)
|
22
|
+
rake (>= 0.8.7)
|
23
|
+
rdoc (>= 2.5.8)
|
24
|
+
rubyzip (= 0.9.4)
|
25
|
+
|
26
|
+
PLATFORMS
|
27
|
+
ruby
|
28
|
+
|
29
|
+
DEPENDENCIES
|
30
|
+
as3signals!
|
31
|
+
asunit4
|
32
|
+
flashsdk (>= 1.0.0.pre)
|
data/README.textile
CHANGED
@@ -1,23 +1,20 @@
|
|
1
1
|
|
2
2
|
h1. The AS3-Signals Sprout Gem
|
3
3
|
|
4
|
-
h4. requires sprout, v >= 1.0.26.pre
|
5
|
-
|
6
4
|
Robert Penner's AS3-Signals ActionScript 3 source wrapped in a Sprout::Specification for implementation into a sprout project and Gem::Specification for distribution as a gem.
|
7
5
|
|
8
6
|
This sprout gem includes the AS3-Signals source code forked from github.com/robertpenner/as3-signals. As a sprout, the source code will be copied to lib/as3-signals of your sprout project.
|
9
7
|
|
10
8
|
h3. Installation
|
11
9
|
|
12
|
-
Intended for use with a project using Project Sprouts.
|
10
|
+
Intended for use with a project using Project Sprouts. More information here:
|
13
11
|
|
14
|
-
|
15
|
-
* "http://github.com/lukebayes/
|
16
|
-
* "http://github.com/lukebayes/sprout-flashsdk" http://github.com/lukebayes/sprout-flashsdk
|
12
|
+
* "http://github.com/lukebayes/project-sprouts":http://github.com/lukebayes/project-sprouts
|
13
|
+
* "http://github.com/lukebayes/sprout-flashsdk":http://github.com/lukebayes/sprout-flashsdk
|
17
14
|
|
18
15
|
Add the AS3-Signals gem to your Gemfile:
|
19
16
|
|
20
|
-
<pre><code>gem "as3signals"</code></pre>
|
17
|
+
<pre><code>gem "as3signals", ">= 0.7.0"</code></pre>
|
21
18
|
|
22
19
|
Add the AS3-Signals library dependency to your Rakefile:
|
23
20
|
|
@@ -25,13 +22,48 @@ Add the AS3-Signals library dependency to your Rakefile:
|
|
25
22
|
|
26
23
|
Enter this shell command to resolve gem dependency:
|
27
24
|
|
28
|
-
<pre><code
|
25
|
+
<pre><code>$ bundle install vendor</code></pre>
|
29
26
|
|
30
27
|
h3. Ruby Gem
|
31
28
|
|
32
29
|
The gem can be installed independently of a project entering this command:
|
33
30
|
|
34
|
-
<pre><code
|
31
|
+
<pre><code>$ gem install as3signals</code></pre>
|
32
|
+
|
33
|
+
h3. Available assets
|
34
|
+
|
35
|
+
The gem provides the following options for how to include the library in your project.
|
36
|
+
|
37
|
+
<pre><code>library :as3signals # => (default) will include the swc at lib/as3signals</code></pre>
|
38
|
+
|
39
|
+
<pre><code>library :as3signals, :swc # => will include the swc at lib/as3signals</code></pre>
|
40
|
+
|
41
|
+
<pre><code>library :as3signals, :src # => will include the source code at lib/as3signals</code></pre>
|
42
|
+
|
43
|
+
<pre><code>library :as3signals, :docs # => will include the asdoc files at lib/as3signals</code></pre>
|
44
|
+
|
45
|
+
<pre><code>library :as3signals, :all # => will include all available files at lib/as3signals</code></pre>
|
46
|
+
|
47
|
+
h3. Build and Installation from Source
|
48
|
+
|
49
|
+
This sequence of commands will build and install the gem directly. This may be necessary if updates are made before the gem is updated on rubygems.org.
|
50
|
+
|
51
|
+
Clone git repository:
|
52
|
+
|
53
|
+
<pre><code>git clone https://github.com/amoslanka/sprout-as3-signals.git sprout-as3-signals</code>
|
54
|
+
<code>cd sprout-as3-signals</code></pre>
|
55
|
+
|
56
|
+
Resolve dependencies:
|
57
|
+
|
58
|
+
<pre><code>bundle install vendor</code></pre>
|
59
|
+
|
60
|
+
Compile swc and asdocs:
|
61
|
+
|
62
|
+
<pre><code>rake compile</code></pre>
|
63
|
+
|
64
|
+
Run rake gem:install task:
|
65
|
+
|
66
|
+
<pre><code>rake gem:install</code></pre>
|
35
67
|
|
36
68
|
h3. Additional links
|
37
69
|
|
data/Rakefile
CHANGED
@@ -1,52 +1,97 @@
|
|
1
1
|
require 'bundler'
|
2
|
-
require
|
3
|
-
|
2
|
+
Bundler.require
|
3
|
+
require 'rake/clean'
|
4
4
|
|
5
|
-
#
|
5
|
+
# the filename used by the gem
|
6
|
+
filename = "#{AS3Signals::NAME}-#{AS3Signals::VERSION}"
|
7
|
+
# the swc file as named by the ant tasks
|
8
|
+
swc = "bin/as3-signals-v0.7.swc"
|
9
|
+
# the dir of the docs, as compiled by the ant tasks
|
10
|
+
docs = "docs"
|
11
|
+
|
12
|
+
# Clean task will remove the files created by ant tasks
|
13
|
+
CLEAN.add(docs)
|
14
|
+
CLEAN.add(swc)
|
15
|
+
CLOBBER.add('pkg')
|
16
|
+
CLOBBER.add('vendor')
|
17
|
+
CLOBBER.add('.bundle')
|
6
18
|
|
7
|
-
# library :asunit4
|
8
|
-
#
|
9
|
-
# asunit_home = ENV['ASUNIT_HOME'] || File.dirname(__FILE__) + '/../AsUnit-bacc/asunit-4.0'
|
10
19
|
#
|
11
|
-
#
|
12
|
-
# [
|
13
|
-
# "After",
|
14
|
-
# "AfterClass",
|
15
|
-
# "Before",
|
16
|
-
# "BeforeClass",
|
17
|
-
# "Ignore",
|
18
|
-
# "Inject",
|
19
|
-
# "RunWith",
|
20
|
-
# "Suite",
|
21
|
-
# "Test"
|
22
|
-
# ].each do |arg|
|
23
|
-
# t.keep_as3_metadata << arg
|
24
|
-
# end
|
25
|
-
# end
|
20
|
+
# Tasks
|
26
21
|
#
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
22
|
+
|
23
|
+
desc 'Compile the swc and docs using the provided ant tasks.'
|
24
|
+
task :compile do
|
25
|
+
|
26
|
+
puts "** Compiling swc and asdoc using provided ant tasks."
|
27
|
+
puts `ant swc -DFLEX_HOME=/Developer/SDKs/Adobe_Flex/flex_sdk_4/`
|
28
|
+
puts `ant asdoc -DFLEX_HOME=/Developer/SDKs/Adobe_Flex/flex_sdk_4/`
|
29
|
+
|
30
|
+
end
|
31
|
+
|
36
32
|
#
|
37
|
-
#
|
38
|
-
# t.default_size = '1000 500'
|
39
|
-
# t.input = 'tests/org/osflash/signals/AllTestsRunner.as'
|
40
|
-
# t.source_path << 'src'
|
41
|
-
# t.library_path << "#{asunit_home}/lib/Reflection.swc"
|
42
|
-
# t.source_path << "#{asunit_home}/src"
|
43
|
-
# t.gem_version = '3.3.1'
|
44
|
-
# apply_as3_meta_data_args(t)
|
45
|
-
# end
|
33
|
+
# Test compile tasks
|
46
34
|
#
|
47
|
-
|
48
|
-
|
35
|
+
|
36
|
+
library :asunit4
|
37
|
+
asunit_home = ENV['ASUNIT_HOME'] || File.dirname(__FILE__) + '/../AsUnit-bacc/asunit-4.0'
|
38
|
+
|
39
|
+
def apply_as3_meta_data_args(t)
|
40
|
+
[
|
41
|
+
"After",
|
42
|
+
"AfterClass",
|
43
|
+
"Before",
|
44
|
+
"BeforeClass",
|
45
|
+
"Ignore",
|
46
|
+
"Inject",
|
47
|
+
"RunWith",
|
48
|
+
"Suite",
|
49
|
+
"Test"
|
50
|
+
].each do |arg|
|
51
|
+
t.keep_as3_metadata << arg
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
mxmlc "bin/AS3SignalsRunner.swf" do |t|
|
56
|
+
t.default_size = '1000 500'
|
57
|
+
t.input = 'tests/org/osflash/signals/AllTestsRunner.as'
|
58
|
+
#t.allow_source_path_overlap = true
|
59
|
+
t.source_path << 'src'
|
60
|
+
t.source_path << 'tests'
|
61
|
+
# t.library_path << 'libs/asunit4-alpha.swc'
|
62
|
+
t.library_path << 'lib/asunit4/'
|
63
|
+
# t.gem_version = '3.3.1'
|
64
|
+
end
|
65
|
+
|
66
|
+
desc "Run the Test Harness"
|
67
|
+
flashplayer :test => 'bin/AS3SignalsRunner.swf'
|
68
|
+
|
49
69
|
#
|
50
|
-
#
|
51
|
-
# flashplayer :test_asunit => 'bin/AS3SignalsAsUnitRunner.swf'
|
70
|
+
# Gem tasks
|
52
71
|
#
|
72
|
+
|
73
|
+
namespace :gem do
|
74
|
+
directory "pkg"
|
75
|
+
|
76
|
+
desc 'Build the gem'
|
77
|
+
task :build => 'pkg' do
|
78
|
+
|
79
|
+
# verify that the proper swc and asdoc will be included in the gem
|
80
|
+
if !File.exists?(swc) || !File.directory?(docs)
|
81
|
+
say = "** There are missing swcs, asdocs, or src code. The gem will not be built without these files being provided. To build, run rake task `compile`. **"
|
82
|
+
fail say
|
83
|
+
end
|
84
|
+
puts `gem build #{AS3Signals::NAME}.gemspec`
|
85
|
+
puts `mv #{filename}.gem pkg/#{filename}.gem`
|
86
|
+
end
|
87
|
+
|
88
|
+
desc "Build and install #{filename}.gem"
|
89
|
+
task :install => :build do
|
90
|
+
puts `gem install pkg/#{filename}`
|
91
|
+
end
|
92
|
+
|
93
|
+
desc "Build and push #{filename}.gem to rubygems.org"
|
94
|
+
task :push => :build do
|
95
|
+
system "gem push pkg/#{filename}.gem"
|
96
|
+
end
|
97
|
+
end
|
data/as3signals.gemspec
CHANGED
@@ -1,24 +1,39 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
|
+
require 'as3signals/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
5
6
|
s.name = AS3Signals::NAME
|
6
7
|
s.version = AS3Signals::VERSION
|
7
|
-
|
8
|
-
|
9
|
-
s.email = ["amoslanka@gmail.com"]
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Robert Penner", "Amos Lanka"]
|
10
|
+
s.email = ["info@robertpenner.com", "amoslanka@gmail.com"]
|
10
11
|
s.homepage = "http://www.github.com/amoslanka/sprout-as3-signals"
|
11
|
-
s.summary = %q{AS3-Signals
|
12
|
-
|
12
|
+
s.summary = %q{AS3-Signals wrapped in a Sprout::Specification for implementation into a sprout project.}
|
13
|
+
s.description = %q{AS3-Signals wrapped in a Sprout::Specification for implementation into a sprout project. Signals is a new approach for AS3 events, inspired by C# events and signals/slots in Qt.}
|
13
14
|
|
14
|
-
# s.files = `git ls-files`.split("\n")
|
15
|
-
# s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
-
# s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
15
|
s.require_paths = ["lib"]
|
18
16
|
|
19
|
-
s.files =
|
17
|
+
s.files = Dir["{src,test,tests,asdoc,docs,doc,asdocs,lib,libs}/**/*", "bin/**/*.swc"]
|
18
|
+
s.files.concat Dir["*.gemspec", "gemfile", "build*", "[A-Z]*[.a-z]*"]
|
19
|
+
|
20
|
+
# s.files.reject! do |fn|
|
21
|
+
# fn.include? "CVS"
|
22
|
+
# fn.include? ".svn"
|
23
|
+
# fn.include? ".git"
|
24
|
+
# fn.include? "*.gem"
|
25
|
+
# fn.include? "pkg"
|
26
|
+
# fn.include? "vendor"
|
27
|
+
# # fn.include? "**.cache"
|
28
|
+
# fn.include? ".cache"
|
29
|
+
# fn.include? ".as3proj"
|
30
|
+
# fn.include? ".docproj"
|
31
|
+
# end
|
32
|
+
|
33
|
+
# require 'pp'
|
34
|
+
# pp s.files
|
20
35
|
|
21
|
-
s.add_dependency '
|
36
|
+
s.add_dependency 'flashsdk', '>= 1.0.0.pre'
|
22
37
|
s.add_development_dependency 'asunit4'
|
23
38
|
|
24
39
|
end
|
Binary file
|
data/build.properties
CHANGED
data/build.xml
CHANGED
@@ -2,9 +2,10 @@
|
|
2
2
|
|
3
3
|
<!-- Set up a prefix for all environment variables. -->
|
4
4
|
<property environment="env."/>
|
5
|
-
|
5
|
+
|
6
|
+
<!-- <fail unless="env.FLEX_HOME" message="FLEX_HOME needs to be defined as an environment variable or in the Ant build." /> -->
|
6
7
|
<!-- Copy Flex SDK location from environment variable. This can be set manually instead. -->
|
7
|
-
<property name="FLEX_HOME" value="${env.FLEX_HOME}" />
|
8
|
+
<!-- <property name="FLEX_HOME" value="${env.FLEX_HOME}" /> -->
|
8
9
|
<property file="build.properties"/>
|
9
10
|
|
10
11
|
<target name="swc" depends="" description="Compile AS3 code into a SWC">
|
data/docs/AC_OETags.js
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
//
|
3
|
+
// ADOBE SYSTEMS INCORPORATED
|
4
|
+
// Copyright 2008 Adobe Systems Incorporated
|
5
|
+
// All Rights Reserved.
|
6
|
+
//
|
7
|
+
// NOTICE: Adobe permits you to use, modify, and distribute this file
|
8
|
+
// in accordance with the terms of the license agreement accompanying it.
|
9
|
+
//
|
10
|
+
////////////////////////////////////////////////////////////////////////////////
|
11
|
+
|
12
|
+
|
13
|
+
//v1.0
|
14
|
+
function AC_AddExtension(src, ext)
|
15
|
+
{
|
16
|
+
if (src.indexOf('?') != -1)
|
17
|
+
return src.replace(/\?/, ext+'?');
|
18
|
+
else
|
19
|
+
return src + ext;
|
20
|
+
}
|
21
|
+
|
22
|
+
function AC_Generateobj(objAttrs, params, embedAttrs)
|
23
|
+
{
|
24
|
+
var str = '<object ';
|
25
|
+
for (var i in objAttrs)
|
26
|
+
str += i + '="' + objAttrs[i] + '" ';
|
27
|
+
str += '>';
|
28
|
+
for (var i in params)
|
29
|
+
str += '<param name="' + i + '" value="' + params[i] + '" /> ';
|
30
|
+
str += '<embed ';
|
31
|
+
for (var i in embedAttrs)
|
32
|
+
str += i + '="' + embedAttrs[i] + '" ';
|
33
|
+
str += ' ></embed></object>';
|
34
|
+
|
35
|
+
document.write(str);
|
36
|
+
}
|
37
|
+
|
38
|
+
function AC_FL_RunContent(){
|
39
|
+
var ret =
|
40
|
+
AC_GetArgs
|
41
|
+
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
|
42
|
+
, "application/x-shockwave-flash"
|
43
|
+
);
|
44
|
+
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
|
45
|
+
}
|
46
|
+
|
47
|
+
function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
|
48
|
+
var ret = new Object();
|
49
|
+
ret.embedAttrs = new Object();
|
50
|
+
ret.params = new Object();
|
51
|
+
ret.objAttrs = new Object();
|
52
|
+
for (var i=0; i < args.length; i=i+2){
|
53
|
+
var currArg = args[i].toLowerCase();
|
54
|
+
|
55
|
+
switch (currArg){
|
56
|
+
case "classid":
|
57
|
+
break;
|
58
|
+
case "pluginspage":
|
59
|
+
ret.embedAttrs[args[i]] = args[i+1];
|
60
|
+
break;
|
61
|
+
case "src":
|
62
|
+
case "movie":
|
63
|
+
args[i+1] = AC_AddExtension(args[i+1], ext);
|
64
|
+
ret.embedAttrs["src"] = args[i+1];
|
65
|
+
ret.params[srcParamName] = args[i+1];
|
66
|
+
break;
|
67
|
+
case "onafterupdate":
|
68
|
+
case "onbeforeupdate":
|
69
|
+
case "onblur":
|
70
|
+
case "oncellchange":
|
71
|
+
case "onclick":
|
72
|
+
case "ondblClick":
|
73
|
+
case "ondrag":
|
74
|
+
case "ondragend":
|
75
|
+
case "ondragenter":
|
76
|
+
case "ondragleave":
|
77
|
+
case "ondragover":
|
78
|
+
case "ondrop":
|
79
|
+
case "onfinish":
|
80
|
+
case "onfocus":
|
81
|
+
case "onhelp":
|
82
|
+
case "onmousedown":
|
83
|
+
case "onmouseup":
|
84
|
+
case "onmouseover":
|
85
|
+
case "onmousemove":
|
86
|
+
case "onmouseout":
|
87
|
+
case "onkeypress":
|
88
|
+
case "onkeydown":
|
89
|
+
case "onkeyup":
|
90
|
+
case "onload":
|
91
|
+
case "onlosecapture":
|
92
|
+
case "onpropertychange":
|
93
|
+
case "onreadystatechange":
|
94
|
+
case "onrowsdelete":
|
95
|
+
case "onrowenter":
|
96
|
+
case "onrowexit":
|
97
|
+
case "onrowsinserted":
|
98
|
+
case "onstart":
|
99
|
+
case "onscroll":
|
100
|
+
case "onbeforeeditfocus":
|
101
|
+
case "onactivate":
|
102
|
+
case "onbeforedeactivate":
|
103
|
+
case "ondeactivate":
|
104
|
+
case "type":
|
105
|
+
case "codebase":
|
106
|
+
ret.objAttrs[args[i]] = args[i+1];
|
107
|
+
break;
|
108
|
+
case "width":
|
109
|
+
case "height":
|
110
|
+
case "align":
|
111
|
+
case "vspace":
|
112
|
+
case "hspace":
|
113
|
+
case "class":
|
114
|
+
case "title":
|
115
|
+
case "accesskey":
|
116
|
+
case "name":
|
117
|
+
case "id":
|
118
|
+
case "tabindex":
|
119
|
+
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
|
120
|
+
break;
|
121
|
+
default:
|
122
|
+
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
|
123
|
+
}
|
124
|
+
}
|
125
|
+
ret.objAttrs["classid"] = classid;
|
126
|
+
if (mimeType) ret.embedAttrs["type"] = mimeType;
|
127
|
+
return ret;
|
128
|
+
}
|
129
|
+
|