Ellipse as Path (With Expressions)

Hi,
I'm having a little trouble figuring out how to do something. I have an ellipse and a circle. I want the ellipse's height to change size vertically and the circle to follow the path of the ellipse. And I need both of these functions to happen from sliders using expressions (so, one slider to control the ellipse's height and another to decide where the circle is on the ellipse).
Getting the ellipse to change height is easy enough. But I can't figure out how to get the circle to recognize the path of the ellipse. Is there any way to do this? Thanks,
--Saib Babcock

I'm not exactly clear what you're trying to accomplish but if you have add three Expression Sliders to a layer, name them xSlider, ySlider and speedSlider you can add this expression to the position property to make the layer orbit in an elliptical path around it's original position. in 2D space.
dx = effect("xSlider")("Slider");
dy = effect("ySlider")("Slider");
orbitSpeed = effect("speedSlider")("Slider") * time;
value + [Math.sin(orbitSpeed)*dx, Math.cos(orbitSpeed)*dy];
It's a simple mod to make the expression work in 3D. You just need to add a slider called zSlider then use this expression;
dx = effect("xSlider")("Slider");
dy = effect("ySlider")("Slider");
dz = effect("zSlider")("Slider");
orbitSpeed = effect("speedSlider")("Slider") * time;
value + [Math.sin(orbitSpeed)*dx, Math.cos(orbitSpeed)*dy, dz];
Or this option which would even be more interesting
dx = effect("xSlider")("Slider");
dy = effect("ySlider")("Slider");
dz = effect("zSlider")("Slider");
orbitSpeed = effect("speedSlider")("Slider") * time;
value + [Math.sin(orbitSpeed)*dx, Math.cos(orbitSpeed)*dy, Math.cos(orbitSpeed)*dz];

Similar Messages

  • Manipulating Shapes & Vectors with Expressions

    Hi,
    Is it possible to manipulate the individual vectors of a path or shape in After Effects using expressions? How would one refer to the individual vectors in expression's script? If this isn't possible, are there other ways to draw and adjust shapes via expressions? Thanks,
    --Saib

    Okay, I'll be extremely specific, then.
    I'm building a character's face in After Effects, using shapes, such as Ellipses, as the building blocks. However, if I want to convey a range of emotion, I need the shapes to be able to change dynamically.
    I know its posible to alter the individual vectors of masks and shapes with the "tools". Can it be done with expressions? Could I, as an example, tell a specific vector on a mask or shape to move vertically by the amount of an expression control?
    Thanks,
    --Saib

  • [svn] 4793: Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

    Revision: 4793
    Author: [email protected]
    Date: 2009-02-02 11:20:06 -0800 (Mon, 02 Feb 2009)
    Log Message:
    Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds
    Fix: When calculating the bounds position we should take into account the implicit scaling factor actualSize/naturalSize. Also did some refactoring, getting rid of the protected method calculateTopLeft.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17734
    Reviewer: Ryan
    tests: mustella gumbo/layout/GraphicElement
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17734
    http://bugs.adobe.com/jira/browse/SDK-17734
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s

    Thank you so much for replying.
    Yes I have removed and reinstalled WMP.
    I had good results with the PD6 application installed on the default path onto the C: drive with the one exception that if the application was launched by accident and the user data path was not available, the PD6 application would blow away my custom user path registry settings. Now that I know what they are I have made a .reg file to repair my registry to my desired user data paths.
    Installing the application on the removable drive appeared to help prevent me from launching the application by accident and overwriting my registry with default user paths.
    So which is the less of the two evils?
    If the application directory is not available, windows media player still tries to launch the .msi for installing PD6.
    If I install the application to the C: drive but the user data to the removable drive, launching the PD6 application without the user data drive will still corrupt my registry settings for a user data path.
    Both these issues seem like a logical (if not easy) fix that should be done in the PD6 application and installation package. I mean really, cannot anyone tell me why windows media player is checking the PD6 application directory? Why in PD4 did we have an option control for setting the user data path from the PD4 application? Why is this option not in the PD6 application, just the installer?
    I am given a choice during installation to move the user data to another non default location. Why else would this be provided if not to accommodate my kind of request to store the user data into an alternate location other than “My Document”. Certainly Palm is not trying to force the users on how to protect and store their personal data?
    Post relates to: Centro (Verizon)

  • RE: Native Forte Clients with Express Services

    I would be very interested in hearing from anyone using Express who may
    have attempted using Native Forte Clients with Express Services, especially
    what problems/issues (if any) you encountered and whether you found it to
    be a successful way to develop complex screens where the 'look and feel'
    can't be achieved with Express alone.I wrote a general-purpose windows framework which uses Express Services for its
    database access. Had I known what I was letting myself in for, I probably
    wouldn't have attempted it! I started it when Express V1 was fairly new, and
    Express Windows did not support the types and complexity of relationships
    required by the application we were developing. I soon discovered how
    difficult it is to implement a completely general framework which handles every
    possible permutation. Obviously I ended up making compromises, but what we
    have now meets our needs very well. We are about to upgrade to Express V2, so
    the real test will be whether the framework migrates smoothly to the new
    release.
    If I were starting a new project now with Express V2, I don't know if I would
    go down the same path. If you do, be aware of the following (based on my
    experience of Express V1):
    * Your design MUST obey the fundamental rules of Express Services. Your
    BusinessQueries must be fired off by the correct BusinessClient subclass,
    your BusinessClass attributes must be logged at the right time (depending
    on which concurrency scheme you are using), and you must start and end
    Express transactions (different to Forte transactions) appropriately.
    * Your design needs to take into account the difference in the way Express
    Services handles aggregate and non-aggregate associations.
    * If you manage parent-child class relationships from your windows, you must
    make sure you set and log foreign key attributes at the right time. If
    the relationship is not aggregation, you must also manage the order in
    which the records are saved to the database (if you use referential
    integrity constraints).
    * If you call Express Services directly from the windows, it is hard to
    reconcile the asynchronous nature of a windows interface with the
    database's requirement for things to happen in a certain order. (From
    memory, there was a very good discussion in this user group last year of
    what should constitute a unit of work in the windows paradigm.) If I
    were doing it again, I would move all the Express-related objects and
    method calls from the windows to a separate layer, which would manage
    putting together the data from multiple windows, assigning foreign keys
    and firing things off in the right order.
    Fiona Symon
    Babylon Software Pty Ltd

    Hello Kevin,
    Normally, it has been corrected from the last public release 2.
    Hope this helps.
    Daniel Nguyen
    Kevin Klein wrote:
    >
    We had a similar problem. We reported the problem to Forte technical
    support and they determined that it is a bug. I don't know if this has been
    fixed in the 3.0.F release.
    The Stopwatch seems to be accurate for long (several second) intervals, but
    it can't be trusted for measuring short intervals.
    Kevin Klein
    Millennium Partners, Inc.
    -----Original Message-----
    From: [email protected] <[email protected]>
    To: [email protected] <[email protected]>
    Date: Tuesday, December 30, 1997 1:40 PM
    Subject: The Forte Stopwatch
    All,
    At our site we are using Windows NT 4.0 clients and a Windows NT
    Server with Forte 3.0.E.0.
    Periodically, we use the Forte StopWatch class to measure durations for
    access to data. We've noticed
    a strange phenomenon, and we're not sure if it's simply circumstance or if
    there's a problem. All of the
    measured durations that we receive through the Split method appear to
    contain either a 0 or a 9 in the
    tenth-of-a-second position. For example, values of 1011 and 1912. Has
    anybody noticed this?
    Thank you,
    Keith
    Name: Kevin Klein.vcf
    Part 1.2 Type: text/x-vcard
    Encoding: 7bit

  • One point circle path with pen tool

    I have heard or people drawing a circle path with one point and dragging or something like this.  I would really like to be able to do this! Is this possible?

    Absolutely just hold down the shift key while dragging one of the ellipse tools. Add the Alt|CMD key then circle center will be where you start dragging from.  Marque ellipse tool or ellipse tool. Selection can be turned into path.  But the Ellipse tool is better for its a vector tool. Can create shapes layers, Paths and fill pixels... Pen Tool circle is hard but you can use the pen tool to edit the circle path created with the ellipse tool.

  • Specify Report File Path by Expression

    TS201x Help under "Specifying Report File Paths by Expression" talks about  using a number of various macros, but starts the page showing how to also use FileGlobals. When specifying the expression (... >>Specify Report File Path by Expression>>Expression Browser), I'd like to combine macros with FileGlobals, but none of the FileGlobals are listed i.e. available. The expression builder has access to the StationGlobals though, but not to the FileGlobals.
    Is there a workaround, or at least an explanation, for this behaviour?
    Cheers
    Solved!
    Go to Solution.
    Attachments:
    Specifying Report File Paths by Expression.pdf ‏247 KB

    Thank for your quick reply!
    So, I created the expression in the >>Specify Report File Path by Expression>>Expression Browser, using FileGlobals.MyReportName as per your suggestion.
    Here, as expected, I got the first two error messages shown in the attached pdf.
    I also made sure that my sequence has the FileGlobals.MyReportName defined.
    When I run my sequence, I get the third error message shown in the attached pdf. I'd say this error message is also expected, since the non-listed FileGlobal
    referred to in my expression created above, never reaches NI_ReportGenerator.seq i.e. modelsupport2.dll. Or perhaps I completely missed a point in your message?
    In any case, please reply if you get a chance.
    Cheers
    Attachments:
    Specifying Report File Paths by Expression - Error Messages.pdf ‏113 KB

  • Unable to integrate Oracle Reports with Express--(To oracle Team also)

    Hi
    Unable to integrate Oracle Reports with Express. While defining
    the Express database connection using the olap connection editor
    iam getting the following error "Error locating the XCONEDIT.INI
    file. Try re-installing the software".
    what should be done?
    Atleat,If anybody has successfully connected to Express via
    Reports6i. Kindly give the details like what softwares to be
    installed in what HOME? and also other steps involved in the
    process.
    YOur help !!!
    kindly respond...(Oracle Team do respond with something)
    with rgds

    hello,
    check out the notes
    Note:112542.1
    Note:167049.1
    on oracle metalink for further information.
    if you still have issues, please contact oracle support services
    for furhter assistence.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • The trouble with 'expression' -- how to edit that

    I just walked to the corner bodega ( even though its korean sooo bodega is misleading ).. to get some beer...
    ITS BEER THIRTY -- yipee !
    and on way back down the block where I live ( which is suburban ) some boy kid on a bike was riding and playing with a girl kid ( probably was his slightly older sister - these kids probably around 12 years old ) in front of a rental property with some spanish americans hanging out in their cemented yard on hammocks near bar b q...with their own kids...(they have planted another hopeful "veg garden" around the perimeter of their so called yard...tomato plants etc )...so anyway, the picture here is a "neighborhood" of sorts with a somewhat lower middle class family atmosphere in a fairly lower class area on the verge of becoming middle class ( with God's help ).
    And anyway, I passed by the boy kid on the bike and smiled at him cause he seemed to be a decent kid having fun with his friend ( they were sorta laughing about something and having fun before I showed up as the big "adult" and looked at me ). His smile back was like sunshine and true and he immediately recognized he could keep having fun with his friend and I wasn't a "threat" , but instead some sorta "neighbor".  She did the same more or less ( I think she had some devious design re: the game they were playing ... like " OK, you think you're so great on that bike, try to CHASE me ! " or something like that....kid stuff... and fun thank God.  This neighborhood has it's share of bad things going on in the streets at times.  And that leads to my focus on " The trouble with expression".
    A lot of people, like me for example, can't express themselves well in some ways. I didn't say , " Hi there kids !  What's new ? " when I met them on the way back from the bodega.  I didn't stop and ask what the heck they were laughing about.  Nor did I speak to the spanish people adjacent to the kids ...in their "yard" ...with the bar b q and hammock and obvious friday afternoon socializing they were into....
    We in nyc area are typically a mixed bag of races... I'm white, kids were african amer ( black but more like brownish if you ask me ), spanish people like mexicans IMO... who cares.  This is suburbia so you can imagine how more mixed it is in the city.
    Anyway, the reason I don't express myself so well in situations like that ( spontaneously on the street ) is cause I used to stutter real bad as a kid.. couldnt talk... so I clamed up. All my life I've been fighting that disability ( and other "challenges" re: learning, reading , writing, asthma , etc ) in terms of the "repercusions".  Kids like me make fun of me cause I stutter...I can't fight back verbally and lash out physically... become a "maniac".  Get kicked out of city schools etc...  Trouble maker.  Can't express myself, fight back with words....when kids are mean to me. After a while they dont matter much as if they are mean I just keep quiet and keep mouth shut and start "thinking" instead... how to keep on top of this person and not let things get crazy... meet the challenge.
    Turns out I'm not stupid and at some point my being " quiet" becomes a positive thing.. peers start asking my advice.. I'm suddenly a " deep thinker" in their eyes.  I go from being disabled ( stupid ) to being " a deep thinker" about the age of puberty... when nobody knows what they are doing anymore.
    I start thinking about expressing myself some other way than talking.. like maybe draw pictures... paint stuff, do things to have fun with people that doesnt put me in the " limelight".. where I have to talk etc.  More success follows this tendency to socialize and express myself... and I discover that chics like the strong silent type.
    ( I have been into gymnastics thru my fathers infactuation with it since age 2 -- which I think eventually ( inadvertantly ) " cured me " of many of my learning disabilities etc --  (talk to an OT about this and modern child development stuff to know what I mean here )
    Meanwhile I am very fond of dogs as my family has dogs one after the other and I am one of their best friends. I find I can communicate with dogs better than I can communicate with people sometimes.  This seems to be a problem in some cases with some people, but for me it never got crazy... where I " loved dogs " more than I " love people ".  I have never loved any dog more than any person and shudder when I think of those who do.  Those people who do have more problems than I ever had to deal with.
    And now, after all these years ( I am now 60 ), working on movies and tv stuff etc as a crew person with some college fine art schooling ( eventual photo major ) to get me started, I got into this " editing " stuff... A program I can actually " use " on my mousey computer introduces me to a more " final product " than I ever had access to before.
    BUT I don't shoot motion pic stuff, cant afford that - and never could before basically, and now I think about the triple threats and future of movies and tv as a business... as well as the tools ( in this case the editing programs in conjunction with the cameras ( arri, panavision etc ) ) and the desire to express something ...
    This has to be ( if you want an audience ) ... " tell a story ".  You could just put a camera on a rocket ( strap it to the rocket ) and shoot the takeoff etc and show that.. but you need a V.O. saying " well, I just shot off a rocket and this is what it looked like"...to bring the experience to the audience... or else IMO there is no story.
    Which leads to what's going on now in the world of reality tv, episodic tv , some big movies, etc.  Telling a story is more than showing you stuff that you just wouldnt have seen if you hadn't been there yourself. Telling a story is more like saying something that bridges the gap between your own experience of life and its challenges ( of being part of your neighborhood and making sense of your own childhood and being an adult now maybe ).. and what others also have gone through to get to the same conclusions....
    This is the object of " expression" IMO, whether you can talk about it, draw pictures about it, or make music about it...
    And the editing program is a tool to help do that.. it is not the end all or purpose of life or the " personal crusade" in the long run.
    It's one reason scary snakes often shock people out of their desire for comfort and predictable living... makes you think about that one serpent in the garden of eden you create for yourself .... and IMO who cares what editing program you use to write that and shoot it ??

    Steve Grisetti, the MOD of the Premiere Elements forum and co-founder of a video/photo/editing Web site, Muvipix, did a nice article, "Don't just make a movie - tell a story." His audience was more consumer video editors, than the folk that we see around here, but his points were well-made, and were embraced by many in the Muvipix community.
    I think that too many, forget that concept - and I am talking Hollywood and NYC here. It's almost as if, when the story breaks down, they instinctively know to throw in a car chase, or big explosion.
    I know that I cite it too often around The Lounge, but that was what I enjoyed most about the LOR trilogy. It told a story. Now, though I had some exposure to the story, when much younger, I have to admit that I never read Tolkien, though almost everyone, that I knew, was busy with every book. Still, I only knew some of the high points, and not much more. However, almost immediately, I was drawn into the story, and only wished that I did not have to wait so long between episodes. The FX were cool, and I am a technoid sort, but it was the story that hooked me. I had read several articles on the FX production, so WAS looking for some of that, but what I wanted was the story. This is one that I will buy the BD "Director's Cut" of, and do a marathon. I have seen each segment, maybe three times, but never back to back to back. I still need to fill in a few blanks, and an entire day of viewing should do that - no phone, no visitors, nothing but LOR.
    As far as human communications, I can talk, even more than I write here, but only concerning things that I care about. I am horrible at "small talk," and would rather addrss an auditorium of 10,000, on something that matters to me, than talk about the weather to a single person at a fund raiser. Not that long ago, I was seated next to a potential donor at a charity dinner. I was rather dreading it, and when she mentioned that she did not drink (what, no wine?), I was worried. At some point, early in the evening, the subject turned to politics. Now, I usually am very quiet on my feelings, as they are not exaclty politically correct, and worry about hurting feelings, or making a scene. I fielded a question on Senatorial candidates, and just decided to answer from my heart. Her eyes lit up, and I did not notice that the event had ended. Her husband was standing, as was my wife, and we were talking politics, talk-radio, FoxNews, Senator John Kyl, Will Rogers and much more. I found that we were kindred spirits. Finally, our spouses pulled us apart, and we departed. We continued that conversation at 2 - 3 more events during "the season." One day, my wife informed me that she had just given $10M to the foundation - the largest single gift ever. At least she wasn't a screaming liberal, as I would surely have really messed up the deal... However, had it all been small talk, I would have found a reason to excuse myself and hide in the bar for a few hours.
    Also, the way that our society has developed, I will smile, nod, and say "hello" to strangers on the street, but always leave it at that. I am sure that many walk past and think "he wasn't all that friendly." They are probably right, but at least I was pleasant to them and did not rob them! Heck, I will usually tell telemarketers, "No, but thank you for your generous offer on that time-share... "
    Hunt

  • Need some clarification on Replacement Path with Variable

    Hello Experts,
    Need some clarification on Replacement Path with Variable.
    We have 2 options with replacement path for characteristic variables i.e.
    1) Replace with query
    2) Replace with variable.
    Now, when we use  "Replace with variable" we give the variable name. Then we get a list for "Replace with" as follows:
    1) Key
    2) External Characteristic Value Key
    3)Label
    4)Attribute value.
    I need detailed explanation for the above mentioned 4 options with scenarios.
    Thanks in advance.
    Regards
    Lavanya

    Hi Lavanya,
    Please go through the below link.
    http://help.sap.com/saphelp_nw70/helpdata/EN/a4/1be541f321c717e10000000a155106/frameset.htm
    Hope this gives you complete and detailed explaination.
    Regards,
    Reddy

  • Replacement path with text variable

    Hi experts,
    My client requirement is " when he enters the current year or current day then it should display the Description of that particular year r month r day."
    Can anyone explain me in detail how to create replacement path with text variable on FISCAL YEAR?
    Hope will solve my issue soon.
    Thanks in advance
    Jani Sk.

    Hi,
       goto the properties of your KF and click on the variable button side to that of the description field and click on new/Create option.Enter the technical name description for the text variable and select Replacement path as the Processing type and in the nxt screen select Fiscal year as the replacement variable and in nxt screen  specify as Key and provide offset values if necessary and click on finish.now select the variable by clickin on the variable button next to the description field.it comes after the description of the KF.Now run the query.
    Thanks,
    Sandeep

  • How do I mask a path with a blending mode so that if only effects the groups below?

    I am working on a logo but have run into what seems like a simple problem but nothing about masks that I have found seems to work. I have
    two groups and in one of them I have a path with an overlay blending mode. Above both groups I have the same path with the same blending mode. (I have used two as I wanted a stronger effect on the lower group)
    Here is the project against white:
    As you can see the logo itself looks fine and I thought it was ready to use.
    However upon exporting it I noticed that the layers with opacity that where invisable agaist the white where now visable. I ussumed this would eb a simple fix as I am used to this problem with After Effects. Illistrator is not my forte and I am not used to how the masks work.
    After two hours of messing around and searching on the internet for answers I have given up. This must be a common thing to pop up but I couldn't find the answer so here I am. Please can someone help me remove the unwanted white circles.
    Thanks,
    Ben.

    Thank you for replying Monika,
    I have copied the Paths but dont understand what you mean by expand the 3D effect. With the text I was able to click ungroup and edit the individual sides. I am unable to do this with the logo, I dont know exactly why. Also when I combine all my paths they just go into one group. You will have to excuse me, I still have a lot to learn.
    Thanks,
    Ben.

  • Order management flow path with tcode in pp module

    hi sap guru's,
    i need the order management flow path with tcode in pp module.
    regards,
    muralidhar.t

    Hi Murlidhar,
    Step 1: Material Master
    Logistics > Production > Master Data > Material Master > Material > Create General > Immediately MM01
    Step 2: BOM creation
    Logistics > Production > Master Data > Bills of Material > Bills of Material > Material BOM > Create CS01
    Step 3: Work Center creation
    Logistics > Production > Master Data > Work Center > ( New Screen ) Work Center > Create CR01
    Step 4: Route creation
    Logistics > Production > Master Data > Routings > Routings > Routing > Create CA01
    Step 5: PIR Generation
    Logistics> Production>production planning>demand management>PIR>Create MD61
    Step 6: MRP Run
    Logistics>Materials Management>Material planning>MRP>MRP>Total Planning>Online MD01 
    or
    Logistics > Production > MRP > MRP > Sng-Item, Multi-Level MD02
    Step 7: Evaluation through MRP list and Stock requirement list
    Logistics>Materials Management>Materials Planning>MRP>Evaluations>MRP List>Individual Display MD05
    Logistics>Materials Management>Materials Planning>MRP>Evaluations>Stock Requirements List MD04
    Step 8: Conversion of Planned order to Production order
    Logistics > Production > Production control > Order > Create > With a planned order CO40
    or
    Logistics >Production > Production control >Order > Create >With material CO01(For creating production order Without planned order)
    Step 9: Order management
    Logistics >Production > Production control >Order > Change >With material CO02
    Step10: Confirmations
    Logistics >Production >Production control >Confirmation >Enter >For order CO15
    or
    Logistics >Production >Production control >Confirmation >Enter >For Operation >For time ticket CO11N
    Step11: Goods issue
    1. Logistics >Production >Production Control >Environment >Goods Movement >Goods Issue
    2. Logistics >Materials Management >Inventory Management >Goods Movement >Goods Issue MB1A--261Movement type
    Step12: Goods receipt
    Logistics > Production > Production Order > Environment > Material Movement > Post Mat to Stock
    or
    Logistics > Materials Management > Inventory Management > Goods Movement > Good Receipt > For Order MB31
    Step13: Techo Or Close Order.
    This can be done from Prduction. Order Header menu.   
    Regards,
    R.Brahmankar

  • Problems Stroking Path with the pencil cs6

    I´ve been making pixel art for a while now and recently I upgraded to cs6.
    all was fine till I tried to stroke a circular path with the pencil tool.
    The Circles it makes are completely uneven. I cant figure out a way to fix this. Help please.
    These are the paths i traced in different sizes
    this is the stroked path with a 1 x 1 pixel pencil
    as you can see the the bottom and right part of the circles is different from the top left. it is more noticeable on smaller circles.
    it also happens with bigger stroke sizes.
    this diddn´t happen in cs5.
    I would appreciate any input.

    If a path is in precisely the same location in CS5 and CS6 then strokes made with the Pencil will be almost (or possibly actually) identical in both versions. However, CS6 has an added preference to restrict the positioning of paths with respect to the pixel grid and I think that the positioning of your paths is not as you intended. You'd have got reasonably symmetrical Pencil-stroked circles if the N, E, S and W points of the circular paths lay mid-pixel. These points in your example are lying on pixel boundaries, hence the asymmetrical strokes.
    To get CS5's free positioning of paths in CS6, disable Preferences > General > Snap Vector Tools and Transforms to Pixel Grid. Then it'll be possible to get in CS6 the result that you got in CS5.

  • FLEX debugger not hitting breakpoints, because Flash sometimes embeds source file paths with wrong letter case?

    I was trying to figure out why breakpoints were working fine for source files in some locations but not others.  FlashDevelop's debugger (which I believe is actually the FLEXSDK debugger) was successfully connecting, tracing output, and hitting breakpoints in SOME files, but not others.
    I downloaded SWFInvestigator from Adobe Labs and checked the embedded debug paths for various source files to see what was going on.
    I discovered that files in which no breakpoints could be hit had their paths embedded in all lowercase (e.g. "c:\users\username\desktop\source\myproject" instead of "C:\Users\username\Desktop\source\MyProject").
    So I have two questions:
    First, is this a Flex debugger issue, or a FlashDevelop plugin issue? Letter case shouldn't matter or interfere with matching file paths in Windows.
    Second, what could possibly influence the letter case of embedded paths in a SWF output by Flash Professional (CS6), such that they are sometimes all lowercase and other times maintain the same case from the file system?  And why would that affect a debuggers ability to hit breakpoints in Windows 7?  I am compiling in multiple ways. Sometimes clicking Publish within Flash. Sometimes the file being published is not even open in Flash, and my JSFL script file is passed to Flash.exe containing embedded file paths to open the document. Usually, everything seems to work fine, no matter where I publish from, regardless of whether the FLA file is open or not. I'm honestly starting to believe that it depends on how the FLA was last opened in Flash Professional, as though it saves some sort of last access path internally and uses that to embed debug information.

    I don't think it's the source path in my case, because it's simply the dot ".", although I did check that because it would most likely influence the embedded paths.
    In the library path, I use relative paths exclusively, since all my individual project folders exist in the same "source" folder.
    Here's how I arrived at the conclusion that something more complex or "stateful" must be occuring:
    I publish my files with a one-click application, which does the following
    updates version timestamps (static constants) in specific files via regex match
    fills in a JSFL template with the FLA filename and writes the JSFL file to disk, then passes the JSFL file path to flash.exe for publication
    the JSFL then runs a command, which signals the main application via cross-process communication that the script has finished publishing
    That all makes it easy for me to update and publish multiple projects and deploy them, with a single click.  Here is the JSFL template I created, which has been drastically simplified since the days where it used to search to see if the file was open in Flash, select the document, and call publish.  Now it just uses the publishDocument method to silently publish files without opening them.
    var filepath = "FLAFILEPATH"; //template parameter: the URI (beginning with "file:///") of the FLA file to publish
    fl.publishDocument( filepath, "PUBLISHPROFILENAME" );
    FLfile.runCommandLine("COMPLETECOMMAND");
    The C# app replaces the strings in all caps with the actual values.  The COMPLETECOMMAND is actually populated with the application's own executable path, along with a "complete" switch, which lauches a 2nd instance, which handles the complete switch by broadcasting a signal over an interprocess channel and then terminates.  The main instance captures the signal, triggers a wait handle, and continues with publishing the next file.  Here is the core code for it:
    private string fillTemplate( string fla_directory, string fla_filename, string publish_profile_name )
        string fileuri = "file:///" + Path.Combine( fla_directory, fla_filename ).Replace( '\\','/' );
        return EmbeddedResources.OpenAndPublish //JSFL template file embedded as string resource
            .Replace( "FLAFILEPATH", HttpUtility.JavaScriptStringEncode( fileuri ) )
            .Replace("COMPLETECOMMAND", HttpUtility.JavaScriptStringEncode( "\"" + Application.ExecutablePath + "\"" + " -publishcomplete" )) //call self with -publishcomplete switch to signal main instance's publishCompleteSignal
            .Replace("PUBLISHPROFILENAME", HttpUtility.JavaScriptStringEncode( publish_profile_name ) );
    private static readonly string FLASH_PATH = @"C:\Program Files (x86)\Adobe\Adobe Flash CS6\Flash.exe";
    public void publish( string fla_directory, string fla_filename, string publish_profile_name )
        Program.publishCompleteSignal.Reset();
        string template = fillTemplate( fla_directory, fla_filename, publish_profile_name );
        string curdir = Environment.CurrentDirectory;
        string tempJSFLfilepath = Path.Combine( curdir, "temp_script.jsfl" );
        File.WriteAllText( tempJSFLfilepath, template );
        Process p = Process.Start( FLASH_PATH, tempJSFLfilepath );
        Program.publishCompleteSignal.WaitOne( 30000 ); //timeout after 30 seconds
    Here's where it gets interesting.  The FLAFILEPATH has ALWAYS been passed in as all lower case, yet this publication method has worked 99% of the time for hundreds of publish operations every day.  This applies to both the publication of the first SWC, which is referenced by the second published SWF (both were being published with lowercase paths), yet the paths for the main SWF were remaining in lowercase, while those in the referenced SWC were maintaining the correct case from the file system.
    So there may be any number of things going on here.  SWCs may be published differently than SWFs, such that SWCs always have the correct letter case for debug source files, regardless of how the source FLA project was opened.  Ensuring the path passed to publishDocument uses the right case definitely fixes the problem, but it doesn't explain why it usually worked, despite having always been passing a lowercase string.  The only variable I can think of in all of this is Windows itself or Flash, such as whether the document was open in Flash at the time the silent JSLF publishDocument command ran, and how that FLA was last opened (via shortcut, via "recent documents" in Flash, via recent documents in Windows.  It has to be something, even if it's something as obscure as how the folder path was last accessed in windows, although I strongly suspect it's just how (in terms of path case) the FLA was last opened in Flash.
    In any case, I'm happy that passing the right case to JSLF's publishDocument command fixes the problem, so I'm not going to spend any more time trying to figure out how opening the FLA in various ways could affect the embedded debug paths.  The only thing that should be done is to address how paths with the wrong case are handled when they do get embedded that way for whatever reason.  Perhaps the flex debugger should be updated to use case-insensitive matches in case-insensitive file systems, unless, perhaps, this is a FlashDevelop debugger issue after all.

  • How to make a Beziere path with REC.

    I'am tring to follow a flashlight with a particle emmiter. I want to make a beziere path with different points across the timeline using the REC mode. And then attach the particle to the path so it can follow correctly with speed and curves the flashlight. How do i do this?

    Kyle,
    Presuming you wish to move one circle to snap to another circle at a certain predetermined angle, and you have it placed at a distance at that angle you may (Smart Guides are your friends):
    1) Select both circles, and with the Line Segment Tool drag a line from centre to centre (Smart Guides say center when you are at the first one and close enough to the second one);
    2) Select the circle to move with the normal Selection Tool, then hover over the spot where the line crosses it (Smart Guides say intersect), then ClickDrag along the line (Smart Guides say path) until you have dragged it to snap to the other circle (Smart Guides say intersect).
    This works whether the circles are beside each other or one is inside the other.
    When moving vertically or horizontally, there is no need for the line, and you can just ClickDrag by the relevant Anchor Point.

Maybe you are looking for

  • Runtime error r6034  WIN7

    wont let me install new version  keeps saying runtime error r6034?

  • Partner change in Billing document.

    Hello all, I have a user exit to change Partner in Billing document. That is EXIT_SAPLV09A_004. This user exit is updating partner only when I create billing document with reference to PO, if I create billing document with reference to SO it is not g

  • SOAP Header Security in Oracle Service Bus

    Currently we are in the process of implementing the SOAP Header Security through Oracle Service Bus. We have a requirement that BPEL need to call a external web service. That web service will be registered in OSB. While making the call, the OSB need

  • Minor Mouse bug in the FP 10.1.52.14 ?

    Hi, It seems that the release version of Flash Player 10.1.52.14 that comes with Flash Builder 4 has minor mouse bug on Mac OS X 10.6.3. Once the cursor changes to 'hand' on hovering, it does NOT return to default arrow on roll out. One a positive si

  • RAW support in Aperture for Sony R1

    For Aperture 1.5 the Tech Specs indicate that it supports RAW format for Sony DSC-F828, DSC-V3 and DSLR-A100. Does anyone know if it then also supports Sony's DSC-R1 digital camera?   Mac OS X (10.4.7)