Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Convert Text To Curvres Via ActionScript


Is there a way to convert text to curvres via ActionScript?




FlashKit > Flash Help > Flash ActionScript
Posted on: 11-17-2002, 08:14 AM


View Complete Forum Thread with Replies

Sponsored Links:

How Do You Convert Text To Bitmap In Actionscript
I am doing an animation which includes some text floating around the stage. This however displays some unwanted effects. I believe i can convert my text to bitmap using actionscript but am not sure how to implement this. Is there anyone out there using a/s 3 who might be able to help me. Many Thanks.

View Replies !    View Related
[F8] Easy Way To Convert Text To Actionscript
im working on a new game that will allow users to create their own levels and share via copy and paste.

when the map is create it presents the user with a few arrays for the level data.

Is there an easy way to just load the text with actionscript or would i have to parse everything?

View Replies !    View Related
Convert Text Generated By Actionscript To MC/Button
Hi.

I have a actionscript which sets the GameEndTx to a special message based on performance.

GameEndTX = "Nicely done! Now go and claim your prize";

I want to make this text clickable so you can claim your prize with a simple click on the text. For that I think I need to make it a mc/button.

Hopefully someone can help me with this!

View Replies !    View Related
Convert Actionscript Flash 5 To Actionscript 2.0
any one can tell me how to convert actionscript flash 5 to actionscript 2.0??? anythings i need to take note? i reallynew in actionscript 2.0...please help me.. thanks a lot

View Replies !    View Related
Convert Actionscript 6 To 8
Hi all, im using the script:


Code:
speed = 30
elas = 1.3

function slide() {
this.dx = this.tx - this._xscale
this.tempx = this.tempx/elas + this.dx/speed
this._xscale += this.tempx

}

mc.tx = 100
mc.onEnterFrame = slide


But need to convert it or find the equivelent for flash 8. Can anyone tell me how to go about this?

View Replies !    View Related
Convert C++ To Actionscript..possible?
Hi all, I am doing my final year project on educational software on cams. I was wondering if it is possible to convert c++ to actionscript as the 2nd part of my software requires user inputs. Example: I have choices A,B,C,D,E,F,G,H,I,J & K. User chooses A,C,E,G,I & K.When he press enter, his choices would result in (I).

If it is possible, how do I go abt starting?I would like to try on my own til I give up..=)

Any help would be so greatly appreciated..Cheers!!

View Replies !    View Related
[F8] Convert Actionscript 1.0 To 2.0
This following script works in 1 but not in Actionscript 2:


Code:
scale = Number(random(50))+30;
setProperty(_target, _x, Number(../:x)+Number(random(12))-6);
setProperty(_target, _yscale, scale);


It says "Unexpected '.' encountered." :/

I found the attached fla on this website, I love it and it works great, but not in Actionscript 2.0. Can someone help me make it work in A. 2.0?

View Replies !    View Related
Convert Actionscript 2.0 To 3.0
Hi,

I've found the following code to generate snowflakes.
however it is from actionscript 2.0.

How can i convert it to actionscript 3.0 ?
i mean that when i test this under actionscript 3.0, flash cs3 tells me
for example 1120: Access of undefined property amount.
and this points to amount = 100.

thanks a lot.

----
amount = 100;
mWidth = Stage.width;
mHeight = Stage.height;
for (var i = 0; i<amount; i++) {
thisFlake = this.attachMovie("flake", "flake"+i, i);
with (thisFlake) {
_x = Math.random()*mWidth;
_y = Math.random()*mHeight;
_xscale = _yscale=_alpha=40+Math.random()*60;
}
thisFlake.yspeed = Math.random()*2+.2;
thisFlake.increment = -0.025+Math.random()*0.05;
thisFlake.radian = 0; //declare for actionscript 2.0
thisFlake.onEnterFrame = function() {
this.radians += this.increment;
//trace(this.radians);
this._x += Math.sin(this.radians);
this._y += this.yspeed;
if (this._y>=mHeight) {
this._y = -10;
this._x = -10+Math.random()*mWidth;
}
if (this._x>=mWidth || this._x<=0) {
this._y = -10;
this._x = -10+Math.random()*mWidth;
}
};
}

View Replies !    View Related
AS2 - Need To Convert Some Actionscript From Swf V6 AS2 To V8 AS2
Hi.

I need to upgrade some code from swf v6 AS2 to v8 AS2.

For example this is the v6 as2 code:
if (((_local2 == null) || (_local2 == undefined)) || (_local2 == "")) {

It would need upgrading to:
Fixing this (with quots around undefined), like,
if (((_local2 == null) || (_local2 == "undefined")) || (_local2 == "")) {

Can anyone tell me other stuff that I need to look out for?

Matt

View Replies !    View Related
How Do I Convert This Code To Actionscript 2.0
Silly newbie question, but what is the proper syntax for this OLD style code in the new and improved 2.0?

on (release) {
tellTarget (this._parent.stars) {
gotoAndPlay(2);
}
}

Thanks

View Replies !    View Related
Convert A Javascript To Actionscript
I'm in MX2004, and need to convert a javascript function into an actionscript function. The original function was created by a developer friend who knows nothing of Flash, and I have no idea what he did.

The function is supposed to round a number up to the nearest 1/8 value and it works beautifully - in HTML. There is an input field named rawValue and an output field named calcValue. The function is below, and if anyone could help me with this I would be eternally grateful:

function roundUpTo(fromField,toField,fracValue){
// Get the "source" value field object reference
fromField = (fromField && typeof fromField.value != "undefined") ? fromField : null;
// Get the "target" value field object reference
toField = (toField && typeof toField.value != "undefined") ? toField : null;
// Make sure there is both a "source" and "target" field object reference
if(fromField && toField){
// Get (or evaluate) the "Fraction" parameter passed (if present) -- Default is 1/8
fracValue = (fracValue && (fracValue.match(/[^0-9.*/+-() ]/) == null) && !isNaN(parseFloat(eval(fracValue)))) ? parseFloat(eval(fracValue)) : (1/8);
// Get the original source value (NOTE: parseFloat is executed)
oV = (fromField.value != "" && !isNaN(parseFloat(fromField.value))) ? parseFloat(fromField.value) : 0;
// Get the Integer portion of the supplied original value
cVI = parseInt(oV);
// Get the Decimal portion of the supplied original value
cVF = oV - cVI;
// Round the Decimal portion down to the nearest "fraction" value
cVFD = (parseInt(cVF/(fracValue)) * (fracValue));
// Find the nearest "higher" fractional value
cVFD = ((cVF == cVFD) ? (cVF) : (cVFD + (fracValue)));
// Set the "target" field value to the "rounded up" value (to the nearest "higher" fraction value supplied, or 1/8 if not supplied)
toField.value = cVI + cVFD;
}
}

View Replies !    View Related
Convert Actionscript 2.0 Code To 3.0
I would like to incorporate a very basic paint program into my Flash movie.
I must use AS 3.0.

I followed the tutorial from the URL below, which I think is for AS 2.0.
[url="http://www.pixelhivedesign.com/tutorials/Flash+Painting+Program/"]

It doesn't even work for me using AS 2.0. When I try to play my movie it says "A script in this movie is causing Adobe Flash Player 9 to run slowly. If it continues to run your computer may become unresponsive. Do you want to abort the script?"

The code in the tutorial is:
canvasAbove = attachMovie('canvas_mc','can',2);
canvasAbove._alpha = 50;

painting = createEmptyMovieClip('painting',1);

theBrush = new Object();
theBrush.onMouseDown = function(){
isPainting = true;
painting.moveTo(_xmouse,_ymouse);
painting.lineTo(_xmouse+1,_ymouse+1);
}
theBrush.onMouseMove = function(){
if(isPainting){
painting.lineTo(_xmouse,_ymouse);
}
}
theBrush.onMouseUp = function(){
isPainting = false;
}
Mouse.addListener(theBrush);

painting.onEnterFrame = function(){
ranWidth = Math.round((Math.random() * 10)+2);
painting.lineStyle(ranWidth,0x006600,100);
}

clear_btn.onRelease = function(){
painting.clear();
}

Can anybody help me to convert this code into Actionscript 3.0?
Or do you have an alternative way to make a basic drawing program using AS3.0 and Flash?

Thank you,
Nicole

View Replies !    View Related
Convert Graph Into ActionScript
Is it possible to convert graph i draw in Flash into ActionScript?

View Replies !    View Related
Convert Java -> Actionscript
I need some help with this issue.

I want to convert code written in Java to Actionscript code.

Or to find the way to call Java applets with actionscript.

Pls. help!

View Replies !    View Related
Convert Form To ActionScript
I'm working with a flash designer, and we're both trying to convert an html form into actionscript so we can use it in flash, for my new site http://www.AutomaticMoneyMachine.com.

The form needs to call some variables from a line of php, so if it were all php and html, it would look something like this:

<?
session_start();
include("AMMscript.php");
?>

<form method="post"
action="http://www.webbootcamp.com/mail/signup.php">
<input type="hidden" name="list" value="19">
<font face="Sydnie"><font color="#00FF00"><font
size=+2>NAME/font></font></font>
<input type="text" name="fname" value="" maxlength="30"
style="font-family:arial; color:003300; font-size:15pt; background:ffff00;">
<p>
<font face="Sydnie"><font color="#00FF00"><font
size=+2>EMAIL/font></font></font><input type="text" name="email"
maxlength="80" style="font-family:arial; color:003300; font-size:15pt;
background:ffff00;">
<p><input type=submit class="link" value="CONFIRM TRANSACTION"></center>
<input type=hidden name=overwrite_dupes value=1>
<INPUT type="hidden" name="amount">
<INPUT type="hidden" name="user2" value="<? echo $Sponsor; ?>">
<INPUT type="hidden" name="user3" value="<fname>">
<INPUT type="hidden" name="user4" value="<? echo "$Firstname" ?> <? echo
"$Lastname" ?>">
</form>

The actual design elements of the form are not needed (my flash designer has duplicated that portion already). What we need to know, is how to send the hidden fields, and all values, and submit the form.

Also - is there anything special to know about grabbing php session variables into the flash, or can we just put the flash within a php page?

NOTE - the form goes to a mailing list, so it is imperative to somehow define the list number as shown here <input type="hidden" name="list" value="19"> after the form action.


I would be happy to give you free memberships to two separate bu^siness oppo^rtunities I run, http://www.WebBootCamp.com and upcoming http://www.AutomaticMoneyMachine.com to anyone who can help us out with this.

Thanks in advance!


Sincerely,

Jim Symonds
Founder, Web Boot Camp
http://www.WebBootCamp.com
The Webmaster Resources Search Engine
==== http://www.WebmasterNow.com ==
Learn 1001 Sneaky Tips 'n Tricks Now!
= http://www.WebSecretsExposed.com =

View Replies !    View Related
Convert Script To Flash 5 Actionscript
Howdy,

how would I write the following flash 4 actionscript in Flash 5 actionscript? basically im telling movie clip "menu" to GotoAndStop at a frame# that happens to be a variable. It works swell in flash 4 but i can't get the flash 5 syntax correct.



tellTarget ("../menu") {
gotoAndStop ((../:variable));
}

View Replies !    View Related
Please Help Convert Flash MX Actionscript Into Version 5
Hi,

I helped someone creating a continously scrolling mc in MX. However, he needs it written in Flash 5... Do you know how to convert following code into Flash 5 AS language? The strange thing is, when I save the mx-fla as Flash 5, I get no error codes. But when I publish the movie with Flash 5, nothing happens.

I really appreciate your help!

The actionscript below is currently on frame 1 of the timeline, on the stage there is a mc named "content_1":

function deltaX() {
var a = this._xmouse;
var b = movieWidth/2;
var c = 20;
return 0-((a-b)/20);
}
function getMovieSize() {
var currentMode = Stage.scaleMode;
Stage.scaleMode = "showAll";
_global.movieWidth = Stage.width;
_global.movieHeight = Stage.height;
Stage.scaleMode = currentMode;
}
getMovieSize();
content_1.duplicateMovieClip("content_2", 1);
obj_1 = content_1;
obj_2 = content_2;
obj_1.num = 1;
obj_2.num = 2;
barWidth = obj_1._width;
obj_2._x = obj_1._x+barWidth;
this.onEnterFrame = function() {
obj_1._x += deltaX();
obj_2._x += deltaX();
if (obj_1._x>=0 && obj_1._x<=barWidth) {
obj_2._x = obj_1._x-barWidth;
} else if (obj_1._x<=movieWidth-barWidth) {
obj_2._x = obj_1._x+barWidth;
}
if (obj_2._x<=movieWidth-barWidth) {
obj_1._x = obj_2._x+barWidth;
} else if (obj_2._x>=0) {
obj_1._x = obj_2._x-barWidth;
}
};

View Replies !    View Related
Convert Image Map Data To Actionscript
I have a website that has a gallery full of hotspotted images. I would like to convert the gallery to Flash. However, I do not wish to "re-hotspot" all the images. Is there a way to convert the hotspot coordinates into Actionscript and receive an equivalent shape and assign actions to it.

<map name="Map">
<area shape="poly" coords="62,104,32,29,97,67,170,32,145,99,166,133,7 7,169,20,163" href="#">
</map>

Any help would be greatly appreciated.

View Replies !    View Related
Convert String Into Actionscript Code
I need one function that converts string into actionscript code,
i've been searching but I don't find anything. I'm using Flash 8.

Example:

myString = "Number(var1.txt) * Number(var2.txt) + 1000";

result.text = desiredFunction(myString); // is equal > result.text = Number(var1.txt) * Number(var2.txt) + 1000;


Thanks

View Replies !    View Related
Convert String Into Actionscript Code II
Please.. help me with this.

The function above arithmeticParser() by abeall works great BUT,
it doesn't read variables, if I have a variable name "var1" or an instance name "var1.text"
How can I assign to the array the value instead of the variable string?


actionscript layer1:
<code>
/************
/* String arithmetic parsing function - abeall.com
/* takes a string like "1+(5-2)/7((25+3)*2)" and does the arithmetic, respecting parenthesis
/* returns: Number
/************/
function arithmeticParser(str){
if(typeof str!='string')return str;
//clean up
str = str.split(" ").join('').split("Number").join('');

//CORE ALGORITHM///////////////////////////////////
//create nested arithmetic array based on parenthesis
//ex: 1+(5-2)/7((25+3)*2) => ['1','+',['5','-','2'],'/','7',[['25','+','3'],'*','2']]
var arithArr = [];
var currStr = "";
var arrayScope = [arithArr];
for(var i=0 ; i<str.length ; i++){
var char = str.charAt(i);
var currArr = arrayScope[arrayScope.length-1];
if(char=="("){
if(currStr!="")combineArray(currArr,currArr.length ,arithStrToArray(currStr.split("(").join()));
currStr = "";
arrayScope.push(currArr[currArr.length]=new Array());
}else if(char==")"){
combineArray(currArr,currArr.length,arithStrToArra y(currStr.split(")").join()));
currStr = "";
arrayScope.pop();
}else{
currStr = currStr + char;
}
}
combineArray(currArr,currArr.length,arithStrToArra y(currStr));
//dump(arithArr);
str = arrayArithmetic(arithArr);
return str;

//FUNCTIONS////////////////////////////////////////
//splices all elements in the Array 'insertArr' into the Array 'ar' at 'index'
function combineArray(ar,index,insertArr){
for(var i in insertArr){
ar.splice(index,0,insertArr[i]);
}
}

//performs arithmetic() to 3D arrays from deepest array to the top array
function arrayArithmetic(ar){
for(var i in ar){
if(typeof ar[i]=='object'){
ar[i] = arrayArithmetic(ar[i]);
}
}
return arithmetic(ar);
}

//converts arithmetic string to array
//ex: 7+2/8-12 => ['7','+','2','/','8','-','12']
function arithStrToArray(arithStr){
var ar = [];
var currStr = "";
for(var i=0 ; i<arithStr.length ; i++){
var char = arithStr.charAt(i);
if(char=="/" || char=="*" || char=="-" || char=="+"){
if(currStr!="")ar.push(currStr);
ar.push(char);
currStr = "";
}else{
currStr = currStr+String(char);
}
}
if(currStr!="")ar.push(currStr);
return ar;
}

//performs the four basic arithmetic operations to arithmetic formatted array
function arithmetic(ar){
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="/"){
var n = Number(ar[i-1]) / Number(ar[i+1]); //perform operation
ar.splice(i-1,3,n); //splice out the number,operation,number subarray and replace with the answer number
i=0; //since the array has been modified(spliced) the operation must start over to get all operations
}
}
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="*"){
var n = Number(ar[i-1]) * Number(ar[i+1]);
ar.splice(i-1,3,n);
i=0;
}
}
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="-"){
var n = Number(ar[i-1]) - Number(ar[i+1]);
ar.splice(i-1,3,n);
i=0;
}
}
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="+"){
var n = Number(ar[i-1]) + Number(ar[i+1]);
ar.splice(i-1,3,n);
i=0;
}
}
return ar[0]; //the array should be down to one element: the answer
}
}
</code>

actionscript layer2:
<code>
myString = "(var1 * 2) + 1000";
result.text= arithmeticParser(myString);
</code>

View Replies !    View Related
Convert FlashVars (html) To Actionscript
How do I convert a FlashVars statement (inside an HTML file) to a statement in actionscript?

Example, suppose I have this snippet of code in an HTML file:




Code:
<embed src="ordering.swf" FlashVars="xmlfile=ordering1.xml&actNum=1"

In English, the above code passes in two parameters "xmlfile" and "actNum" to the loading of ordering.swf.

MY QUESTION: How can I emulate this behavior of FlashVars if I wanted to bypass any HTML file -- using actionscript. How do I pass two parameters into a loading movie?

In other words, I think I need to use the loadmovie command - but how do I pass these two parameters using loadmovie? If I'm not supposed to use loadmovie, then any other suggestions are greatly welcomed!

I have 2 files:

1. Ordering.Swf (as noted in the code above)
2. Parent.Swf (which loads the external ordering.swf passing the two parameters xmlfile and actNum into it)

What is the code for step 2?

Thanks!

View Replies !    View Related
Convert Flashvars To Actionscript Statement
How do I convert a FlashVars statement (inside an HTML file) to a statement in actionscript?

Example, suppose I have this snippet of code in an HTML file:


Code:
<embed src="ordering.swf" FlashVars="xmlfile=ordering1.xml&actNum=1"
In English, the above code passes in two parameters "xmlfile" and "actNum" to the loading of ordering.swf.

MY QUESTION: How can I emulate this behavior of FlashVars if I wanted to bypass any HTML file -- using actionscript. How do I pass two parameters into a loading movie?

In other words, I think I need to use the loadmovie command - but how do I pass these two parameters using loadmovie? If I'm not supposed to use loadmovie, then any other suggestions are greatly welcomed!
Thanks!

View Replies !    View Related
Convert Java Code To ActionScript
Hi All,

Here I am attaching a java class regexp.txt , which I need to convert to ActionScript code. Please help .............

View Replies !    View Related
Convert Mask From Timeline To Actionscript 3 (AS3)
I have a mask that I've created on a layer in the timeline. Is it possible to convert it so that I can use it in AS3

View Replies !    View Related
How Can I Convert An ActionScript 2 Website To ActionScript3?
I have a website which currently uses Action Script 2.
When I change the Publish settings from Flash 7 to Flash 9 and from ActionScript 2 to ActionScript 3, then publish the file, I get the following warning:

WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.

What can I do to correct this error?
Is there a simple tutorial that explains how to make the changes?
I subscribe to Lynda.com but I haven't seen useful there.
I should warn you that I am a beginner when it comes to coding.

Thank you

View Replies !    View Related
Convert String Into Actionscript Code
I need one function that converts string into actionscript code,
i've been searching but I don't find anything.

Example:

myString = "Number(var1.txt) * Number(var2.txt) + 1000";

result.text = desiredFunction(myString); // is equal > result.text = Number(var1.txt) * Number(var2.txt) + 1000;


Thanks

View Replies !    View Related
Convert String Into Actionscript Code II
Please.. help me with this.

The function above arithmeticParser() by abeall works great BUT,
it doesn't read variables, if I have a variable name "var1" or an instance name "var1.text"
How can I assign to the array the value instead of the variable string?


actionscript layer1:
<code>
/************
/* String arithmetic parsing function - abeall.com
/* takes a string like "1+(5-2)/7((25+3)*2)" and does the arithmetic, respecting parenthesis
/* returns: Number
/************/
function arithmeticParser(str){
if(typeof str!='string')return str;
//clean up
str = str.split(" ").join('').split("Number").join('');

//CORE ALGORITHM///////////////////////////////////
//create nested arithmetic array based on parenthesis
//ex: 1+(5-2)/7((25+3)*2) => ['1','+',['5','-','2'],'/','7',[['25','+','3'],'*','2']]
var arithArr = [];
var currStr = "";
var arrayScope = [arithArr];
for(var i=0 ; i<str.length ; i++){
var char = str.charAt(i);
var currArr = arrayScope[arrayScope.length-1];
if(char=="("){
if(currStr!="")combineArray(currArr,currArr.length ,arithStrToArray(currStr.split("(").join()));
currStr = "";
arrayScope.push(currArr[currArr.length]=new Array());
}else if(char==")"){
combineArray(currArr,currArr.length,arithStrToArra y(currStr.split(")").join()));
currStr = "";
arrayScope.pop();
}else{
currStr = currStr + char;
}
}
combineArray(currArr,currArr.length,arithStrToArra y(currStr));
//dump(arithArr);
str = arrayArithmetic(arithArr);
return str;

//FUNCTIONS////////////////////////////////////////
//splices all elements in the Array 'insertArr' into the Array 'ar' at 'index'
function combineArray(ar,index,insertArr){
for(var i in insertArr){
ar.splice(index,0,insertArr[i]);
}
}

//performs arithmetic() to 3D arrays from deepest array to the top array
function arrayArithmetic(ar){
for(var i in ar){
if(typeof ar[i]=='object'){
ar[i] = arrayArithmetic(ar[i]);
}
}
return arithmetic(ar);
}

//converts arithmetic string to array
//ex: 7+2/8-12 => ['7','+','2','/','8','-','12']
function arithStrToArray(arithStr){
var ar = [];
var currStr = "";
for(var i=0 ; i<arithStr.length ; i++){
var char = arithStr.charAt(i);
if(char=="/" || char=="*" || char=="-" || char=="+"){
if(currStr!="")ar.push(currStr);
ar.push(char);
currStr = "";
}else{
currStr = currStr+String(char);
}
}
if(currStr!="")ar.push(currStr);
return ar;
}

//performs the four basic arithmetic operations to arithmetic formatted array
function arithmetic(ar){
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="/"){
var n = Number(ar[i-1]) / Number(ar[i+1]); //perform operation
ar.splice(i-1,3,n); //splice out the number,operation,number subarray and replace with the answer number
i=0; //since the array has been modified(spliced) the operation must start over to get all operations
}
}
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="*"){
var n = Number(ar[i-1]) * Number(ar[i+1]);
ar.splice(i-1,3,n);
i=0;
}
}
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="-"){
var n = Number(ar[i-1]) - Number(ar[i+1]);
ar.splice(i-1,3,n);
i=0;
}
}
for(var i=0 ; i<ar.length ; i++){
if(ar[i]=="+"){
var n = Number(ar[i-1]) + Number(ar[i+1]);
ar.splice(i-1,3,n);
i=0;
}
}
return ar[0]; //the array should be down to one element: the answer
}
}
</code>

actionscript layer2: (usage)
<code>
myString = "(var1 * 2) + 1000";
result.text= arithmeticParser(myString);
</code>

View Replies !    View Related
Convert HTML Form To ActionScript
Hello, I'm new to this forum so I would like to say hello to everyone and to say thank you in advance for your assistance. What I would like to know how to do is get this HTML e-mail list sign-up form below converted to ActionScript. I've searched everywhere to figure this out myself and have had no luck. I would appreciate any assistance with this problem.

<!-- Start of Email List Manager Code - nonframe -->
<FORM ACTION= "http://www.hypermart.net/Listing.bml" METHOD="POST" TARGET="mywindow" onSubmit="window.open ('about:blank', 'mywindow', 'toolbar=no, location=no,directories=no, status=no, menubar=no,scrollbars=yes,resizable=yes, copyhistory=no, width=400,height=200')">
<TABLE border="0"><tr>
<td nowrap>Subscribe to Subscribers_2 list:
<INPUT TYPE="text" NAME="UEmail" SIZE="20">
<INPUT TYPE="hidden" NAME="user" VALUE="hy.medearecords">
<INPUT TYPE="hidden" NAME="dir" VALUE="Subscribers_2">
<INPUT TYPE="submit" NAME="SUBMIT" VALUE="Subscribe" ></td>
</tr>
</TABLE></FORM>
<!-- End of E-mail List Manager Code - nonframe -->

View Replies !    View Related
Is It Possible To Convert A Movieclip To A Bitmap Using Actionscript 3.0
I am interested in creating a flash player that enables the user to export the swf file as a bitmap of custom size/resolution and save it. Before I attempt to do it I would like to know if it's possible to do it exclusively with actionscript 3.0 or if I need an external program. I haven't found anything on the net that does this only using actionscript.

View Replies !    View Related
Convert Old Action Script To New Actionscript?
Hello

I am using this code on a movieclip to make it ease as you rollover the menu buttons.


Code:
onClipEvent (load) {
endX = -10;
endY = -15;
div = 2;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
_root.mainMenu.home.onRollover = function() {
endX = -10;
endY = -15;
};
_root.mainMenu.skills.onRollover = function() {
endX = 107;
endY = -15;
};
_root.mainMenu.works.onRollover = function() {
endX = 223;
endY = -15;
};
_root.mainMenu.email.onRollover = function() {
endX = 340;
endY = -15;
};
}
I made this in Flash MX but now want it to work in the new flash so I can incorporate other new features.

How do I achieve this same effect with actionscript 2 and flash player 7.

Any help is greatly appreciated.

Thanks
Johnny

View Replies !    View Related
Actionscript To Convert Milliseconds Into Timer
Hello.

Is there any way one could convert any given time (time in milliseconds) from milliseconds in hours, minutes, seconds and milliseconds in Flash 8?

If so, can anyone help with the actionscript to accomplish the following: actionscript to display any given milliseconds in hours, minutes, seconds and milliseconds eg, 0:00:00:00 ?

Thanks,
MM

View Replies !    View Related
How To Convert This Countdown Actionscript To GetUTC-4 Time
How can I convert the script below to "getUTC - 4"; so I can set this countdown actionscript to eastern time zone?


Code:
this.onEnterFrame = function() {
var todaydate = new Date();
var currentYear = todaydate.getFullYear();
var currentTime = todaydate.getTime();
var targetDate = new Date(currentYear, 05, 19); // current end date April 19, 2007
var targetTime = targetDate.getTime();
var timeLeft = targetTime-currentTime;
var sec = Math.floor(timeLeft/1000);
var minTime = Math.floor(sec/60);
var hours = Math.floor(minTime/60);
var days = Math.floor(hrs/24);

hrs = (hrs%24);

days = days;
var counter = (hours+1);
txt1.text = counter;

if (counter < 0)
{
txt1.text="0";
}
trace (counter);

var plural="s";
txt2.text = plural;

if (counter < 2) {
txt2.text="";
}
trace (plural);

};

View Replies !    View Related
Convert Movie Clip Symbol To Graphic With Actionscript 2?
I've used .loadmovie() to load a couple JPGs into some placeholder movie clips, but I want to convert these mc instances into indivual graphic symbols via actionscript - is this even possible?

View Replies !    View Related
Convert Hand Drawn Vector To Actionscript Code
hey all,
i'd like to use a simple 16x16 b/w grab icon for a custom cursor and i can't have anything in the Flash library so i need to convert an image of an icon to actionscript. anyone know if there's a tool to convert a bitmap or hand drawn vector to an actionscript graphics.x shape code?


thx
michael

View Replies !    View Related
Convert Hand Drawn Vector To Actionscript Code
hey all,
i'd like to use a simple 16x16 b/w grab icon for a custom cursor and i can't have anything in the Flash library so i need to convert an image of an icon to actionscript. anyone know if there's a tool to convert a bitmap or hand drawn vector to an actionscript graphics.x shape code.

thx
michael

View Replies !    View Related
Convert Text To Capitals Before Inserting Into A Dynamic Text Field
I am trying to load the titles of blog posts into buttons but before doing so i would like to convert the text to all capitols... is there a way to do this within flash? Thanks!

View Replies !    View Related
Actionscript 2.0 Convert To Actionscript 3.0
Hello Everyone,

I have the code below which was created for Actionscript 2.0... I was hoping someone could help me convert to Actionscript 3.0.

If there is anyone that could help me out I would greatly appreciate it.

Thanks,
Alan


var mouse_control:Boolean = true;

var speed:Number = 0;

var mouse_force:Number = 100;

map_color_mc.gotoAndStop("1");
var stop_motion:Boolean = false;
var front_map_position:Number = front_map_mc._x=0;
var reverse_map_postion:Number = reverse_map_mc._x=0;
var centerX:Number = Stage.width/2;
point_mc.duplicateMovieClip("point_mc2", -16367);
point_mc2._x = point_mc._width;
point_mc2._y = point_mc._y;
this.onEnterFrame = function() {
if (stop_motion == false) {
if (mouse_control) {
speed = ((_xmouse-centerX)/mouse_force);
}
front_map_position += speed;
reverse_map_postion -= speed;
if (front_map_position>0) {
front_map_position = -(front_map_mc._width/2);
}
if (front_map_position<(front_map_mc._width/2)*-1) {
front_map_position = 0;
}
if (reverse_map_postion>0) {
reverse_map_postion = -(reverse_map_mc._width/2);
}
if (reverse_map_postion<(reverse_map_mc._width/2)*-1) {
reverse_map_postion = 0;
}
point_mc._x = front_map_mc._x=front_map_position;
point_mc2._x = point_mc._x+point_mc._width;
reverse_map_mc._x = reverse_map_postion;
}
};
globe_hit_mc.onRollOver = function() {
if (mouse_control == false) {
stop_motion = true;
}
};
globe_hit_mc.onRollOut = function() {
if (mouse_control == false) {
stop_motion = false;
}
};

View Replies !    View Related
Get RollOver Event On Pure Text Without Having To Convert Text Into Mc Or Bt?
Is there a way of acheiving mouse over (pure) text triggering action?
(Reason: externally loaded text can be made as links and trigger effects on the fly)

I've been through the macromedia actionscript dictionary, the addeventlistener function does not work for me (or maybe i'm just too stupid).

Please DO NOT suggest converting text to movie clip or button if you can't solve my problem. But if you do have an answer, many many thanks in advance.

View Replies !    View Related
Convert HTML Text To Normal Text
Basically I want to convert some html formatted text to normal text. I've got a html page being loaded into my swf but then I want to copy it to the user's clipboard, but as it is on screen without all of the html tags (<BR>, character escaping, etc). Previously i did it like this:

tempText.html = true;
tempText.htmlText = "<BR><B>hellow world</B><BR>";
copyText = tempText.text;
trace(copytext);


returns "undefined"


this code used to work but doesn't anymore :( I kind of want to refrain from using copy and replace string functions to get rid of the html formating because thats a bit unreliable given how i'm going to use this. So does anyone have any ideas? :D

View Replies !    View Related
How Can I Convert 'Text' To 'Fill'?
Please can someone tell me how to convert 'text' to a 'fill' so I can use it like any other shape. I see people using text as a filled shape or a mask but cannot figure out how to do it. I've been doin' Flash for a long time, so give it to me straight, I can handle it. Thanks!
Mitch
www.austinproject.net

View Replies !    View Related
Help With Text Space Convert To As2
Has anyone converted levitated text space to as2?

I'm really struggling with it. I'm not that experenced in as2 yet. Any help would be very great full!!

I want to convert it so I can use bitmap caching. I have over 450 text and it just crawls in as1.

Source code can be found here.
http://www.levitated.net/daily/levTextSpace.html

Thanks in advance!!


Code:
for (n=0;n<this.wordList.length;n++) {
// pick a word from the list
var word = Object.environment.wordList[n];
var x = random(600)-300;
var y = random(337)-169;
var z = random(Object.environment.fl*2)-Object.environment.fl;

// create an instance of the SpaceWord object
nombre = "word"+String(depth++);
var d = space.attachMovie("spaceWord", nombre, depth, {txtword: word, x: x, y: y, z: z});
}
Then in my class I have

Code:
dynamic class spaceWord extends MovieClip {


function spaceWord() {
this._x = x;
this._y = y;
this.z = z;
this.txtWord = word;
}

}
But this only places one movie clip on the stage....what am I doing wrong...sorry I now I'm a newbie @ classes and prob doing this all wrong!

View Replies !    View Related
Convert Text To Graphic
I have a fla document that has text buttons.....these buttons have a drop shadow effect added to them....if i try to publish the movie to work with flash 7, it takes away the drop shadow.

Is there any way around it taking that away? i was thinking of somehow converting the text+effect to a graphic.

can i do the conversion within flash?

Thanks!

View Replies !    View Related
How To Convert Dynamic Text Into Arc...?
Hi!
I am newbie to AS3 and Flash. Can someone guide me that how can I convert and display user inserted text into ARC shape, circular shape or wavy shape, etc through ActionScript3.

Thanks in advance

View Replies !    View Related
Convert Text To Allcaps?
Is there a way to convert tExT to ALLCAPS?

View Replies !    View Related
Convert Text To Number
Hi all,

I load some numbers from text file... the problem that flash is seeing these numbers as NaN and I want to make some calculations on them… how could I convert it to numbers… I try to write it as follows:


num1=parseInt( this.numtxt.text);


but it doesn’t work..


thanks in advance

View Replies !    View Related
Text Won't Really Convert To A Symbol
It seems like text doesn't quite convert into a symbol. It appears to convert when I'm in flash but when I run the file it won't perform any of the tweens and I can still highlight the text. Anyone know what I'm doing wrong? Thanks!

View Replies !    View Related
Very Urgent How To Convert Text As A Button
hi every one i created one website in that webstite i converted text to button but out put is showing blur text if i use alias and selectable for text it showing perpet but linke is not working could any one help plz

View Replies !    View Related
[F8] Can U Convert This Simple Text Box Ease Fla From F5 To F8?
Hi

http://www.elbowspin.com/Flash8EaseBox.fla

This is the source file for a simple text box with easing(inertia). It is a very simple application. However when I convert/publish to Flash 8 it stops working!!! Can anyone tell me why this happens? I am really curious to know the answer. Are there any syntax thingies I should be looking out for??

Honestly it is only a few lines of code please help me!!

View Replies !    View Related
Convert Input Text To Number
I need to convert the text in an input text box to a number so I can use it in my calculation. I've searched all over the forum and found codes of all sorts but I just couldn't get them to work. Can somebody help?

View Replies !    View Related
Dynamic Text Value Convert To A Variable
Hi People

I got an other problem. how can i handle the value of a Dynamic text that's coming for a cookie?? can I convert that in an otre variable??? How can I do it??

Hell pleas

View Replies !    View Related
Convert Text To A Graphic Or Bitmap
I have Arabic text in an swf which I want to convert to a graphic or bitmap (so that it's no longer recongised as text).
The text is used only as a background (for artistic purposes) but when it's viewed on some other computers it is displayed as normal Roman characters (I suppose if the Arabic script it not installed on that computer).
Any ideas how I can resolve this?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved