Swiffy – Online Transformation of SWF to JSON

http://swiffy.googlelabs.com/

This new tool from Google allows you to transform Flash files to a JSON object

Swiffy converts Flash SWF files to HTML5, allowing you to reuse Flash content on devices without a Flash player (such as iPhones and iPads).
Swiffy currently supports a subset of SWF 8 and ActionScript 2.0, and the output works in all Webkit browsers such as Chrome and Mobile Safari. If possible, exporting your Flash animation as a SWF 5 file might give better results.

The Result after ane example SWF file got transformed looks like this:

<!doctype html><html><head><meta charset="utf-8"><title>Swiffy output</title><script src="http://www.gstatic.com/swiffy/v1/runtime.js"></script><script>swiffyobject = {"tags":[{"bounds":{"ymin":0,"ymax":12000,"xmin":0,"xmax":16000},"id":1,"paths":[{"fill":0,"data":"mhvhv:::000p000l000P000L"}],"fillstyles":[{"transform":"32D::71F000h000f","type":3,"gradient":{"stops":[{"color":1711276032,"offset":"0"},{"color":0,"offset":"0.761"}]}}],"type":1},{"tags":[{"id":1,"matrix":"::::::","type":3,"depth":1},{"type":2}],"id":2,"frameCount":1,"type":7},{"id":2,"name":"bg","matrix":"::::::","type":3,"depth":1},{"id":3,"bold":true,"name":"Verdana","emSquareSize":20480,"type":5},{"wrap":true,"text":"title goes here...","indent":0,"font":3,"rightMargin":0,"type":13,"bounds":{"ymin":-40,"ymax":460,"xmin":-40,"xmax":7659},"id":4,"bold":true,"height":220,"color":10790052,"multiline":true,"leading":40,"leftMargin":0},{"id":4,"name":"tn_title","matrix":"::::0x840i","type":3,"depth":3},{"id":5,"name":"Verdana","emSquareSize":20480,"type":5},{"wrap":true,"text":"description goes here...\r2\r3","indent":0,"font":5,"rightMargin":0,"type":13,"id":6,"bounds":{"ymin":-40,"ymax":983,"xmin":-40,"xmax":10025},"height":220,"color":14211288,"multiline":true,"leading":40,"leftMargin":0},{"id":6,"name":"tn_desc","matrix":"::::0x340j","type":3,"depth":4},{"wrap":true,"text":"title goes here...","indent":0,"font":5,"rightMargin":0,"type":13,"id":7,"bounds":{"ymin":-40,"ymax":461,"xmin":-40,"xmax":10022},"height":220,"color":14408667,"multiline":true,"leading":40,"leftMargin":0},{"id":7,"name":"tn_url","matrix":"::::0x379k","type":3,"depth":5},{"wrap":true,"text":"3D Cylinder Box","indent":0,"rightMargin":0,"font":3,"align":2,"type":13,"bounds":{"ymin":-40,"ymax":526,"xmin":-40,"xmax":12659},"id":8,"bold":true,"height":400,"color":13553358,"multiline":true,"leading":40,"leftMargin":0},{"id":8,"name":"ht_title","matrix":"::::00n0d","type":3,"depth":6},{"bounds":{"ymin":-40,"ymax":381,"xmin":-40,"xmax":5579},"id":9,"height":280,"indent":0,"leading":40,"color":14671839,"rightMargin":0,"font":5,"leftMargin":0,"type":13},{"id":9,"name":"tn_copyright","matrix":":::b0d0d","type":3,"depth":7},{"type":2}],"v":"1.0","backgroundColor":16777215,"frameSize":{"ymin":0,"ymax":12000,"xmin":0,"xmax":16000},"frameCount":1,"frameRate":40,"version":9};</script></head><body style="overflow:hidden;margin:0;">
<script>var stage = new swiffy.Stage(document.body, swiffyobject);</script><script>stage.start();</script>
VN:F [1.9.22_1171]
Rating: 9.5/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)

Community Day 2011 – Great Success!

First of all I would like to thank everyone who was involved in the wide context of this day. From the people who are working in specific user groups, gold and silver sponsors as everyone who attended today and went home with a bag filled with gadgets.

As tradition demands, the day started with an official welcome note and a small movie where several people on the streets were interviewed regarding their OS and office versions…
I filmed the intro with my phone, I’ll try to upload it as soon as….

Share photos on twitter with Twitpic
The first session I attended was about rabbits (web applications) in the cloud delivered by Yves Goeleven (azug), he explained how the Windows Azure Platform can provide large scale possibilities to applications. The main thing I remembered from his presentation was…Make your application self-explainable with a intuitive UI and Self-service applications. This is something that, in my opinion, SharePoint consultants also should keep in mind while creating end-user solutions.
Share photos on twitter with Twitpic

Than as a proud amateur WP7 evangelist, I had to attend the mango session… BEsug explained the new options that are available for developers like (acceleration and GEO location) and Silverlight 4 controls. Not a word regarding the custom ringtone possibility, am I the only one who is looking forward to this?

The lunch break was a real success, I loved it! We received coupons in the morning while checking-in and for those we received very tasty Chinese food!!!
I must say that the amount of free coffee I drunk today was maybe not legal anymore :)

After the lunch we attended the claims based session (nice VIP room btw) by joris poelmans (biwug), he demystified the fog around claims based authentication within SharePoint And some people in the room were a little bit to demystified and confused authentication with the user profiler service… At the same time twitter (#comdaybe) was buzzing about a mysterious sleeping/snoring person in another room :)

Afterwards we watched the SharePoint best practices session which was an explanation of the SharePoint Patterns and Practices (http://spg.codeplex.com/)… He summerized how to use the SharePoint Service Locator, the repository and model-view-presenter pattern and at the end he demonstrated the mvvm pattern by using new knockoutjs library.

We enjoyed a very tasty ice cream provided by our friends from Combell

Share photos on twitter with Twitpic

The last session was about SharePoint governance and the pitfalls we can might fall in while analyzing or implementing new SharePoint projects, in my opinion, one of the most interesting presentations I’ve seen this year… Thanks Patrick!

Afterwards a colleague of mine showed us a very nice restaurant in the inner city of Mechelen, the perfect ending of an interesting day!

Hope to see you all next year or sooner!!!!!

Tom

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

If you want to use reflector on the c# code that is called when someone executes a SharePoint Powershell command, you’ll be searching for the microsoft.office.powershell.dll.

You will not find this dll in the 14 rootfolder, because appearantly it only exists in the Global Assembly Cache!

While in reflector, press File > Open and type “C:\Windows\assembly\GAC_MSIL\Microsoft.SharePoint.PowerShell\” .
Here you’ll find the assembly you were searching for!

hope this helps,
Tom

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

SharePoint 2010 Adoption Best Practices White Paper

Ah, driving adoption. We know it can be tough to get a team to change its ways. But you don’t have to resort to wearing disguises like our SharePoint champion. Use this handy kit to send the message: life is easier with SharePoint 2010.

Please check out the SharePoint 2010 Adoption Best Practices White Paper

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

What is SharePoint?

Although a 3 minutes movie can’t illustrate the full potential and power of the SharePoint platform, it does give a good abstract of how the product can make the life of the coworkers a lot easier!

This movie isn’t new, but if you haven’t seen it? I posted it especially for you :)

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Community Day 2011

This thursday, the 23th of June, the fifth edition of the belgian community event is taking place. A wide variaty of topics is discussed and presented.

I’m sure a lot of interesting knowledge is available for all of us!

Hope to see you there?

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Access denied with SPSite.AllWebs

When you require a collection containing all the SPWeb objects in a specific site collection, the SPSite.AllWebs property seems to be sufficient. This statement is only correct as long as the current user is a site collection administrator..

but when the code is executed in the context of a user in the Member or Visitor group, an Access Denied message appears!

If you are not sure that the functionality is exclusive for administrators, try to avoid the following code:

SPContext.Current.Web.Site.AllWebs.ToList();

Instead I recommend the following approach by using the GetSubwebsForCurrentUser :

private static IList GetAllWebsSafely(){
    var allwebs = SPContext.Current.Web.Site.RootWeb.GetSubwebsForCurrentUser().ToList();
    allwebs.Add(SPContext.Current.Site.RootWeb);
    return allwebs;
}

In my case I needed an equivalent of the AllWebs, including the rootweb object. Therefor the rootweb is also added to the collection.

Hope this helps,
Tom.

VN:F [1.9.22_1171]
Rating: 8.5/10 (6 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 3 votes)