Help with Flash CS3 Particle Effect Tutorial Code
I did the tutorial from http://www.schoolofflash.com/2008/03/flash-cs3-particle-effect/. I used a star to replace the circle. Here's my code:
var starsArray:Array = new Array();
var maxStarss:Number = 8;
function addStars(e:Event)
var stars:Stars = new Stars();
stars.x = stage.stageWidth/2;
stars.y = stage.stageHeight/2;
stars.alpha = Math.random() * .8 + .2;
stars.scaleX = stars.scaleY = Math.random() * .8 + .2;
stars.xMovement = Math.random() * 10 - 5;
stars.yMovement = Math.random() * 10 - 5;
starsArray.push(stars);
addChild(stars);
stars.cacheAsBitmap = true;
if (starsArray.length >= maxStarss)
removeChild(starsArray.shift());
stars.addEventListener(Event.ENTER_FRAME,moveStars);
function moveStars(e:Event)
e.currentTarget.x += e.currentTarget.xMovement;
e.currentTarget.y += e.currentTarget.yMovement;
var myTimer:Timer = new Timer(50);
myTimer.addEventListener(TimerEvent.TIMER, addStars);
myTimer.start();
This time, I'm trying to make the stars shrink and transparent as they move away from the point. So I coded it like this:
import flash.events.Event;
var starsArray:Array = new Array();
var maxStarss:Number = 8;
function addStars(e:Event)
var stars:Stars = new Stars();
stars.x = stage.stageWidth/2;
stars.y = stage.stageHeight/2;
stars.alpha = Math.random() * .8 + .2;
stars.scaleX = stars.scaleY = Math.random() * .8 + .2;
stars.xMovement = Math.random() * 10 - 5;
stars.yMovement = Math.random() * 10 - 5;
starsArray.push(stars);
addChild(stars);
stars.cacheAsBitmap = true;
if (starsArray.length >= maxStarss)
removeChild(starsArray.shift());
stars.addEventListener(Event.ENTER_FRAME,moveStars);
stars.addEventListener(Event.ENTER_FRAME,animeStars);
function animeStars(e:Event)
trace(this.starsArray);
this.scaleX-=0.01;
this.scaleY-=0.01;
this.alpha-=0.01;
if (this.alpha<=0) // remove this object from stage
function moveStars(e:Event)
e.currentTarget.x += e.currentTarget.xMovement;
e.currentTarget.y += e.currentTarget.yMovement;
var myTimer:Timer = new Timer(50);
myTimer.addEventListener(TimerEvent.TIMER, addStars, animeStars);
myTimer.start();
I couldn't make it work. All I got was an error message saying "
1084: Syntax error: expecting identifier before rightbrace.
Help?
It is because of this line of code at the end
myTimer.addEventListener(TimerEvent.TIMER, addStars, animeStars);
if you read the documentation on addeventlistener it looks for these type of arguments to be passed
addEventListener(type:String, listener:Function, useCapture:Boolean);
animeStars is not a boolean it is a function. Since you already have animeStars in your addStars function you can exclude it in the last event listerer. try this:
myTimer.addEventListener(TimerEvent.TIMER, addStars);
Similar Messages
-
Comunication and events: Flex Builder 2 with Flash CS3
Hey hello...well, my question is: how can i comunicate Flex
Builder 2 with Flash CS3?
this is my code on Flex Builder 2:
<mx:Script>
<![CDATA[
import mx.controls.*;
import mx.events.*;
public function CargaCompleta(e:Event):void
try
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
catch(er:Error) { Alert.show(er.message,"Error"); }
public function uno(e:Event):void
try
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Finaliza"]);
s1.source = null;
s1.source = "recursos/reactivos/208M-1R.swf";
catch(er:Error) { Alert.show(er.message,"Error"); }
]]>
</mx:Script>
<mx:SWFLoader id="s1" width="278" height="251"
complete="CargaCompleta(event)"
source="recursos/interactivos/208M-1I.swf">
</mx:SWFLoader>
and when it change from one file to another, on the event
"Complete" for the SWFLodar, an error happend
TypeError: Error #1009: No se puede acceder a una propiedad o
a un método de una referencia a un objeto nulo.
at 208M_fla::MainTimeline/frame1()
Hope somebody can help me...for your time thanks..."Jorge EdOardo" <[email protected]> wrote in
message
news:gfcfcr$9s2$[email protected]..
> Hey hello...well, my question is: how can i comunicate
Flex Builder 2 with
> Flash CS3?
>
> this is my code on Flex Builder 2:
> <mx:Script>
> <![CDATA[
> import mx.controls.*;
> import mx.events.*;
> public function CargaCompleta(e:Event):void
> {
> try
> {
>
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> public function uno(e:Event):void
> {
> try
> {
>
>
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Fin
> aliza"]);
> s1.source = null;
> s1.source = "recursos/reactivos/208M-1R.swf";
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> ]]>
> </mx:Script>
> <mx:SWFLoader id="s1" width="278" height="251"
> complete="CargaCompleta(event)"
> source="recursos/interactivos/208M-1I.swf">
> </mx:SWFLoader>
>
> and when it change from one file to another, on the
event "Complete" for
> the
> SWFLodar, an error happend
>
> TypeError: Error #1009: No se puede acceder a una
propiedad o a un m?todo
> de
> una referencia a un objeto nulo.
> at 208M_fla::MainTimeline/frame1()
>
> Hope somebody can help me...for your time thanks...
http://weblogs.macromedia.com/pent/archives/2007/04/using_actionscr_1.html -
Adobe AIR updater applicationupdater_ui.swc with Flash CS3 not working
Hello AIR geeks,
I have a project which is running in Flash CS3 with AIR.
I would like to incorporate the functionalities which are available in applicationupdater_ui.swc
Can any one please help me to make it available for flash cs3
got a very nice code sinppet also
http://www.fmajakovskij.info/air-updater-made-easy-with-scheduling/
but Its not working with Flash CS3
Thanks a lot
Regards,
SrinivasUse the Flex/Flash Component Kit to wrap your symbols for use in Flex
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Help with flash video buffering
I need help with flash video buffering. I've created a
buffering graphic to show up when the clip is loading. The problem
that I'm having is that when the video finishs playing, the buffer
is empty and the graphic pops back on. The following is the code
that I'm using to call and buffer the video. Any help would be
great!
stop();
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(10);
ns.onStatus = function(info){
if(info.code == "NetStream.Buffer.Full"){
bufferClip._visible = false;
if(info.code == "NetStream.Buffer.Empty"){
bufferClip._visible = true;
if (info.code == "NetStream.Stop") {
bufferClip._visible = false;
theVideo.attachVideo (ns);
ns.play("my_clip.flv");
rewindButton.onRelease= function(){
ns.seek(0);
playButton.onRelease= function(){
ns.pause();
}Again thank you for your help in advance...
I put the script folder into the root. As far as the .flv
file it is showing up as being "put" to my web server. when i
checked the root folder it is there. again i am having the same
problem.. the local view works but when i check it on the web it
just shows that there should be a flash video there but it does not
show up.
i created a new root for this test page the new link is..
http://www.wfwa.org/TESTindexfolder/TESTindex.asp
here are the files that are showing up in it...
flashprojectwebvid.fla
flashprojectwebvid.html
flashprojectwebvid.swf
PBSpromo.flv
SteelExternalPlaySeekMute.swf
TESTindex.asp
and the Scripts folder
thanks again for any help.. -
Need help with Flash CS4 buttons/can't get buttons to control anything
Hello,
I need help with Flash CS4. I am making a banner with an animation (Image change into movie clip "3D Spiral") and added buttons but I cannot get the buttons to control the animation. Please help I am frustrated! If someone could help I would be most appreciated.Thank you.
Regards,
Michael J. Sheehan allelois
Date: Mon, 17 Aug 2009 18:48:09 -0600
From: [email protected]
To: [email protected]
Subject: Need help with Flash CS4 buttons/can't get buttons to control anything
Hi there
I'm not sure how you wound up where you did. But you wound up in the Adobe Captivate forums. Please stand by as I move your thread to the Flash forums.
Cheers... Rick
> -
Still need help with flash player download
I'm still having a problem with the flash player, please read my last post below:
"I've tried everything here & still can't download the flash player. Anytime I try to download it asks me to install ADM add-on and then when I click on that, my computer freezes. How do I enable this add-on without my computer freezing? Can anyone help pls?"Thanks a lot for your help, it is truly appreciated.
Date: Thu, 29 Oct 2009 18:52:38 -0600
From: [email protected]
To: [email protected]
Subject: Still need help with flash player download
You can set Flash Player to check for updates on the Global Settings Manager panel:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l
> -
Problem with compression with flash cs3
our web developper says that she was unable to compress image
with flash cs3 any idea why and what i can do for her ?
ThanksMark,
> I have set my publish settings to Flash Player 9.0 and
Actionscript
> 3.0, but keep getting an error as follows:
>
> "WARNING: The component 'FLVPlayback' requires
ActionScript 2.0."
Gotcha. You must have started the document in AS2, then
changed the
publish settings. Each version of the language has its own
version of the
FLVPlayback Component (written in the relevant language).
Start over and
compare two compleley new FLA documents: make one for AS3 and
one for AS2.
Open the Components panel and note the differences between
the two. There
are a different set of Components depending on the language
chosen for the
document. Drag the FLVPlayback Component from the Components
panel in an
AS3 document, and you'll have the AS3 version.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design." -
Flash CS3 mouseover effect..HELP
Hi all, Im new to Flash and was hoping someone could spare a
few mins to help me out.
I'd like to create a short flash animation and then bring it
into dreamweaver. When the webpage loads I'd like the flash
animation to be paused on frame 1 of the movie, then when the user
rolls over the flash movie, it will start to play and when the user
rolls off of the movie, it will revert to the first frame again.
Does this make sense to anyone? is it possible? If someone could
let me know a step by step guide that'll be greeeaaatttttt! Im
using Flash CS3 on a mac. Thanks v muchmAc Vs WiNdOwS wrote:
> I haven't done flash in a long time and i'm not sure how
to search for this
> answer because I don't know the right keywords. I need
to create an effect for
> my text that makes a little light go across it. Such as
in video games and
> banners that you see. A little light goes across from
left to right on the
> text.
>
> How can I create this for my text or image? I would like
it on images too.
> Please explain in steps. Thank You.
>
This is normally done using Gradient and mask. You will need
3 layers for it.
First top layer will be the mask. Type the text you want to
use and when you happy
with the size and all, copy it, CTRL C.
Second layer keep blank for now.
Go to 3rd, bottom layer, paste the text using paste in place
CTRL ALT V, so it's
erectly position in a place where the mask text is.
Pretty much it when comes to text, the last part is to make
the shine effect.
Go to the second layer, draw some gradient. Make the gradient
out of 3 colors, so
the colors in the COLOR pallet appear as gray on the left,
gray in the middle and
gray on the right. Set the left and the right to Alpha 0%
while keep the middle
fully 100% gray. We want the edges of that gradient soft to
simulate the light.
Convert that gradient to movie clip or graphic and motion
tween it from one side
to another.
And this is what you end up with:
http://flashfugitive.com/stuff/shine.swf
You need to play around with the gradient to find one that
suits your needs.
When comes to image, you simply draw shapes on the mask layer
through which you
want the shine /gradient to show up.
Best Regards
Urami
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Color management issues with Flash CS3, please help?
Hello everyone.
I am having issues with color from a Jpeg image produced in Photoshop CS4
after importing onto the stage in Flash CS3. The color in Flash changes the image to a lighter less saturated state. Yuk.
Here is a link to a screen capture to show you what's happening (for a bigger view):
http://www.rudytorres.com/color/weirdcolor.png
As you can see the front image is the Photoshop image showing the sRGB color profile embedded but Flash (behind) changes that color.
This client is quite picky and she will notice this difference.
If any one can help, please.
- Rudy
P.S. It's a button somewhere, Right?Dougfly,
Only an hour wasted? Lucky you. Color is an incredibly complex subject. First, forget matching anything to the small LCD on the back of your camera. That's there as a basic guide and is affected by the internal jpg algorithm of your camera.
2nd, you're not really takeing a color photo with your digital camera, but three separate B&W images in a mosaic pattern, exposed thru separate red, green and blue filters. Actual color doesn't happen until that matrix is demosaiced in either your raw converter, or the in-camera processor (which relies heavily on camera settings, saturation, contrast, mode, etc.)
Having said the above, you can still get very good, predictable results in your workflow. I have a few color management articles on my website that you might find very helpful. Check out the Introduction to Color Management and Monitor and Printer Profiling. In my opinion, a monitor calibration device is the minimum entry fee if you want decent color.
http://www.dinagraphics.com/color_management.php
Lou -
Help with Flash code in web page
I have a Flash file in the masthead of my web site that shows
a slideshow. I want to code the page so that if the viewer doesn't
have Flashplayer, an alternative jpeg comes up in the masthead
instead of the file with the flash slideshow. I'm afraid I'm new to
most of this.... I'd very much appreciate help with the
programming.
Thank you!
Here's the file:
http://www.ewgaphilly.com/cs3index.html
(the slide show isn't working at the moment -- a server issue). The
alternate file I want to put in is:
http://www.ewgaphilly.com/alternate_mast.jpgI'm sorry to be so dull on this, but I'd appreciate if you
could tell me specifically which is the embed code (the codes in
the <head>? What to I change here? I really appreciate your
help.
Here is what I get when I publish the movie and the open the
html file:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>main_slideshow_philly</title>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 7;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -->
</script>
<script language="VBScript" type="text/vbscript">
<!-- // Visual basic helper required to detect Flash
Player ActiveX control version information
Function VBGetSwfVer(i)
on error resume next
Dim swControl, swVersion
swVersion = 0
set swControl =
CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
if (IsObject(swControl)) then
swVersion = swControl.GetVariable("$version")
end if
VBGetSwfVer = swVersion
End Function
// -->
</script>
<script language="JavaScript1.1"
type="text/javascript">
<!-- // Detect Client Browser type
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ?
true : false;
var isWin =
(navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true :
false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ?
true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn
version information
function JSGetSwfVer(i){
// NS/Opera version >= 3 check for Flash plugin in plugin
array
if (navigator.plugins != null &&
navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] ||
navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? "
2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" +
swVer2].description;
descArray = flashDescription.split(" ");
tempArrayMajor = descArray[2].split(".");
versionMajor = tempArrayMajor[0];
versionMinor = tempArrayMajor[1];
if ( descArray[3] != "" ) {
tempArrayMinor = descArray[3].split("r");
} else {
tempArrayMinor = descArray[4].split("r");
versionRevision = tempArrayMinor[1] > 0 ?
tempArrayMinor[1] : 0;
flashVer = versionMajor + "." + versionMinor + "." +
versionRevision;
} else {
flashVer = -1;
// MSN/WebTV 2.6 supports Flash 4
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1)
flashVer = 4;
// WebTV 2.5 supports Flash 3
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1)
flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv")
!= -1) flashVer = 2;
// Can't detect in all other cases
else {
flashVer = -1;
return flashVer;
// If called with no parameters this function returns a
floating point value
// which should be the version of the Flash Player or 0.0
// ex: Flash Player 7r14 returns 7.14
// If called with reqMajorVer, reqMinorVer, reqRevision
returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer,
reqRevision)
reqVer = parseFloat(reqMajorVer + "." + reqRevision);
// loop backwards through the versions until we find the
newest version
for (i=25;i>0;i--) {
if (isIE && isWin && !isOpera) {
versionStr = VBGetSwfVer(i);
} else {
versionStr = JSGetSwfVer(i);
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
tempArray = versionStr.split(" ");
tempString = tempArray[1];
versionArray = tempString .split(",");
} else {
versionArray = versionStr.split(".");
versionMajor = versionArray[0];
versionMinor = versionArray[1];
versionRevision = versionArray[2];
versionString = versionMajor + "." + versionRevision; //
7.0r24 == 7.24
versionNum = parseFloat(versionString);
// is the major.revision >= requested major.revision AND
the minor version >= requested minor
if ( (versionMajor > reqMajorVer) && (versionNum
>= reqVer) ) {
return true;
} else {
return ((versionNum >= reqVer && versionMinor
>= reqMinorVer) ? true : false );
return (reqVer ? false : 0.0);
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable
version
var oeTags = '<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="780" height="444"'
+ 'codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="main_slideshow_philly.swf"
/><param name="quality" value="high" /><param
name="bgcolor" value="#ffffff" />'
+ '<embed src="main_slideshow_philly.swf" quality="high"
bgcolor="#ffffff" '
+ 'width="780" height="444" name="main_slideshow_philly"
align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="
http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'alternate.giv';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not
support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content
requires the Macromedia Flash Player.
<a href="
http://www.macromedia.com/go/getflash/">Get
Flash</a>
</noscript>
</body>
</html>
Here is my existing code in my home page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>EWGA Greater Philadelphia Executive Women's Golf
Association</title>
<style type="text/css">
<!--
@import url("/ewgacss.css");
-->
</style>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
@import url("p7tbm/p7tbm_center_08.css");
-->
</style>
<script type="text/javascript"
src="p7tbm/p7tbmenu.js"></script>
</head>
some other stuff goes in here!!
then...
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','780','height','444','title','EWGA
Greater
Philadelphia','src','/main_slideshow_philly','quality','high','pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','/main_slideshow_philly'
); //end AC code
</script>
<noscript>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
width="780" height="444" title="EWGA Greater Philadelphia">
<param name="movie" value="/main_slideshow_philly.swf"
/>
<param name="quality" value="high" />
<embed src="/main_slideshow_philly.swf" quality="high"
pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="780"
height="444"></embed>
</object>
</noscript> -
Hi guys, I'm new in the forum and I don't know if what I need
has already been published.
I'm using Flash CS3, I'm learning how create text effects and
animations. My problem is that when I export movie and save this as
.SWF, it save it succesfully but my parters can't see the movie
even having Flash Player. If they open it with Internet Explorer
they can see the movie.
There's a way they can see the flash movie without set up
Internet Explorer to open it?
Thanks.>I followed directions located in Adobe Captivate 3's help
menu about
>exporting
> to Flash CS3. I have tried both exporting from Captivate
and Importing
> from
> Flash to move my captivate project into flash. About 5
times, an error
> saying
> "Unknown error" had occurred popped up. I closed Flash
and Captivate a
> couple
> times and then it worked. Several new errors popped up
during the
> "successful" import---worse yet, the captivate project
imported terribly!
> Pieces of the demonstration were all over the stage.
>
> Long story short, something is wrong. Is this a Vista
thing? Does anyone
> know about any of this?
>
Doesn't seem to be specific to Vista.
I've had similar issues trying to export to Flash. But
sometimes it seems to
work beautifully (although always with an error message about
"unable to
find Flash.exe" or similar), aside from in issue with the
backgrounds all
importing to Flash at the wrong size. This is easily worked
around, and has
been discussed here a number of times.
My first suggestion to you is to try rebooting your machine
before trying to
export again.
Steve
http://twitter.com/Stevehoward999
Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu -
Basic help with Flash v10 (creating a simple calculator)
I have Adobe CS4 Pro with Flash v10. I'm trying to create a simple, basic calculator that adds 2 numbers. I followed the tutorial at http://layersmagazine.com/flash-design-calculator.html. At first, I was unable to assign variables to any objects, but got that cleared up by selecting ActionScript 2.0 (was set to 3.0). At this point, the calculator accepts the two numbers, but when I select the "add" button with the associated code as shown in the tutorial, nothing happens. Does anyone have a suggestion as to what I might be doing wrong? Thanks.
This is all the code there is:
on(release) {
total = Number(firstnumber)+Number(secondnumber);
There's really not an error--I just don't get any output. I've created two 'Input Text' boxes, and on the properties tab for each I have defined the "Variable:" field as either 'Number(firstnumber)' or 'Number(secondnumber)'. I've also created a 'Dynamic Text' box and defined the "Variable:" field as 'Number(total)'.
Note: the example I was following did not specify to include the 'Number()' function in the "Variable:" fields. However, when I don't, and I run 'Test Movie', the 3 boxes are automatically filled with "_level0.firstnumber", "_level0.secondnumber" and "_level0.total". When I type 2 numbers in to the 2 'Input Text' boxes, and then select my button that has the above code associated with it, I get "NaN" in the output ('Dynamic Text') box.
Thanks again for your help! -
I created a banner for my groups web site with some simple
text effects. It came out fine but I was assigned other work and
was not able to finish the site for almost a yr. When I got back to
it and tried to change a few words of the text it wouldn't work it
seems all the effects I had used no longer would work. I would get
error saying that I couldn't do it but the file I was modifying
already "was" doing it, weird. I have no clue what changed. I
managed to get it looking right in flash, I'm using FLASH MX 2004
ver 7.2, but when I preview it in a browser it comes out all jerky
and none of the effects work. Since this is an internat site I
can't give anyone the address bcs you wouldn't be able to view it
but I would be willing to send anyone the file I am talking about
so you could see it for yourself. I would appreciate any help as I
am at a dead end..
Mike
United Space Allianceanyone ??
-
Do new FLASH CS3 support s AS2 codes ?
Hi folks . . .
When we use AS3 development tools , will old flash codes (
AS1 and AS2 ) work correctly after this ?
And can we use AS2 codes by flash cs3 tools ?
Do ADOBE support AS1 and AS2 codes for a long time ??Yes. Flash CS3 is pretty much Flash 8 with new features and
support for what
it supported before (AS1 and AS2) and more (now additionally
AS3)
"firatadobeturk" <[email protected]> wrote
in message
news:f2l4f9$9i3$[email protected]..
> Hi folks . . .
> When we use AS3 development tools , Do old flash codes (
AS1 and AS2 )
> will work correctly after this ?
> For a long time , does ADOBE supports , AS1 and AS2
codes?
> -
Need help with flash templates in Mac...
Hello, I did some searches in the forum but found nothing.
I have a problem. I have a Mac and and using Dreamweaver CS5.5.
Recently I download some templates with flash from Hostgator.
The message I get is: "This page contains some SWF objects that may not work properly in the most recent versions of Internet Explorer. Dreamweaver cannot convert them to the new SWF markups. Please delete each of them a insert again"
Could you help me please?
Thanks,Hello,
The support from HostGator.com told me this:
After reading about Adobe Dreamweaver and using the library SWF objects. This seems to be a fairly particular error with Adobe Dreamweaver CS4.
I have read three articles:
http://forums.adobe.com/message/2958378?tstart=0
http://www.dreamweaverclub.com/forum/showthread.php?t=33323
http://www.vbforums.com/showthread.php?t=579625
They all concur this error is completely ignorable in some way. If you include the object, and just ignore the message, your content will still upload to your site. This has to do with how adobe has changed the embedding of objects since previous versions.
However, what I can concur from all of this is that you need to simply just re-add the file to your site/library, or just ignore the error message and the embed code should work just fine.
I test a hostgator template with flash on their server, and works fine.
I want to know your opinion. T hanks for your help...
Maybe you are looking for
-
Installing Oracle 11g ODAC 11.1.0.5.10 Beta
I've installed Oracle 11g ODAC 11.1.0.5.10 Beta. It came back with installation successful. How do I get the Oracle Database Server(Oracle ODP.NET) to appear as one of my datasource choices? I added the Oracle.DataAccess.dll (v. 2.111.5.10) to my bin
-
How to set mac mini to virtual router
how to set mac mini to virtual router.
-
What device is my node connected to (CLI)?
I am currently engaged in trying to locate what device my current node is connected to and what interface of that device I am connected to I.E. -I know how to telnet (using putty) -I can CMD prompt and ipconfig /all to get my devices information (and
-
VPN session in cisco ASA reflect a different source public ip
Hi all, I tested and manage to establish vpn on my cisco asa 5520 successfully. On my syslog i can see "anyconnect parent session started" upon my vpn establishment and "webvpn session terminated" upon terminating my vpn session where the correct pub
-
Portal Error after Precalcualting workbook
Hi Guys, Hoping someone may be able to provide some direction with this. We currently have a workbook setup via Portal Bex Broadcaster, the workbook is run through a precal server. The workbook gets calulated correctly, but an error is displayed even