Embedding Flash in Powerpoint

Image by Neto Leal


Powerpoint and Flash are both corporate whores and you’d assume that you could get them to do the same John. Unfortunately, they do not mix at all. Trying to fix this problem before your client catches a flight is negative fun, so here’s a quick hack. Embedding Flash directly is extremely dangerous as it messes up the timing of the Flash, and it can freeze up your presentation. What I did was link the Flash as an external file and add two lines of Actionscript to make it ‘behave’ like part of the presentation. You have to separate your files so they don’t corrupt each other, while at the same time appearing seamless. I should mention that adding a Flash intro to your file is no substitute for – say, eye contact and meaningful speech – but anyone reading this is prolly not in a position to say that. PS – this is boring for normal people, but hopefully it’ll save someone the three hours I wasted yesterday.

Why PowerPoint and Flash Don’t Mix

To put a movie or picture in Flash you do Insert/Whatever. For Flash however, you have to go through this extended rigamarole, which I won’t delve into. Powerpoint basically has a Flash player built in, and a crappy one at that. Running a program within a program is a very cludgy use of memory and it can freeze your whole kit. Within PowerPoint, my Flash file lost 5 seconds of music and was impossible to exit.

Linking to an External File

This is where the hack begins.

1. Put your .swf Flash file in the same folder as your presentation.
2. Create a line or a button that says ‘Play Intro’.
3. Right click the button thing and select ‘Action Settings’.
4. Select the ‘Hyperlink To’ option, and then choose ‘File’ from the dropdown
5. Browse and find your file

Then that’s it, clicking that button will open your Flash file. To be smart, you should also follow the same steps to create another button that says ‘Skip to Presentation’, linking to a Slide instead of a File (Step 4).

Actionscript

As is, the Flash file will open in a small window, which doesn’t look cool. It is also impossible to exit without doing a File/Quit. You can however, force Flash to open full screen, and enable it to close itself. One caveat however, Flash will show all the ugly stuff outside of the drawing frame when you go full screen. To prevent this I made a layer with a ‘mask’ around the edges so that all the photo edges and crap were hidden behind it. That mask is just a colored box with a hole in the middle for the content to peek through.

Force Full Screen: Right Click the frame and select ‘Actions’. Then copy this line into the Actionscript:

fscommand(“fullscreen”, “true”);

Or, hit the little Plus button and find the action you need: Global Functions/Browser Network/fsComma. Then use the drop down to add the Fullscreen command.

Enable Exit: By default the Flash will just end and your presenter will be stuck there. To escape this I made a big square on the very last frame, converted it to a symbol and did Right-Click/Actions and the following code:

on (release) {
fscommand(“quit”);
}

Or you can use the menus as above, that’s what I did. I don’t actually know Actionscript and I don’t like Flash in general.

Bugs

When you click the hyperlink Windows will ask you if you want to open the external file, it’s annoying. The big bug is that if you don’t include the linked file on the same folder on the presenters computer the whole thing will fail miserably. The Flash file must be on the physical disk in the right place cause it’s not embedded in the Powerpoint.

And blah blah blah, that is one way to stick Flash into a Powerpoint presentation. The effect is that you can transition between PPT and Flash in a few steps (3 total, including exit), so you can have your prettiness mixed with the actual presentation. These steps are also simple, mindless clicks rather than resizing windows and closing stuff. I should also mention that Powerpoint is actually pretty GD capable in terms of animations on its own, sans Flash.

I personally think Flash is almost always frivolous and useless, but I’ve learned to shut my mouth and cash the check. The problem with freelancing is that like 80% of the jobs don’t require creativity. In fact, they require doing exactly what the client says and shutting up, which I have problems with. That’s why I outsource half of the work now and just take a tithe. I also got a full set of Helvetica fonts out of the deal. My management skills are ass and my payroll is almost equal to income. Makes me a big tax turkey. This job, for example, was done in Montreal. I’m just taking 20% and all the phone calls. I think I may have gotten this outsourcing concept wrong.

RSS feed | Trackback URI

2 Comments »

Raquel
2006-03-01 01:05:26

So you think you may have gotten the outsourcing concept wrong? Yeah, I think so too.

 
Debbie
2008-01-29 23:21:24

I appreciate these helpful tips.

I am astonished at your decision to outsource your projects. You’ve lost the one thing that makes graphic design worth the thousand useless client ideas: the ability to prove them wrong with your creativity. I also detect quite a lot of bitterness. Why don’t you take a long holiday with your loved ones, change the direction of your career, take up a new hobby, before you implode and go postal.

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

email indi AT indi.ca.


Recent Comments


Getting A Chinese Visa In Sri Lanka (Or Trying) (5)

Lal: Our so called friends are not treating us the same way we treat them!

jehanlive: I thought so to. This post could have been delayed till the visa was obtained… .. hahaha

tastyjujubes: I can understand your frustration, but why would anyone make it easy for Sri Lankans to get a visa when we are known for abusing the system? Don’t you think many Sri Lankans would get to China and then “drop and...

Sarath Fonseka And The Mahavamsa (7)

shammi: One has to admire how Anoma Fonseka handled the whole thing.

N: Well yes..that’ ;s a given.

Rukman: More importantly, it is precisely what’s happening in SL right now.

Why Does India Suck At The Olympics? (17)

the way of the dodo: Lol. Does it matter what cricinfo writes down as speed. You said 140+ all those people regularly bowl 140+. You just haven’t watched cricket. zaheer khan started playing cricket a long time ago he’s lost his pace...

tastyjujubes: What a ridiculously stupid claim. If you take dogs and cats, the mongrels are stronger, healthier and are better at survival when compared to the pure-breds who have all sorts of diseases and disabilities from interbreeding. The...

Rohan: Medium Pacers mean “Fast medium” or “Medium fast”: That is the “technica l” term. No Indian has “FastR 21; under his name when being introduced to the bowling attack.

Unequal Marriage In Sri Lanka (The Foreign Kind) (18)

DK: My thanks to everyone – well, perhaps not Acro – who has contributed to this. I’ve learned a lot. As I’ve said in a previous string I’m Sri Lankan-born, lost SL citizenship because of prevailing laws at the time I...

Getting A Chinese Visa In Sri Lanka (Or Trying)

I want to visit my friend in China before he comes back. Free place to crash and all. So, I applied for a visa to China, from Colombo. I’m not sure I’ll get it, but this is process to at least apply. For official but incomplete info, check out the Chinese Embassy website.

Sarath Fonseka And The Mahavamsa

The Mahavamsa (a history of Sri Lanka) is full of conflicts between generals and kings. Usually, the more bloodthirsty and unscrupulous would win. Our current (elected) ruler Mahinda Rajapaksa has had his own general conflicts, namely with one Sarath Fonseka. In the old days Fonseka would have staged a coup, as in literally try to cut of Mahinda’s head, and Mahinda would – if that failed – tie him to four elephants and split his parts asunder. Can’t do that shit anymore. Instead Fonseka ran for office and lost and Mahinda tossed him in jail.

Why Does India Suck At The Olympics?

Today on the morning show we talked about the Olympics, namely China’s emerging dominance. For me the bigger question is India. Why does India suck so much? In 2008 the US won 110 medals, China won 100 and India won… 3. India has over a billion people, some economic clout and is by all counts an emerging superpower, but they suck at the Olympics. Why?

New New Kottu

Janith has updated Kottu with rims and shit. Seriously, it looks pretty good. You could say the desktop look is cosmetic, but check out the mobile. Kottu now looks like an app with settings and menus and such. The biggest problem with K2 is me, ie, it now takes me up to a month to respond to emails. OMG I’m scared of my email. But Janith’s done this code and design update all by himself and it looks pretty good. Check it out. There was one bug with the previous page link. Lettuce know if there’s any more.