Hi,
Beside my last article, I’ve not published anything in a while. This is mostly because I was busy working with a coworker of mine on the last project we released here at Marcel, and I need to say that I am proud of the result !
First of all, the website : it’s a digital experience made for Cartier to emphasize their beautiful movie Odyssee. You may visit the dedicated website at :
Why am I telling you this
First of all because I’m quite proud, and it was a wonderful experience. But also because, as a challenge, we proposed to work with Stage3D for the website. Excluding Flash Player 10 players was excluded, so we actually worked on a fallback system. It’s really simple : You can compile for Flash Player 11, and still be executed by Flash Player 10 if you don’t call specific features. The first thing the website does is this :
try { stage.stage3Ds; User.getInstance().isStage3DAvailable = true; } catch(e:Error) { User.getInstance().isStage3DAvailable = false; } |
And it’s working !
Stage3D is used for the parallax system used on the “experience” part of the website. Fallback system is made with simple bitmaps and copyPixels instructions.
Because we wanted to be able to modify everything, and because we wanted something light, we didn’t used starling and my coworker did an amazing job at creating a small Stage3D framework, like a kind of StarlingNano.
Push the limits
I am very proud of this website because we succeeded in pushing the limits : we used a lot of pixel bender shader and we used Stage3D. What I am trying to say is that the flash community shouldn’t stay in its comfort zone anymore and start trying to push themselves using Stage3D technology even if it means to code a fall back system.
Using Stage3D wasn’t that hard, and even if it is not necessary at all at the end, it still brings some features to the project :
- Parallax are smoother. We can push a lot of layers, even animated ones, without being afraid to get some performance issues.
- We were able to add some particles on some chapter.
- Most important : We learned something, and we challenged ourselves.
Anyway, flashers of the world, it’s time to push your knowledge to your real project.
You can do it !

