Quantcast

Ruby on Rails, Io, Lisp, JavaScript, Dynamic Languages, Prototype-based programming and more...

Technoblog reader special: $10 off web hosting by FatCow!

Monday, November 10, 2008

Compiling SWFUpload on Mac OS X

SWFUpload is a great flash library for dynamic file upload progress meters, but making changes to the swf can be a pain in the ass if you don't have FlashDevelop, a windows-only app for compiling actionscript. Luckily I figured out how to do it on OS X.

First download flex sdk 3 from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3

Next download SWFUpload from http://code.google.com/p/swfupload/downloads/list

Now cd into the SWFUpload v2.x.x Core/Flash directory.

Modify the file obj/SWFUpload-v2Config.xml to change the windows paths. Here is what mine looks like:


<!--Flex compiler config for project SWFUpload-v2 generated by FDBuild-->
<!--============-->
<!--This file was generated by a tool.-->
<!--Any modifications you make may be lost.-->
<flex-config>
<compiler>
<source-path append="true">
<path-element>/Users/lcarlson/SWFUpload v2.2.0 Core/Flash</path-element>
</source-path>
</compiler>
<file-specs>
<path-element>/Users/lcarlson/SWFUpload v2.2.0 Core/Flash/SWFUpload.as</path-element>
</file-specs>
<default-background-color>#FFFFFF</default-background-color>
<default-frame-rate>15</default-frame-rate>
<default-size>
<width>300</width>
<height>300</height>
</default-size>
</flex-config>


Finally, all you have to do is this:

~/Downloads/flex_sdk_3/bin/amxmlc -load-config+=obj/SWFUpload-v2Config.xml -debug=true -incremental=true -benchmark=false -o swfupload.swf

Now you have compiled a new swfupload.swf. Woot.

You should follow me on twitter here.

Technoblog reader special: click here to get $10 off web hosting by FatCow!

10 Comments:

Blogger Zhenhong Bao said...

michael kors outlet clearance
tiffany jewelry
tiffany jewelry
swarovski crystal
ralph lauren polo
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
tiffany and co jewelry
ferragamo shoes
hollister uk
ferragamo shoes
kobe shoes
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
tiffany and co
toms outlet
cheap ray ban sunglasses
polo ralph lauren
cheap mlb jerseys
true religion sale
cheap jordan shoes
ralph lauren uk
polo ralph lauren
michael kors outlet online
mont blanc pens
rolex watches
ray-ban sunglasses
longchamp outlet
louis vuitton handbags
iphone case
burberry outlet online
juicy couture outlet
christian louboutin uk
omega watches
true religion jeans outlet
ferragamo shoes
bottega veneta outlet
20160531zhenhong

6:05 PM, May 30, 2016

 
Blogger Zhenhong Bao said...

toms outlet
tiffany jewellery
beats headphones
oakley sunglasses wholesale
ray-ban sunglasses
oakley sunglasses wholesale
michael kors uk
rolex watches
gucci sunglasses uk
michael kors outlet store
michael kors outlet
fitflops sale clearance
prada sunglasses for women
michael kors outlet
dior sunglasses
rolex uk
ralph lauren outlet
michael kors outlet
lululemon outlet
longchamp pas cher
camisetas futbol baratas
ferragamo outlet
air force 1 shoes
louis vuitton sunglasses for women
police sunglasses
futbol baratas
reebok shoes
louis vuitton handbags outlet
cartier watches
cheap nba jerseys
prada handbags
versace sunglasses
polo ralph lauren
jordan pas cher
ray-ban sunglasses
20160531zhenhong

6:27 PM, May 30, 2016

 
Blogger Alice Denny said...

Welcomes to google terminal keep sharing such ideas in the future as well.
google snake this was actually EARN TO DIE
what i was looking for,and i am glad to came here! AGE OF WAR 2
Hi! I’ve been reading your blog for a while HAPPY WHEELS
I want you to thank for your time of this wonderful read!!! Slitherio
Amazing insight you have on this, Slither io This article always blew me BIG FARM

12:55 AM, July 10, 2016

 
Blogger Tachra door said...

کرکره برقي
درب اتوماتيک شيشه اي
درب اتوماتيک
جک پارکينگ
جک پارکينگي
تعميرات
کرکره برقي
درب اتوماتيک شيشه اي
درب اتوماتيک
جک پارکينگ
تعميرات
قطعات خودرو
طراحي دکوراسيون
دکوراسيون داخلي
جک پارکينگ
جک پارکينگي
سئو سايت
طراحي سايت
درب اتوماتيک شيشه اي
درب شيشه اي

3:19 AM, July 28, 2016

 
Blogger Hua Cai said...

ugg boots sale
coach outlet online
instyler
cheap replica watches
burberry outlet
hollister clothing store
adidas uk
kobe 9 elite
jordan shoes
herve leger outlet
lebron shoes
ferragamo shoes
lebron james shoes
nike roshe run
nike air max 90
michael kors wallet sale
louis vuitton bags
cheap jordan shoes
tiffany jewelry
fitflops uk
michael kors handbags
longchamp bag
cartier sunglasses for men
lululemon outlet
jordan pas cher
futbol baratas
oakley sunglasses
ugg outlet
celine outlet
swarovski crystal
ray ban sunglasses
true religion uk outlet
versace sunglasses on sale
true religion outlet
cheap oakley sunglasses
20160804caihuali

10:39 PM, August 03, 2016

 
Blogger Haniye Asghari said...

***شرکت نوين گيت***

با سالها سابقه در طراحي ،اجرا و خدمات سيستمهاي درب اتوماتيک و راهبند
فروش،نصب و راه اندازي و خدمات انواع درب اتوماتيک (درب سکشنال - کرکره اتوماتيک - کرکره پنجره - درب ريلي اتوماتيک - جک پارکينگي - کرکره شفاف - رول گيتر - انواع راهبند و درب اتوماتيک شيشه اي... )
خدمات 24 ساعته و شبانه روزي حتي در تعطيلات رسمي
مشاوره رايگان در تمامي مراحل

http://www.novingate.com/

درب اتوماتيک شيشه اي

http://www.novingate.ir/

http://www.novinwebsite.ir/website-design

طراحي سايت

نوين گيت

تاجران آريا دلفين

http://www.fa.adt-co.ir/

Aria Dolphin

http://www.novingate.com/

http://www.adt-co.ir/

1:40 AM, August 08, 2016

 
Blogger Trọng Văn Nguyễn said...

【Office Lover】dating games
Çanak Okey Plus
Clash of Lords 2
Mobile Strike
Criminal Case
Auralux

2:15 AM, August 19, 2016

 
Blogger Fangyaya said...

air jordan 13
gucci outlet
adidas outlet
michael kors outlet
true religion outlet
cheap jordans
cheap jordans
louis vuitton outlet
coach outlet
uggs for men
michael kors outlet
air jordan 8
ralph lauren uk
true religion jeans
fitflops
louis vuitton handbags uk
ralph lauren polo shirts
ugg sale
ugg boots
rolex watches
mlb jerseys
oakley sunglasses
ray ban sunglasses uk
nike outlet store
michael kors outlet online
louis vuitton handbags
uggs on sale
supra shoes
hermes handbags
chenyingying20160908

6:51 PM, September 07, 2016

 
Blogger Fangyaya said...

beats outlet
abercrombie & fitch
toms shoes
michael kors handbags
ugg outlet
coach outlet store online
toms shoes
nike outlet
cheap uggs
louis vuitton outlet
kate spade handbags
coach factory outlet
michael kors handbags
nike tn pas cher
ugg boots
adidas uk
insanity workout
canada goose coats
gucci belts
coach factory outlet
cincinnati bengals jerseys
louis vuitton
louis vuitton
chicago bulls jerseys
giuseppe zanotti sandals
gucci uk
uggs outlet
uggs outlet
adidas ultra boost
chenyingying20160908

7:18 PM, September 07, 2016

 
Blogger Minh Thái said...


visit the website of me!
Vid Reaper Review
Vid Reaper Bonus
Vid Reaper Energy
Vid Reaper Bonus
Vid Reaper Review
Vid Reaper Bonus
Vid Reaper Energy
Vid Reaper Bonus
Mỹ Phẩm Pizu
Vid Reaper Review
Vid Reaper Bonus
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review
Vid Reaper Review

7:57 AM, September 19, 2016

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

 

If you like this blog, you might also like top photography schools.