Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7694485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:19:53+00:00 2026-05-31T21:19:53+00:00

I am converting a Flash Web App to a Javascript(HTML and CSS) Web App.

  • 0

I am converting a Flash Web App to a Javascript(HTML and CSS) Web App. I have a cube rotation animation working but I have a problem with the perspective.

My Problem: I am not sure which CSS attribute I should use to replicate the Flash versions perspective(please see the 2 images below).

The 2 below images where taken while the cube rotation was occuring and you can see the difference in the perspective(the 2nd image is too wide and should look like the first). You can see a working example here(Note it only works on Chrome or Safari): http://jsfiddle.net/CyyZx/6/

  • The first image was taken from the flash application and displays the CORRECT perspective(that I am trying to achieve in CSS).

enter image description here

  • The 2nd image is taken from my CSS, Javascript and HTML web app and the cube rotates with the INCORRECT perspective. What CSS attribute do I change in order to achieve the above images cube perspective?

enter image description here

Please note: The cube faces have the exact same dimensions as the flash version. I currently use the CSS attributes -webkit-perspective: 0; -webkit-perspective-origin: 0;

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:19:54+00:00Added an answer on May 31, 2026 at 9:19 pm

    On your .cubeContainer selector, you have -webkit-perspective: 0;, it should be -webkit-perspective: 1000;.

    This will set the perspective ‘further back’ from the screen, where 0 sets the perspecitve to pretty much where the screen is.

    http://jsfiddle.net/CyyZx/7/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking into converting a Flash application I have into JavaScript but was told
I am converting a bells and whistles flash template into a HTML+CSS+JQuery template, mostly
am converting a flash animation to jquery# i basically have a load of divs
What library/API or even a program for converting flash code into html 5 code
I'm currently working on converting an Android app I built natively as an iPhone
I've been fiddling with WebGL lately, and have gotten a Collada reader working. Problem
I have been given the task of converting a macromedia application to a web
This is a bit complicated but here goes. I have a Rails app that
I'm using Flash Builder 4 Beta 2. I have it connecting to a PHP
I'm converting an application to use Java 1.5 and have found the following method:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.