CFMX flash forms & actionscript
I'm sure this has been asked somewhere else, but I didn't see
a topic on it.
Using a cfform format=flash....there is a subset of the
actionscript language that is available for use. Is there a listing
somewhere of what is included in this subset, or any documentation
on this? When I'm writing an AS function, it would be nice to know
that either (1) the AS I'm trying to use isn't supported in that
subset or (2) it is supported, but I've just made a type or
something in my code. Most often, when either of these things
happens, my form just won't display which can make it tough to
track down the problem.
Any help, or a point in the right direction would be
great!!
The
words
that Coldfusion's flash compiler prohibits have to do with the
creation of new objects. They are
new
import
delete
createChild
loadmovie
duplicateMovieClip
AttachMovie
registerclass
createTextField
__proto__
To get one decimal place, multiply by 10 and divide by 10. To
get two decimal places, multiply by 100 and divide by 100, and so
on. You will find more in this
technote
about rounding to specific decimal places in Flash
Similar Messages
-
I Need Dire Help Making a Flash Form
Hello, I need some serious help creating a Flash Form.
I Have used a template from another site with the following
input boxes:
Name: __________
Email: __________
Comments: ____________
However, i had the script working fine, along with its php
script,
when i was trying to add more "text" boxes, i must have
messed the script up somhow.
When I submit that form, the name is send and email, but the
email is blank.. ie, there is no "comments"
here is the code:
on submit button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
sent email messege
onClipEvent(data){
// show welcome screen
_root.nextFrame();
and the php script (mailer.php)
php form email.pho
<?php
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
http://www.php.net/manual/en/function.mail.php
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "[email protected]";
$subject = "My Flash site reply";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["firstName"] ." ".
$_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could
send
// email to a hotmail account. (hosting provider settings may
vary)
// technically bounced email is supposed to go to the
return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body
variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
If anyone can see why the "comments" section is not being
sent?
Also: My original problem was how do you add more text boxes.
I want something like this:
Name:
Address:
Phone:
Mobile:
Email:
Website:
Comments:
Ive spent days and days trying to work out how to first make
a form that actually works, then add more text fields
Ive looked at many basic form tutorials, but they all seem to
only have 3 or 4 text fields.. Name, Email, Comments... etc
I haven't a clue how to edit the script both in action script
and php to add more fields easy.
I really need some help with this, its turning into a
nightmare for me.
I can provide someone with my .fla project file if they care
to take a look at what im doing wrong.
Thanks
Pan
ps. Please note: "$sendTo = "[email protected]";" =
this line i know i must put in my own email.This is all about timelines. It seems there is a movieclip
named 'form' (or possibly an actionscript object, can't tell). Any
variables created on that timeline are sent.
So you could have your new textfields on another timeline.
Or you could have textfields with no instance name in the
form timeline.
Those are the first two things to look at. Post the FLA and
we can tell you more specifically. -
How to validate date fields in the flash form
i want to validate the date fields to make sure the values
are not greater than today's date and from-date is less than or
equal to to-date in the flash form. Does the actionscript have a CF
DateDiff function for the validatation?
ThanksI finally (after much reading up on actionscript) figured out
my problem with date validation...which was similar to yours...
I posted the solution I found for my AS date validation issue
here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=22&threadid=1232361
I hope it helps!!! -
How to Use Captcha in Flash Forms
Hi, does anyone knows how to use a captcha in flash forms
I am using Coldfusion 7 not version 8.
Please Guide Me
Cheers> CF response
You said you needed help with ActionScript. What I gave you
is ActionScript.
Coldfusion has no built-in method called
match. You should use REMatch(reg_expression, string) or
REMatchNoCase(reg_expression, string), assuming you're on CF 8, of
course. -
Help with Radio Buttons & Combo Box for Flash Form that sends email
I'm having a bit of a hard time with a Flash form that I'm working on.
I've got the basic text fields working fine, but I'm not sure how to retrieve the values from the Radio Button and Menu List components.
The PHP script pulls the values from the text fields with:
$contact_name = $_POST['name'];
$contact_email = $_POST['email'];
$contact_subject = $_POST['subject'];
but using
$radioGroup = $_POST['radioGroup'];
doesn't retrieve the selected radio button value.
The radio buttons have a groupName of "radioGroup". The combo box component doesn't even show up in the HTML version, but does in the .swf.
Can anyone point me in the correct direction to pull these values from these components and get them passed to the PHP form? The native .FLA and the php file are here for reference:
http://dl.getdropbox.com/u/21984/flashform.zip
My solution needs to be ActionScript 2.
Thanks!again, you assign a variable. the selected radiobutton's data and/or label isn't going to magically be sent to the php file.
for example, if you have sendLV and receiveLV loadvars instances, you can use:
sendLV.rbData=yourradiogroup.selection.data;
sendLV.yourothervariables=yourothervariables;
sendLV.sendAndLoad("yourphp.php",receiveLV,"POST"); -
Write to and read from TCP/IP address using Flash and Actionscript
Hi,
I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
Please help. Thank youbump
Please! anyone! HELP -
Host Header Flash Forms Problems
Hello,
I'm running CFMX 7.01 on IIS 6, Windows 2003 Server....
I've created an intranet application that uses several flash
forms. The site is located in the folder of
C:\Inetpub\wwwroot\CorpComWeb. This can be referenced from the
Default website by
http://sandy/corpcomweb/ OR
http://CorpComm (after adding an
internal DNS host header and then referencing it in Website -
Advanced - Host header value). This works great for every page
EXCEPT the two pages that contain CF Flash Forms. When I try to
access these pages using
http://CorpComm/flashformpage.cfm it spins into infinity (no
error just never loads). If I access the page by
http://sandy/corpcomweb/ the
page loads fine.
Any ideas as to why this would be?
Thanks in advance!Ok, stupid mistake on my part.
When creating the new site in IIS, I forgot to add a virtual
directory pointing to CFIDE... -
Hello. This is what I am trying to accomplish. I am making a
tabbed registration flash form and I would like the person
completing the form to see a total as he makes the selection for
what he will be attending. The way I approached the problem was to
bind an ActionScript function to the
GRANDTOTAL form field, but when the form finishes loading in
the browser, the
NaN error pops up. I tried to convert the field selections
explicitly to numbers to perform the addition, but it is obviously
not working. If anyone could shed some insight into this, that
would be great. Thank you in advance. The code for the tab that
handles the selection is below.
<!-- registration details tab -->
<cfformgroup type="page" label="Registration">
<cfformitem type="text">Your FULL NBBAN Registration
Includes: Admission to all Forums, Continental Breakfast,
Refreshment Breaks, Welcome Reception, Awards Dinner and
Luncheon.</cfformitem>
<cfformitem type="spacer" height="3" />
<cfformitem type="text">CONFERENCE REGISTRATION
FEES:</cfformitem>
<cfformgroup type="tile" height="650">
<cfformgroup type="horizontal">
<cfselect name="MemberQtyat250" size="1">
<option value=0>0</option>
<option value=250 selected>1</option>
<option value=500>2</option>
<option value=750>3</option>
<option value=1000>4</option>
<option value=1250>5</option>
</cfselect>
<cfformitem type="text">$250 per
MEMBER</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="NonMemberQtyat300" size="1">
<option value=0 selected>0</option>
<option value=300>1</option>
<option value=600>2</option>
<option value=900>3</option>
<option value=1200>4</option>
<option value=1500>5</option>
</cfselect>
<cfformitem type="text">$300 per
NON-MEMBER</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="GuestQtyat125" size="1">
<option value=0 selected>0</option>
<option value=125>1</option>
<option value=250>2</option>
<option value=375>3</option>
<option value=500>4</option>
<option value=625>5</option>
</cfselect>
<cfformitem type="text">$125 GUEST (accompanied by
MEMBER)</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="WelcomeReceptionQtyat75" size="1">
<option value=0 selected>0</option>
<option value=75>1</option>
<option value=150>2</option>
<option value=225>3</option>
<option value=300>4</option>
<option value=375>5</option>
</cfselect>
<cfformitem type="text">$75 WELCOME RECEPTION
ONLY</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="AwardsQtyat100" size="1">
<option value=0 selected>0</option>
<option value=100>1</option>
<option value=200>2</option>
<option value=300>3</option>
<option value=400>4</option>
<option value=500>5</option>
</cfselect>
<cfformitem type="text">$100 AWARDS AND RECOGNITION
CEREMONY ONLY</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="LuncheonQtyat75" size="1">
<option value=0 selected>0</option>
<option value=75>1</option>
<option value=150>2</option>
<option value=225>3</option>
<option value=300>4</option>
<option value=375>5</option>
</cfselect>
<cfformitem type="text">$75 LUNCHEON
ONLY</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="KingTourQtyat20" size="1">
<option value=0>0</option>
<option value=20 selected>1</option>
<option value=40>2</option>
<option value=60>3</option>
<option value=80>4</option>
<option value=100>5</option>
</cfselect>
<cfformitem type="text">$20 THE KING CENTER
TOUR</cfformitem>
</cfformgroup>
<cfformitem type="script">
function subTotal() {
var memberQty = registration.MemberQtyat250;
var nonmemberQty = registration.NonMemberQtyat300;
var guestQty = registration.GuestQtyat125;
var receptionQty = registration.WelcomeReceptionQtyat75;
var awardsQty = registration.AwardsQtyat100;
var luncheonQty = registration.LuncheonQtyat75;
var tourQty = registration.KingTourQtyat20;
var result = trace(Number(memberQty)) +
trace(Number(nonmemberQty)) + trace(Number(guestQty)) +
trace(Number(receptionQty)) + trace(Number(awardsQty)) +
trace(Number(luncheonQty)) + trace(Number(tourQty));
alert(result);
</cfformitem>
<cfformgroup type="horizontal">
<cfinput type="text" name="GRANDTOTAL" label="Total: $"
bind="{subTotal()}" />
</cfformgroup>
</cfformgroup>
</cfformgroup>You need to store the information user have input before
somewhere. You can store it in local shared object, which is dubbed
as a "flash cookie" -- Flash MX. Then you will retrieve it at
execute an autofill. If you store the user's info in a remote
database -- you can loadVars from you server with the form
information.
Search for SharedObject in flash help -- it is pretty
straight forward and simple.
I forgot to mention that you will need to compare entry in
the form field with the stored info on each key stroke, naturally,
and display results in an additional text field, etc.
Hope it helps... -
Has anyone seen a workable fix with regard to the Eolas
problem. For those unfamiliar, I'm referring to the box around all
Flash content requiring the user to click before they can interact
with the form.
I'm particularly interested in the fix for Flash Forms in
ColdFusion. I have MX7 installed. I have a JS script for
movies...but to date, nothing works for Flash Forms.Have you tried CFMX 702 updater? That has a fix for EOLAS
issue.
More details at:
http://www.asfusion.com/blog/entry/eolas-fix-for-coldfusion-flash-forms -
I am trying to do some Javascript with a Flash Form and it is
failing. I have a field with a value in the field name so I dont
have to use labels. I know with Javascript that onFocus, the field
will clear. Is that possible in a Flash Form.
DonUse actionscript, like so
<cfinput type="Text" name="txt_box" value="Initial Value"
onFocus="txt_box.text=''">
For readability the onFocus is
" txt_box.text = ' ' "
Ken -
I have a flash form embedded in a CF7 page. I have a pair of
radio buttons along with a tab navigator on the form. I want to
make it so that if the second radio button is clicked, the entire
tab navigator control becomes disabled. I know I could do this by
putting actionscript into the onClick handler of the radio button.
What I don't know how to do is refer to the tabnavigator. That type
of control doesn't have a name attribute, so how do I set its
"enabled" attribute?
My radio button looks like this:
<cfinput type="radio" name="accept" onClick =
"?????.enabled = no;">Thanks a lot ScareCrow, that worked perfectly. It's weird, I
use the CF 7 WACK book for reference, and it doesn't list that "id"
attribute for cfformgroup. I guess I'll stick to the livedocs from
now on. Thanks again. -
Embed/build a big "html/flash" form in a flash doc
How I embed/build a big "html/flash" form in a flash doc,
that needs scrolls ? What to use ? Give me and an example
design/code ?Nickels55 wrote:
> Not too difficult.
> First create your button or movieclip with the big
arrow.
> Give your flv playback component an instance name like
vid.
> Create a new layer above the video layer. Drag your
button/movieclip to the
> stage.
> Give the button/movieclip an instance name like
vidcontrol.
>
> Put this actionscript on the frame (not attached to the
button or component):
>
> vidcontrol.onPress = function(){
> vidcontrol._visible= false; //makes arrow
button/movieclip invisible
> vid.play(); //makes video play
> }
>
> Tested code and concept and it works perfect.
Brilliant, works like a charm. Thanks very much, Nickels55!
Is there a way I can add something like your
"vidcontrol._visible=
false;" to the "Mojaveexternalall.swf" skin as well? Right
now if I
click on the big arrow, everything works fine, but if I click
on the
Mojaveexternalall's small Play arrow instead, that new button
layer
doesn't disappear. -
I have a site that is put together with cfmodule templates
for the header and footer, with integration with a content
management system that I built myself. I am trying to embed a
ColdFusion form with type="Flash" on the body of the page but it is
not compiling to Flash. If I remove it and go with a standard
cfform it works fine - but then I had to redo my cfformgroup tags
etc. I designed the form outside of the page -- and it generates
just fine.
Obviously there is some limitation to how and when a cfform
with type="Flash" will generate, when the page has cfmodules or
cfincludes. Is there any guideline I can use to determine when not
to try Flash Forms ? I do not want to spend the time on complex
form, only to discover I have to change it back to a standard
cfform. Any information on when a page can and cannot generate a
flash form would be appreciated - as many sites these days are
getting pretty complex with included content etc. Thank you.Hi Mow,
Yes, you cannot call javascript directly when you use
<cfform format="flash">. All methods (onClick, onBlur etc)
will call ActionScript, not JavaScript anymore.
This is not a perfect example, but you can get the picture.
You can copy and paste the code below into one cfm file.
<cfform>
<script language="javascript1.2">
function popup1() {
window.open ('
http://www.google.com');
</script>
<cfinput type="button" name="btnClick" value="Click"
onclick="popup1()">
</cfform>
<cfform format="flash">
<cfformitem type="script">
function popup2() {
getURL("javascript:window.open ('
http://www.google.com')");
</cfformitem>
<cfinput type="button" name="btnClick" value="Click"
onclick="popup2()">
</cfform>
Hope it helps
Keiko -
Stop and Play All Child MovieClips in Flash with Actionscript 3.0
I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting and also normal flash animation.
Now I want to create pause and play functionality for the entire movie. I was able to create the pause function but when i try to play the movie it behaves very strange.
I was able to develop the pause functionality by refering to the below mentioned links:
http://www.unfocus.com/2009/12/07/stop-all-child-movieclips-in-flash-with-actionscript-3-0 /
http://www.curiousfind.com/blog/174
Any help in this regard is highly appreciated as i am approaching a deadline.
I am pasting the code below:
import flash.display.MovieClip;
import flash.display.DisplayObjectContainer;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.events.Event;
import flash.events.MouseEvent;
stop();
// function to stop all movieclips
function stopAll(content:DisplayObjectContainer):void
if (content is MovieClip)
(content as MovieClip).stop();
if (content.numChildren)
var child:DisplayObjectContainer;
for (var i:int, n:int = content.numChildren; i < n; ++i)
if (content.getChildAt(i) is DisplayObjectContainer)
child = content.getChildAt(i) as DisplayObjectContainer;
if (child.numChildren)
stopAll(child);
else if (child is MovieClip)
(child as MovieClip).stop();
// function to play all movieclips
function playAll(content:DisplayObjectContainer):void
if (content is MovieClip)
var movieClip:MovieClip = content as MovieClip;
if (movieClip.currentFrame < movieClip.totalFrames) // if the main timeline has reached the end, don't play it
movieClip.gotoAndPlay(currentFrame);
if (content.numChildren)
var child:DisplayObjectContainer;
var n:int = content.numChildren;
for (var i:int = 0; i < n; i++)
if (content.getChildAt(i) is DisplayObjectContainer)
child = content.getChildAt(i) as DisplayObjectContainer;
if (child.numChildren)
playAll(child);
else if (child is MovieClip)
var childMovieClip:MovieClip = child as MovieClip;
if (childMovieClip.currentFrame < childMovieClip.totalFrames)
//childMovieClip.play();
childMovieClip.play();
function resetMovieClip(movieClip:MovieClip):MovieClip
var sourceClass:Class = movieClip.constructor;
var resetMovieClip:MovieClip = new sourceClass();
return resetMovieClip;
pauseBtn.addEventListener(MouseEvent.CLICK, onClickStop_1);
function onClickStop_1(evt:MouseEvent):void
MovieClip(root).stopAll(this);
myTimer.stop();
playBtn.addEventListener(MouseEvent.CLICK, onClickPlay_1);
function onClickPlay_1(evt:MouseEvent):void
MovieClip(root).playAll(this);
myTimer.start();
Other code which helps in animating the movie and other functionalities are as pasted below:
stage.addEventListener(Event.RESIZE, mascot);
function mascot():void {
// Defining variables
var mc1:MovieClip = this.mascotAni;
var sw:Number = stage.stageWidth;
var sh:Number = stage.stageHeight;
// resizing movieclip
mc1.width = sw/3;
mc1.height = sh/3;
// positioning mc
mc1.x = (stage.stageWidth/2)-(mc1.width/2);
mc1.y = (stage.stageHeight/2)-(mc1.height/2);
// keeps the mc1 proportional
mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
stage.removeEventListener(Event.RESIZE, mascot);
mascot();
this.mascotAni.y = 100;
function mascotReset():void
// Defining variables
var mc1:MovieClip = this.mascotAni;
stage.removeEventListener(Event.RESIZE, mascot);
mc1.width = 113.45;
mc1.height = 153.85;
mc1.x = (stage.stageWidth/2)-(mc1.width/2);
mc1.y = (stage.stageHeight/2)-(mc1.height/2);
// keeps the mc1 proportional
mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
var interval:int;
var myTimer:Timer;
// function to pause timeline
function pauseClips(secs:int, myClip:MovieClip):void
interval = secs;
myTimer = new Timer(interval*1000,0);
myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
myTimer.start();
function goNextFrm(evt:TimerEvent):void
myTimer.reset();
myClip.nextFrame();
myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
// function to pause timeline on a particular label
function pauseClipsLabel(secs:int, myClip:MovieClip, myLabel:String):void
interval = secs;
myTimer = new Timer(interval*1000,0);
myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
myTimer.start();
function goNextFrm(evt:TimerEvent):void
myClip.gotoAndStop(myLabel);
myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
MovieClip(root).pauseClips(4.5, this);
// function to fade clips
function fadeClips(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number):void
var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, 0.5, true);
fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
function fadeFinish(evt:TweenEvent):void
next_mc.nextFrame();
fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
// function to fade clips with speed
function fadeClipsSpeed(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number, speed:int):void
var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, speed, true);
fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
function fadeFinish(evt:TweenEvent):void
next_mc.nextFrame();
fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
// function to show screen transitions
function screenFx(target_mc:MovieClip, next_mc:MovieClip):void
//var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Iris, direction:Transition.OUT, duration:1.2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
tranFx.addEventListener("allTransitionsOutDone",doneTrans);
function doneTrans(evt:Event):void
next_mc.nextFrame();
tranFx.removeEventListener("allTransitionsOutDone",doneTrans);
// function to show screen transitions inverse
function screenFxInv(target_mc:MovieClip, next_mc:MovieClip):void
var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.SQUARE});
tranFx.addEventListener("allTransitionsInDone",doneTrans);
function doneTrans(evt:Event):void
next_mc.nextFrame();
tranFx.removeEventListener("allTransitionsInDone",doneTrans);
// function to zoom in
function zoomFx(target_mc:MovieClip):void
//var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
//tranFx.addEventListener("allTransitionsInDone",doneTrans);
/*function doneTrans(evt:Event):void
next_mc.nextFrame();
// Blinds Fx
function wipeFx(target_mc:MovieClip):void
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:9});
// Blinds Fx Center
function fadePixelFx(target_mc:MovieClip):void
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeOut});
tranFx.startTransition({type:PixelDissolve, direction:Transition.IN, duration:1, easing:Strong.easeOut, xSections:100, ySections:100});This movie is an animated movie from the start to end. I mean to say that though it stops at certain keyframes in the timeline it stops for only a certain time and then moves on to the next animation sequence.
Its not an application where the user can interact.
On clicking the play button i want the movie to play normally as it was playing before. If the user has not clicked on the pause button it would anyhow play from start to finish.
Is there anyway where i could send in the fla file? -
Flash form error, can't use the same name more than once? need workaround
I've always written my forms to have multiple buttons, one
for updating and one for deleting. so in html I would do this:
<input type=submit name=action value=Update>
<input type=submit name=action value=Delete>
so I'm trying the same thing with flash forms in cold fusion:
<cfinput label="Update" name="action" type="submit"
value="Update">
<cfinput label="Delete" name="action" type="submit"
value="Delete">
but now I get this message:
2 Errors found.
Error /index.cfm:334
id 'action' was already defined on line 333
Error /index.cfm:335
id 'action' was already defined on line 333
Is there a way to make this work or do I have to either
create a special action_delete or a new form? I'd like to keep the
logic the way I like.
Any suggestions?
Thanks,
JohnI was hoping to do logic like this
<cfparam name="action" default="list">
<cfif action equal "list">
<cfelseif action equal "update">
<cfelseif action equal "detail">
<cfelseif action equal "delete">
</cfif>
So I just converted everything to html and things work the
way I like. thanks anyway. The forms don't really buy me anything.
Maybe you are looking for
-
Most of my games from ipod disapeared, how do i bring it back
Hello! Four month ago, bought new IPod Touch 32 gb. When, I first bought it, everything was going very well, enjoying playing. I especially, like the addicted games. I have purchased music, videos, and games. All, the games were downloaded to my PC a
-
hi every on i am using cmdkey to hide userid or other parameters during run report by web.show_document(). i receive an error REP-159: Syntax error on command line any one have idea about it.
-
About:config tabs min size doesn't work
about:config tabs min size doesn't work.
-
Change UUT Serial List to read from a database
Is there a way to change to UUT Serial Entry that pops up when you run a Test UUT? I would like to change it so that the list is populated from a SQL database. Is this possible? Thanks in advance.
-
hi friends, i have load the material in master data , some errors are araised. Data Package 1 : arrived in BW ; Processing : Data records for package 1 selected in PSA - 1 er Data Package 1 ( 19071 Records ) : Errors occurred Update ( 0 new / 0 chang