Find Jobs
Hire Freelancers

ActionScript example scripts using SWFMill and mtasc

$30-5000 USD

Closed
Posted almost 16 years ago

$30-5000 USD

Paid on delivery
My company is working on an ActionScript project utilizing the ExternalInterface functionality to expose some methods to JavaScript. This code is built with mtasc and works as expected. We have run into a stumbling block that we would like to have an experienced contractor fix and deliver to us. The problem is that we are trying to do programmatic font rotation. To do this we need to use embedded fonts instead of device fonts. Since mtasc has no facility for this we need to use both mtasc and SWFMill but that causes problems. The first issue is that we still cannot get font rotation working even with mtasc, SWFMill, and embedded fonts. Part of the contract is do deliver code that does that. The second issue is that as soon as we put our mtasc code into an SWF file with SWFMill we lose all ExternalInterface functionality. We've modified the mtasc build scripts to not try to call the main function on its own. SWFMill calls the main function when it is ready and that function calls ExternalInterface on our methods. We know that the main function is being called because it writes some text on the canvas but we cannot access the ExternalInterface items that we used to be able to access when we were just using mtasc. The deliverables for this project are: 1) An ActionScript file (.as) containing code that exposes some functions via ExternalInterface. These functions should allow us to draw text using an embedded font and then rotate that text to an arbitrary angle. 2) An mtasc build script for the file from item #1. 3) An SWFMill input file (.xml) that builds the final SWF file that contains an embedded font and the preliminary SWF file from step #2. 4) Example JavaScript code and accompanying HTML to place the SWF object on a page and call the methods exposed by the ExternalInterface calls. The requirements for the code are: 1) The code must run on IE, FireFox, Opera, and Safari. 2) The code must be flexible enough for us to embed different fonts other than the font included in the example. 3) The code must explain clearly how to reference the ExternalInterface methods from JavaScript. 4) The code must only use mtasc, SWFMill, and optionally a script (Perl, bash, sh, csh, tsch, etc) to complete the build process. If you believe you can fulfill such a contract please provide an estimate and we will respond as soon as possible. ## Deliverables If the project is impossible or unmaintable using the technology we've decided on we may consider bids that suggest alternative methods. We still must require that the software is able to be built on Mac and/or Linux.
Project ID: 3970187

About the project

Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Jun 12, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.