A Function in Flash 8 help file should be changed

At curveTo Function,there is an example how to create a
circle by ActionScript:
quote:
this.createEmptyMovieClip("circle2_mc", 2);
circle2_mc.lineStyle(0, 0x000000);
drawCircle(circle2_mc, 100, 100, 100);
function drawCircle(mc:MovieClip, x:Number, y:Number,
r:Number):Void {
mc.moveTo(x+r, y);
mc.curveTo(r+x, Math.tan(Math.PI/8)*r+y,
Math.sin(Math.PI/4)*r+x, Math.sin(Math.PI/4)*r+y);
mc.curveTo(Math.tan(Math.PI/8)*r+x, r+y, x, r+y);
mc.curveTo(-Math.tan(Math.PI/8)*r+x, r+y,
-Math.sin(Math.PI/4)*r+x, Math.sin(Math.PI/4)*r+y);
mc.curveTo(-r+x, Math.tan(Math.PI/8)*r+y, -r+x, y);
mc.curveTo(-r+x, -Math.tan(Math.PI/8)*r+y,
-Math.sin(Math.PI/4)*r+x, -Math.sin(Math.PI/4)*r+y);
mc.curveTo(-Math.tan(Math.PI/8)*r+x, -r+y, x, -r+y);
mc.curveTo(Math.tan(Math.PI/8)*r+x, -r+y,
Math.sin(Math.PI/4)*r+x, -Math.sin(Math.PI/4)*r+y);
mc.curveTo(r+x, -Math.tan(Math.PI/8)*r+y, r+x, y);
should be changed:
this.createEmptyMovieClip("circle2_mc", 2);
circle2_mc.lineStyle(0, 0x000000);
drawCircle(circle2_mc, 100, 100, 100);
function drawCircle(mc:MovieClip, x:Number, y:Number,
r:Number):Void {
mc.moveTo(x+r, y);
mc.curveTo(r+x, Math.tan(Math.PI/8)*r+y, Math.
cos(Math.PI/4)*r+x,
Math.sin(Math.PI/4)*r+y);
mc.curveTo(Math.tan(Math.PI/8)*r+x, r+y, x, r+y);
mc.curveTo(-Math.tan(Math.PI/8)*r+x, r+y, -Math.
cos(Math.PI/4)*r+x,
Math.sin(Math.PI/4)*r+y);
mc.curveTo(-r+x, Math.tan(Math.PI/8)*r+y, -r+x, y);
mc.curveTo(-r+x, -Math.tan(Math.PI/8)*r+y, -Math.
cos(Math.PI/4)*r+x,
-Math.sin(Math.PI/4)*r+y);
mc.curveTo(-Math.tan(Math.PI/8)*r+x, -r+y, x, -r+y);
mc.curveTo(Math.tan(Math.PI/8)*r+x, -r+y, Math.
cos(Math.PI/4)*r+x,
-Math.sin(Math.PI/4)*r+y);
mc.curveTo(r+x, -Math.tan(Math.PI/8)*r+y, r+x, y);
Related Photo:
http://www.mzwu.com/pic/20070618/001.gif

nguoirucro,
> I try to create a separate delay function, so that I can
execute
> sequentially:
>
> functionA();
> delay();
> functionB();
This is a popular one. ;)
> I previously user timer so I had to integrate function B
into the
> delay function, which is very inconvenient.
For better or worse, though, that's the way to do it.
> Could anyone please help me to create a separate
function as
> above?
ActionScript doesn't support something like a global delay()
or sleep()
function. In ActionScript 2.0 (or AS1) you can use
setInterval() or
setTimeout() to delay as many functions as you please. In
ActionScript
3.0 -- for which you'd need Flash CS3 -- you can use the
Timer class.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Crash on search function for HTML Help file (.chm) when connected to a Visual C++ application

    Crash on search function for HTML Help file (.chm) when
    connected to a Visual C++ application
    I use the RH_ShowHelp API command to connect a HTML Help file
    (.chm file generated by RoboHelp Word X 5) to my Visual C++
    application. My application is able to call up this HTML help file
    in context-sensitive mode and everything is working great in the
    Contents and Index panels EXCEPT when I click on List Topics (after
    I enter a KEYWORD for search) in the Search panel.
    I got an error that said “Unhandled exception in
    xxxx.exe.(HHCTRL.OCX):0xC00000FD: Stack overflow”
    I am able to execute this .chm file by itself and the search
    function works well in this case. I am using HHActiveX.dll that is
    created on 2/23/04. Is this the correct version?? Any advice what
    to do here??

    Hi agschin and welcome to the RH forums. The hhactivex.dll
    file is not used by the search function so you can rule that our.
    Have you tried recompiling and seeing if the problem still happens?
    You can also start the Bug Hunter feature in RH - View > Output
    View and then select the Bug Hunter button - and see if that throws
    up any clues.

  • Does LR2 Include a "Real" help file?

    I am woriking with the trial versionof LR2, and one of the problems is that there seems to be no resident version of a help file.
    Two problems with this. First, getting bounced to a Q&A forum is a VERY inefficient way to answer my routine questions. Second, my main photoediting computer is not connected routinely to the internet--So in effect I have no help file at all.
    Am I missing something really simple? Is this an issue related only to the trial version, i.e. will I get a real help file when I complete a purchase? Or is this sorry state of affairs something I'll have to live with if I stay with LR2?

    > Well, I can understand you desire to keep you work computer off
    > the internet. However, the fact remains that help is going
    > online like it or not. I seriously doubt that most people
    > would not by a product just because of that. And, as I said
    > it does allow Adobe to keep it updated which to me is just
    > as important. I don't think a help fill that refers to Lightroom
    > 1.0 is very helpful for those using 1.4. Having update to help
    > even via online in my book is a good thing.
    Say what? A help file doesn't change (significantly) during the life of a product. When I download version 1.4.1 I expect a properly documented program to include a proper help file. When I download Version 2.0 it should come with a NEW help file that is good (with hopefully minor corrections) until version 2.1, etc.
    If software is being properly designed, specified, and documented, you should be able to write 99.8% of the help file even before the coding is complete. There is no excuse for shortcutting the help file other than not employing enough technical writers.
    I am used to Microsoft saying "If you don't like it, lump it", but it is a new experience from Adobe.
    Even the online help is pretty lame. No wonder it is "expected" that I have to go to a discussion forum to get real answers. This might be hard for the techno-geeks to understnad, but I don't want to join an online community, I JUST want a photoediting program!

  • Flash CS4 Help File Offline What Happened to Tag Defintions Showing UP?????

    Ok I know I can set the help system to browse offline however
    this doesn't work correctly for any less then ActionScript 3. When
    you highlighted a word in the past such as "null" it use to pull up
    the word and the info in all the books. Now all I see is a web
    browser that doesn't do this for me. I mean who sits there at
    adobe's end and thinks up of ways to slow someone down like this??
    How can you remove the core help quick linking from the program.
    Number 1 not everyone is on AS3 and some of us still have to update
    AS2 code.
    Bigspace ships has an air application that installed AS3 flex
    reference but again useless unless you are on AS3. Has anyone found
    another way to get this old school functionality to work on
    CS4???

    Jay Armstrong here. I’m one of the writers who works on
    the Flash docs.
    Regarding this comment and the many others in other threads
    that have added important details about the issues with the help
    workflow, and in particular the ActionScript help workflow: We hear
    your pain and we are working to implement solutions to these
    issues.
    I understand that this new help workflow is more painful than
    in CS3 when you had the Help right in its own panel in the product.
    Here’s some background:
    The implementation of Help within the Flash Help panel prior
    to CS4 required that *all* the Help files be installed on the local
    drive with the product, resulting in some issues that we tried to
    address in CS4. Including Help on the installation disc caused
    issues including:
    - Required that Help be completed much earlier for
    localization and end-game testing.
    - Resulted in static Help files that had been completed early
    in the development cycle, sometimes not accounting for last minute
    UI or other changes.
    - A long install process.
    - Crowded the installation disc.
    These aren't meant to be full explanations of why we made the
    changes, but just some background as to some of the things we were
    thinking about. Clearly the decisions we came to weren't the right
    ones for many users. We are intent on making things better.
    Moving Help online makes it possible to update Help on an
    ongoing basis, allows users to comment on and embellish the Help,
    and allows us to add links from the help out to new articles,
    tutorials, videos, and code samples on adobe.com and throughout the
    Flash web community. One of you rightly pointed out that the Adobe
    Updater could have been used for some of this, but I believe that
    the updater would have required much more rigorous certification by
    us of any update packages and the update/install process for each.
    We actually are updating the online help files very frequently, so
    this process would have been a major barrier to these updates.
    We’ve had a struggle about how to deliver the Flash
    Help for a long time, as we have a lot of users who have been quite
    vocal about not liking the Help panel consuming space within the
    Flash window as well as users who really want it there so they
    don’t have to leave the IDE.
    Having said all that, I still totally understand what
    you’re saying about losing your code, glance, code, glance,
    code workflow. As you probably know, we’ve been getting a lot
    of feedback about this, along with other issues that online Help
    has caused. We are actively looking at ways of solving these, but
    the Help-in-a-browser issue a difficult problem, as this aspect of
    the Help implementation is baked fairly deep into the CS4 product.
    Since CS4 shipped, we have implemented solutions to some of the
    issues with Help raised by users, such as allowing you to select
    the default destination of F1 (though Flash CS4 always went to the
    actual Help system rather than the Flash Help and Support page,
    which is what these users wanted in other products). I just
    don’t know if there will be a solution in the CS4 time frame
    for viewing Help within Flash itself. As noted in this thread,
    there are a few independent developers working on non-browser help
    viewers, such as Jamie Kosoy, Technical Director at Big Spaceship,
    whose AIR application for the CS4 Language Reference docs is
    available at
    http://labs.bigspaceship.com/2008/12/09/air-app-as3-language-reference/.
    We knew that people use the AS3 Language Reference a lot, so
    we did install a local, abridged version of that with the product.
    You only see it when not connected to the internet or if you
    disable online connections as described earlier in this thread, and
    it still opens in a web browser and still has the same navigation
    interface as the online version. You can also download a local copy
    of the AS Reference, which does get updated periodically and can be
    viewed locally regardless of the state of your internet connection,
    but it also is all html and opens in a web browser. As previously
    noted, the download is available here:
    http://help.adobe.com/support/documentation/en/flash/10/ActionScript3LangRef.zip.
    I know this thread started off with AS2 concerns, and we hear
    those too.
    In some of the other threads out there about the Help, people
    have raised issues about the contents navigation in the CS4 version
    of the ASLR as well. We are listening to all these issues and
    actively working on solutions that will address these questions.
    We’d really like to give you better control over whether you
    see online or local content, whether you see it inside the IDE or
    in a separate application, etc.
    I know that you are all really frustrated at some of these
    help changes, and so I want to say how much we appreciate your
    feedback. I’m sorry that my reply doesn’t give you the
    magic bullet that you are understandably hoping for.
    -Jay

  • Flash CS3 doesn't find Help file

    If I'm looking at the actionscript in a .FLA file, and I
    press F1 with the mouse cursor over a word like 'trace', it takes
    me directly to the help page on the trace() function. Perfect.
    However, if I am looking at code in an external .as file and
    do the same thing, it doesn't work. I get a popup:
    Cannot find
    ...:/ProgramData/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLang...
    Make sure the path or Internet address is correct.
    How can I make this work?

    quote:
    Originally posted by:
    BWolfe [ADOBE]
    Hmmm. Can't repro on my side in XP. What OS are you running?
    I actually have 2 installs, one is on XP and one is on Vista.
    They both do the same thing.
    Is there a way to set the path to the help file that is
    accessed when the user presses F1? That would probably solve the
    problem.

  • Batch file rename.  I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function.  Any workarounds that would help me avoid manually changing each name?

    OS X Yosemite 10.10.2, Macbook Air,
    Finder batch file rename function. I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function and it won't work.  I took out the slashes and worked fine.  Any workarounds that would help me avoid manually changing each name?  I should point out that I want to leave most of the name intact just change the first word in each name.  Also the files I'm working with are in PDF format.

    That's a comment in the file. It has no effect at all.

  • Export Flash 8 file - strange conversion behaviour. Please Help.

    Equipment:
    I have CreativeSuite CS2 and Macromedia Studio 8 loaded on Tiger 10.4.11 on two computers; an iMac Intel Core Duo 2.8GHz which is the main tool, and an upgraded G4 450 DP which uses a Dual G4 Sonnet Encore 1.8Ghz (7447A chips) as back-up. Both computers have use Tiger 10.4.11 OS.
    Problem 1:
    A .swf Flash file is exported and saved on the iMac without any problems. However when the same file is transferred to the G4 as back-up, the file undergoes a change wherebye the icon looks like a 35mm filmstrip and sports the Illustrator CS2 yellow flower. Double clicking the .swf file opens Illustrator CS2 which, unsurprisingly, tells me it cannot open the unknown file type (.swf). Flash 9 Reader is loaded as is Flash 8 application. Flash fails to open the converted file on the G4!
    Problem 2:
    As a work-around, I open the movie artwork file on the iMac, export the movie as a QuickTime.mov. A dialogue box opens telling me the installed version of QuickTime does not support the installed version of Flash and I should open Publish Settings in Flash and save as Flash 5 file. I do this. I export the file and again am presented with the same message! Every Quick Time export attempt has failed either on the Intel Core Duo or on the G4.
    Two Questions:
    1. Why is the original .swf filed changed to an illustrator file on the G4 and how can I retain it as the Flash file?
    2. What is the problem that prevents ProQuickTime version 7.6.4 (518.35), recognising the Flash 5 export conversion process?
    Any help would be very much appreciated.

    Praise be to Lord above! I have fixed it! And because I'm a nice guy and wouldn't want anyone else to go through the same frustration - I'm going to tell you how...
    It was a problem with the registry that was causing the issue and funny old thing - uniblue's 'Registry Booster' solved the issue. It's ironic that software from the same company was used to solve the problem I know...I had almost decided to uninstall all uniblue products, but decided to run one last scan with registry booster to see what happened....So just to sum up, this is how to solve the above issue:
    1. Re-create/rebuild your library as detailed in this article: http://support.apple.com/kb/HT1451 or replace itunes folder with backup. Delete any corrupted/damaged files.
    This alone should solve many issues but if you keep getting repeated corruption problems like I did then the problem seems to be within the REGISTRY.
    2. To solve the registry error - I ran uniblue's 'Registry Booster' programme. I have no idea how to fix the registry manually. Sorry.
    Message was edited by: andy525

  • Flash 9 Beta Help Files (F1)

    I've installed Flash 9 beta and see no help files at all in
    Flash Help (F1) section.
    Is it OK, or that's a bug?
    Is it possible to insert into F1 window a standart Flash 8
    Help "books" ("How to use help", "Getting started with Flash",
    "Using components" ans so on) and also a new AS 3.0 help section?
    Thanks!

    The Flash 9 BETA? Where/how did you obtain this? If you are
    truly a BETA tester then you would be
    asking on the BETA listserv - not the public forum. You must
    have obtained this BETA illegally and
    have now announced it publicly on Adobe's forum - I would not
    have done such a thing to be honest -
    it is illegal for you to have this copy of the flash tool if
    you were not legally supposed to be
    testing it.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    ANDR_ew wrote:
    > I've installed Flash 9 beta and see no help files at all
    in Flash Help (F1)
    > section.
    >
    > Is it OK, or that's a bug?
    >
    > Is it possible to insert into F1 window a standart Flash
    8 Help "books" ("How
    > to use help", "Getting started with Flash", "Using
    components" ans so on) and
    > also a new AS 3.0 help section?
    >
    > Thanks!
    >

  • Flash 9 Alpha ate my help files

    Just installed the Flash 9 taster (as it were) to explore the
    delights of as3 - boomshanka - no helpfiles, have not nosed around
    yet to see what else is ary
    Anyone else had good or bad experiences with this
    update??

    pwiop,
    > Just installed the Flash 9 taster (as it were) to
    explore
    > the delights of as3 - boomshanka - no helpfiles, have
    > not nosed around yet to see what else is ary
    Your spelling of awry is ary. But everything else looks
    okay. ;)
    > Anyone else had good or bad experiences with this
    > update??
    Welllll, it's not so much an update as a beta. That's an
    important
    distinction! Having said that, though, I haven't had any
    problems. My Help
    files are all still accounted for -- in Flash 8, that is. Are
    you saying
    the Flash 9 beta ate your Flash 8 documentation? Or is it
    just that Flash 9
    seems to have no Help? If that's it, then we're in the same
    boat. Flash 9
    doesn't have help files (those are available online).
    http://livedocs.macromedia.com/labs/as3preview/langref/
    You didn't *uninstall* 8, did you?
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Why is Flash Help/Search function so worthless?

    Is it just me or is the Flash help function the worst help
    function ever?
    In other software you get the results you were looking for in
    seconds
    in Flash everytime you do a search you get like a hundred
    different
    search results and usually none cover the topic you were
    looking for.
    Its often easier to search on google than use the internal
    help function
    Why is it so hard to only display relevant results?
    Could anyone teach me how to use the search function cause I
    dont want
    to read 1000 pages just to find out the difference between
    align and distribute
    options etc.
    Thx /AquaStealth

    It seems this article was written just for you! :)
    http://www.communitymx.com/content/article.cfm?cid=01B54

  • Hi, I have on my credit card monthly payments of fertilizer, and when I want to reveal to LR I get a reading indicating I should renew the subscription in order to use this function, alguine can help me ?? thx

    Hi, I have on my credit card monthly payments of fertilizer, and when I want to reveal to LR I get a reading indicating I should renew the subscription in order to use this function, alguine can help me ?? thx

    Thanks John, but this way is you get to this forum marinate options were
    not available
    2015-01-12 22:21 GMT-03:00 John T Smith <[email protected]>:
        Hi, I have on my credit card monthly payments of fertilizer, and when
    I want to reveal to LR I get a reading indicating I should renew the
    subscription in order to use this function, alguine can help me ?? thx
    created by John T Smith <https://forums.adobe.com/people/JohnTSmith> in *Adobe
    Creative Cloud* - View the full discussion
    <https://forums.adobe.com/message/7089860#7089860>

  • CF 10 CFML function, tag definitions and help files in DW cs6

    I'm unable to view the new CF 10 CFML function, tag definitions and help files in DW CS6 after using the ColdFusion10_Tags_for_DW.mxp update file. I see that the 'CF10 Extensions' are enabled in Adobe Extension Manager CS6.
    When I pull up the Reference tab Book: 'Adobe CF Function Reference', I don't see canonicalize in the drop down of 'CFFunctions'.
    Is there an issue with updating the extensions within DW CS6?
    Any help would be great.
    Garth

    I am afraid http://forums.adobe.com/community/coldfusion is more suitable for this question.

  • CS3 Flash no help files installed

    my environment, is Windows
    I have installed the complete CS3 production suite, but when I run Flash I can not find the HELP FILES, Flash works good but It can not find the Help Files.
    How to reinstall or add the missing HELP files in Flash? without having to go thru the process of installing the complete CS3.
    THanks in Advance,

    What happens if you press F1? Do the help files appear?

  • I need help every time my iTunes library updates i get this error messege: The iTunes.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder. but the file should be there.

    Every time I have to upgrade iTunes it gives me this messege:'The default location for this file is in the "iTunes" folder in the "Music" folder.' the file should be there but I don't understand why it does this every time Apple upgrades the Itunes library. Its on the computer somewhere but it only affects this login on my computer (meaning on this Windows Account). Why does my iTunes do this? Then I have to spend hours placing all my libraries back together and all my music back into the library. Which usually takes me a few days to sort all out. What is wrong with my iTunes? The iTunes folder is a folder in my Music folder where I store the iTunes music/files/libraries at on my computer so I can have all of the iTunes files in one place on my computer.

    I have a Windows 7 operating system my computer runs from.

  • After a recent AIR update, all of my Adobe help files are surrounded in black and no longer function

    Cannot see the the words typed into the search bar and when I go to preferences the help files permanently freeze up. Any clue what's happening here? This is happening at home and at work.

    I had to call tech support on this issue, unable to find answers elsewhere, and they had me uninstall comunity help and the AIR runtime and then reinstall Community Help which automatically installed AIR in the process. That fixed the problem across the board.

Maybe you are looking for

  • Connecting sony camcorder to macbook

    how do i connect my sony handycam HDR-HC5 to my macbook? i purchased a firewire cable, and thought i plugged it in correctly, but nothing is happening. thanks

  • Import java.util.Formatter - cannot resolve symbol

    I use j2sdk1.4.2_04 when I try to compile my program using Formatter, it response error "cannot resolve symbol" Pls help!

  • Essbase - MaxL import dimensions

    Hi everybody, I have to update a dimension on my Essbase ASO application (only metadata). It is an incremental load dimension starting from a txt file containing all the elements, either those that currently are in the dimension. I'm using the MaxL s

  • Selling photos online

    Is it possible to live just selling photos online? Do you have any experience? I would like to learn your web site advises for online photo selling ...

  • Surveys:  Unable to delete surveys

    I'm using the appropriate user and have permissions for deleting surveys. I delete the surveys, then if I refresh the repository or logout and log back in, they reappear. Does anyone have any ideas or suggestions?