Alpha decimal bug AS 2.0?

Hello! I'm working on a photo gallery slideshow loading
pictures externally. I have a setInterval to count up/down the
"alpha" and up/down the "_x". The "_x" is working fine but the
"alpha" only works when set to 25 or 50. I've been running traces
on it when set to 5, 10 and 20 and it adds up a decimal value
instead of a whole number. Been trying to get it right with
Math.round but it wont count correct. Anyone have any idea of what
this problem is about? I'll post an example for anyone to please
have a look at...
trace returns: 9.765625
Anyone with ideas?

Hi,
I have the following actionscript which is working fine, but I would like to wait for some seconds each image once has reached the alpha in 100, if you see the example in the header (www.vmortiz.com/index2.htm) what it does is that the image fades in and when it gets to 100 starts fading out, and I want that when it gets the alpha in 100, keep it for let's say 5 seconds and then fade it out. Could ou please help to do so?
square._alpha = 0;
whichPic = 0;
_root.onEnterFrame = function() {
if (whichPic<4 && !fadeIn && !fadeOut) {
fadeOut = true;
whichPic++;
else if (whichPic>=4) {
whichPic = 1;
if (square._alpha>10 && fadeOut) {
square._alpha -= 2;
if (square._alpha<10) {
loadMovie("../images/banner/foto"+whichPic+".jpg", "square");
fadeOut = false;
fadeIn = true;
if (square._alpha<100 && fadeIn && !fadeOut) {
square._alpha += 5;
} else {
fadeIn = false;
Thanks
Regards

Similar Messages

  • PNG alpha import bug - doesn't ask, interprets always as straight

    This has been an issue for quite some time now, finally found time to search for a solution and couldn't find one
    If I render a scene in 3dsMAX and save it as a PNG file, then I import it to AE, AE doesn't ask what type of alpha is in the image - it always assumes it's straight which is wrong because it's always premultiplied (coming from 3ds MAX at least).
    It asks with tiffs, tga, jpeg2000 but NOT with pngs
    Any thoughts on that?
    If you want to check yourself, maybe on a different 3D software:
    - create a plane
    - give it a self illuminating red material (so that there is no shading whatsoever)
    - throw a black and white gradient to the transparency slot
    In AE if you import correctly, on the transparency grid, you'll get a plane of constant red color gradually fading out. If it seems that the more transparent the plane gets, the darker/brighter the red also gets - you have a wrong alpha interpretation.

    I never render anything premultiplied from any 3D app. You don't get as good an edge and unless you are specifically using a colored background as a target it makes not sense in a production environment to be using premultiplied alphas. All NLE's default to straight and in almost every case, you get a much better edge.
    That said, Dave's right, it's a preferences setting. I have not checked png's or png sequences so I don't know if my machine would show this problem, but then again, I never intentionally produce a premultiplied alpha.

  • HP Prime - Fraction/Decimal bug?

    I purchased my HP Prime calculator about a month ago, and its been pretty awesome for the most part. I've noticed a problem the last week with trying to get a decimal form of a fraction like 1/101, where the answer it is giving me is 9.90099009901E-3.  On a standard sientific calculator I would get the correct decimal: 0.00990099009901, which tells me the decimal is off by three digits. I tried both CAS/nonCAS enviroments, and its giving the same answer. Is there anything I can do on my Prime to correct this issue, or a work-around? Thank you,Joshua

    Hi!, Joshua09: Change, in Home Seettings, to Fixed 11 ...  

  • Is conditional calculation in the report possible?

    Hi,
    While using currency translation in a query, amounts are being multiplied by 100 for currencies JPY, KRW & TWD.
    Is there a way to divide these currencies by 100 if currency key is one of above mentioned type?
    I've already checked notes 153707 & 760195 which are relevant to my issue.
    other options are fixing this bug which could be a nightmare for us as "Currency decimal bug" originated from R3 settings.
    we have many functions & programs (both in R3 & BW) where we hardcoded to get the correct value.
    So, we might not be able to handle this bug so easily by removing above mentioned 3 entries from table TCURX.
    Appreciate any kinda help.
    Thanks,
    hari immadi
    http://immadi.com
    SEM BW analyst

    Eugene,
    you are right. I could able to manage with a total of just 10 columns (same as before) & still get the correct results.
    only change I've made to your solution is, "not equal to < >" rather than "greater than >" in the formula you have proposed.
    So, final formula is as follows.
    ( ‘CUR100’ < > 0 ) * ' CUR100' * 100 + NOT ( ' CUR100' < > 0 ) * 'YourKF'
    It took 2 hours for me to figure out why 9 columns are working with your formula but not 1 column.
    1 column is having a debit (negative amount) for currencies JPY, KRW & TWD and is not dividing by 100 as it is not meeting formula condition.
    Overall, your solution is great & it helped me a lot.
    Sudhakar,
    I agree with you on writing a transfer rule to divide by 100. But, we are dealing with a Transactional/Basic combo cube so, I just can't depend on transfer rules. But, am sure that will work.
    Srini,
    thanks for your reply. Appreciate if you can share what exactly you are doing with your code & where the code is written.
    Thanks,
    hari immadi
    http://immadi.com
    SEM BW analyst

  • OraOLEDB 9.2.0.4.0 production release is available

    OraOLEDB 9.2.0.4.0 production release is available for download from OTN. Broken download link issue has been fixed.
    What's new in this release?
    ===========================
    New Data Types Support
    Oracle9i and later versions data types:
    - TIMESTAMP
    - TIMESTAMP WITH TIME ZONE
    - TIMESTAMP WITH LOCAL TIME ZONE
    - INTERVAL YEAR TO MONTH
    - INTERVAL DAY TO SECOND
    TIMESTAMP, TIMESTAMP WITH TIME ZONE, and TIMESTAMP WITH LOCAL TIME ZONE data types are mapped to OLE DB DBTYPE_DBTIMESTAMP; INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND are to DBTYPE_STR.
    OLE DB DBTYPE_DBTIMESTAMP data type does not have TIME ZONE information. For data insertion into a TIMESTAMP WITH TIME ZONE or TIMESTAMP WITH LOCAL TIME ZONE, the client's time zone setting is used. For data retrieval, TIME ZONE is dropped for TIMESTAMP WITH TIME ZONE columns, but TIME ZONE is used for TIMESTAMP WITH LOCAL TIME ZONE columns.
    For TIMESTAMP, TIMESTAMP WITH TIME ZONE, and TIMESTAMP WITH LOCAL TIME ZONE, ADO consumers must specify the CursorLocation as adUseServer and use Recordset for DML operations.
    Fractional second is not supported for TIMESTAMP binding with Command objects. Note that using ALTER SESSION to change time zone information will not change the time zone information in the new and existent Recordsets. Recordsets use the client's time zone setting in Operating System's Regional Options.
    Supported INTERVAL Formats:
    - INTERVAL YEAR TO MONTH: "(sign)years-months"
    Example:
    "2-3" (2 years and 3 months)
    "+2-3" (2 years and 3 months)
    "-2-3" (negative 2 years and 3 months)
    - INTERVAL DAY TO SECOND: "(sign)days hours:minutes:seconds.fraction"
    Example:
    "7 10:20:30.123456"
    (7 days, 10 hours, 20 minutes, and 30.123456 seconds)
    "+7 10:20:30.123456"
    (7 days, 10 hours, 20 minutes, and 30.123456 seconds)
    "-7 10:20:30.123456"
    (negative 7 days, 10 hours, 20 minutes, and 30.123456 seconds)
    OraOLEDB-specific Connection String Attributes
    ==============================================
    UseSessionFormat - specifies whether to use the default NLS session formats or let OraOLEDB override some of these formats for the duration of the session.
    Valid values are 0 (FALSE) and 1 (TRUE). The default is FALSE which lets OraOLEDB override some of the default NLS session formats. If the value is TRUE, OraOLEDB uses the default NLS session formats.
    Note that this connection attribute does not appear under the OLEDB registry key.
    BUG FIXES (in 9.2.0.4.0)
    ========================
    1. -2147217887 is generated when inserting data using accessor class (Bug #3114560)
    2. Calls to OpenSchema leak memory (Bug #3038113)
    3. Fraction gets truncated for FLOAT column when decimal separator changed to comma (Bug #1633090)
    4. Returns incorrect data for LONG-RAW columns with default ChunkSize 100 bytes (Bug #3069807)
    5. Failures and access violation occur on 'SELECT CASE' queries (Bug #2910141)
    6. Memory leaks during connect/disconnect (Bug #2794171)
    7. Oracle OLE DB Provider returns DBTYPE_STR when it should return DBTYPE_WSTR (Bug #2651518)
    8. SELECT with a parameter bind of type number in WHERE clause causes ORA-1722 error (Bug #2391768)
    9. Corrupts data when using multi-threaded application (Bug #2822641)
    10. Does not return DBSTATUS_S_TRUNCATED appropriately (Bug #2743415)
    11. Memory leaks when using "SELECT DISTINCT" and aduseclient (Bug #2626329)
    12. ORA-01036 error occurs when using bind variable (Bug #2665941)
    13. 'SELECT CASE' returns ORA-923: FROM keyword not found (Bug #2457001)
    14. Wrong order of ADO output parameters crash appl/vb when one param is of Timestamp type (Bug #3158709)
    15. ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ', ' truncates float after decimal (Bug #3158709)
    16. Date values cause intermittent DB_E_ERRORSOCCURRED in COM+ application (Bug #3209734)
    17. OraOLEDB crashes with 800 bind parameters and PL/SQL anonymous block (Bug #2744164)
    18. Oraoledbgmr!odbcsqltoorclsql crashes with COM+ under load (Bug #2730995)

    Is the recommended 9.2.0.4 patchset needed for the Database Server only? Is there a patchset to upgrade the 9i Client to 9.2.0.4 also?

  • MPD Subtitles

    [MPD Subtitles (AUR)] is a Python application, written out of boredom (and out of a yearning for something like Crimsonsoft's [MiniLyrics] for Linux), that downloads and displays Simple LRC-format synchronized (with extensions for color, positioning, timeout, and voices) lyrics and captions for tracks you play in MPD.  It also comes with an LRC editor to write and synchronize lyrics, an uploader to submit them to an mpd-lrcserver database, and the mpd-lrcserver.php script to host your own LRC lyric database.
    Here are a few screenshots of it in action:
    By default, it uses [wintervenom.mycrosoft.us] and [wintervenom.brandonw.net/Misc] as the database servers (which haven't but a few songs at the moment).
    MPD Subtitles is currently in alpha.  Bugs, improvements, tips, and criticism are much welcome. 
    Last edited by Wintervenom (2011-03-23 19:06:19)

    This is simply amazing! Thanks for spending the time to contribute this Wintervenom, much appreciated
    Ahhh love open source communities

  • Multiple Column Ordered Lists

    Hello, Trying to make multiple column ordered lists in dreamweaver where the first column is 1,2,3,4 the second column is A,B,C,D and the third is I, II, III, IV. I have tried tables but the numbers, letters and roman numerals disappear
    1. John      A. John    I. John
    2. Mark      B. Mark   II. Mark
    3. Jim        C. Jim     III. Jim
    4. Roni      D. Roni    IV. Roni
    Any help would be much appreciated

    Use ordered list .classes inside floated containers.
    <!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>Floated Lists</title>
    <style type="text/css">
    #wrapper {
    /**width of floats, borders, etc...**/
    width: 606px;
    background: #EAEAEA;
    overflow: hidden; /**float containment**/
    .floatLt {
    float:left;
    width: 200px;
    border: 1px solid silver;}
    .floatRt {
    float:right;
    width: 200px;
    border: 1px solid silver}
    /**ordered lists**/
    .alpha li {list-style:upper-alpha}
    .decimal li {list-style:decimal;}
    .roman li {list-style:lower-roman;}
    </style>
    </head>
    <body>
    <div id="wrapper">
    <div class="floatLt">
    <ol class="alpha">
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    </ol>
    </div>
    <div class="floatLt">
    <ol class="decimal">
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    </ol>
    </div>
    <div class="floatRt">
    <ol class="roman">
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    </ol>
    </div>
    <!--end #wrapper --></div>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Porque o tempo de upload no youtube so fica aumentando so com o mozzila(aurora) que acontece,e o mercado livre nao carrega imagens??

    O Youtube sendo usado pelo mozzila(firefox) nao para de aumentar o tempo de upload,e o mercado livre nao carrega o simulador de frete e as imagens oque eu faço?

    O Firefox Aurora é uma versão alpha, com bugs que ainda serão corrigidos, o uso dessa versão não é recomendada para o usuário final pois podem haver falhas de segurança.

  • Photos app bug resurrects long-removed photos (related to PNG alpha)

    Wanted to report/discuss a possible privacy concern and image glitch, and understand it better for submission to Apple's feedback page: the iPad (and maybe iPhone) Photos app will consitently resurrect long-deleted photos in your Camera Roll, under certain circumstances. These are long-removed photos (as in removed many months ago, prior to the iOS 5 update), and possibly only the reduced-size thumbnail versions.
    Note: as near as I can tell, the deleted photos were NOT originally from the camera roll! That's where they resurface, but I believe they are photos from other albums, maybe once which used to by synched to iPad but which I no longer synch. So "removed" might mean deleted or it might mean "no longer synched to iPad"... the images are so old I can't recall.
    So the bug, I'm guessing, it two-fold:
    1) The Photos app (and/or iPhoto during wired synch?) is not fully removing photos (or at least, their thumbs). They're no longer visible in Photos app, but are being retained somewhere on the device.
    2) A glitch in the Photos camera roll PNG handling (which I think may be new with iOS 5) causes those old images ro re-surface when you add a PNG to the camera roll. (The old photos were JPEG, but the image that triggers the bug must be a PNG with alpha channel)
    I have seen this on both an iPad 1 and iPad 2, running iOS 5.
    Here's how to reproduce it:
    1) Synch some photos to your iPad, then deselect them for synching and re-synch (so they're not there any more). Also, add some photos or screenshots to the camera roll and then delete them. I say to do both because I'm not 100% where the old photos come from, and I'm hoping this covers all bases! Actually, most people have already done these things in the past, and can probably skip this step.
    2)  Generate a transparent PNG using the art app Procreate (and probably any app that saves PNGs to the camera roll with alpha channel). All you have to do is scribble somethign into a blank Procreate canvas, then export it to your photo album. There is no need to do anything special to get an alpha channel or PNG format: you always get that. (Unless you used the Fill command to completely cover the canvas.) Now in the camera roll there should be your scribble on a transparent background. You can email it to yourself and see that clearly in Photoshop or Preview.
    3) Here's the glitch: look at your camera roll (thumbnails view) and you'll see that the alpha-transparent background of the image has become one of your old removed photos! Tap it to enlarge and the alpha becomes black (which is fine, although it may seem odd if you intended to paint onto the default white canvas). But for just a moment, before you see the black, you will get a full-size glimpse of the old photo. (Or, maybe, an enlargement of the thumbnail?)
    4) If you keep saving more alpha PNGs, you'll keep seeing more and different old photos coming back to life in the alpha regions of the thumbnails (and, briefly, at full size).
    5) If you delete all those PNGs and then save some new ones, you'll see the same sequence of old photos reappear again.
    Needed fix: removed phtos/thumbnails should be properly purged, and alpha PNGs should show simply black (or some default background) at all times.

    Ok, I replicated it and I don't like it! I didn't use the one you marked cause I couldn't call it up properly but I did Bing
    transparent gifs and loaded up 3, one was totally invisible in the thumbnail and I could clearly see one of my pics perfectly in the thumbnail but when I brought it to page the gif filled the frame.
    I have no idea where the pic came from, I mean I recognize it but from where in the album I have no idea.
    Oh yeah, I was wrong about the first pic coming to page, it wasn't the same image but a different one...and I have no idea how the one that came up, (what i thought was the underlying pic) did, or how it got there or even from where.
    This is some weird stuff though not as weird as that silly *** movie, what a load of tripe; I should have just spent my
    time on this, it's infinitely more enjoyable!
    Ok, here's the consensus from my layman iPad view:
    What happened now and most probably before was a 'transparent gif' or a partially transparent gif like the one I spoke of first that I could see the edge of or the outer perimeter of, the underlining image with the gif taking up say 3/4 of the thumbnail; this it what it was.
    This is totally apparent to me now because of your having me import a totally transparent gif which was invisible over my pic, thus the freaky part I didn't like...keying the thumbnail with one thing and ending up with something totally different when brought to page.
    Still doesn't explain where this silly iPad is grabbing these pics from?
      But here's something funny; my camera roll shows say 9,200 pics but my, 'iMy System' app say I have like 11,300 which I always thought was a fluke, that it was just reading wrong but maybe it's seeing something we're not.           What if all those pics we're deleting to save space or just generally culling have never left the system?                     Maybe that goofy app is really reading the true count!
       Those others up above us here who mentioned privacy concerns.. this could be whats going on, there's a ghost
    in the machine and it be our old pics and god knows what else floating around in that iPads memory.
    Ok, I'm crazy tired and I have to wrap this up. Least now we know how to replicate this but on the other hand I think we opened up an even bigger can of worms... the mystery of where all those images are hiding in our iPads?
    I haven't hardwired to a computer since I upgraded to ios5 so whatever's going on here, leastwise for me is iPad
    based and can't be blamed for synching issues like you discuss up above unless what I'm grabbing here is old stuff
    reimported back into my pad from the mainframe when I was backed up for the ios5 upgrade?
    Oh well, let me know what you think. Please do forgive my not getting back to you sooner on account of the movie
    but you already know I regret choosing that over this! Hope you had a good night and thanks...

  • Parser for Java v2 decimal formatting bug

    XML Parser for Java v2 (up to 2.0.2.7) does not seem to format decimal numbers correctly with format-number() function. It can handle floats, but not doubles. When can this bug get fixed?
    BTW, is there a bug database for Java XML Parser?
    Thanks,
    null

    Thanks for your prompt response, here is one test:
    format.xml:
    <?xml version="1.0"?>
    <numberlist>
    <number>1234567.123456789</number>
    <number>12345678.123456789</number>
    <number>123456789.123456789</number>
    </numberlist>
    format.xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="number">
    <xsl:value-of select="format-number(current(), '#,##0.00000000')"/>
    </xsl:template>
    </xsl:stylesheet>
    The following output was generated from 2.0.2.7:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    1,234,567.12500000
    12,345,678.00000000
    123,456,792.00000000
    Apache Xalan 0.20 generates the following:
    <?xml version="1.0" encoding="UTF-8"?>
    1,234,567.12345679
    12,345,678.12345679
    123,456,789.12345679
    This problem also exists in v2 versions before 2.0.2.7.
    A month ago, I posted another bug report, but didn't get any reponse. Can someone look into the problem? I suspect XMLElement.setAttribute(name, value) doesn't add attributes of ID type to the internal list of ID's. The posting is at:
    http://technet.oracle.com:89/ubb/Forum11/HTML/000994.html
    Thanks,
    null

  • Bug in fireworks CS4 when exporting 24/32bit png with transparent alpha?

    Hi there,
    I recently upgraded to CS4 from CS3 and am quite disappointed to find that the png export facility for 24 or 32 bit png's is next to useless on my installation of Fireworks (Vista). I have a colleage who has reported the same behanviour on his mac.
    Please see this native fireworks CS4 png file and attempt to export it as 24 or 34 bit png, ensuring the canvas is transparent (it shuold be already)...
    http://www.capitalh.net/demo-bug.png
    Viewing in preview mode in CS3 would show the png with its alpha channel indicated by the chequered transparent pattern. Exporting it as such would produce the desired result > a png with a nice blended alpha channel.
    Viewing in preview mode in CS4 shows a horrible render of the image on a white background. Exporting the image produces the same result. Please see this link for confirmation:
    http://www.capitalh.net/demo-bug-export.png
    Please also see this simpler image, this time using a simple ellipse shape:
    http://www.capitalh.net/demo-bug-export-simpleshape.png
    You'll notice that it is not transparent, and the ellipse has not been anti-aliased.
    Can anyone shed some light on this behaviour?
    Exporting png's as such is something that I do daily at work, and is a basic requirement of an image editting application targetted at web design.
    Am I doing something wrong? I've been using Fireworks since 2003 so I'm inclined to think that I'm not.

    That's a bit, um, oh never mind. Would've been a rubbish joke anyway.
    Aww...pooh. I love "rubbish" jokes!
    If fireworks is unable to export a transparent png at 24bit, then why have the option?
    (granted the option is acutally implied, not given)
    Also, why the horrible rendering on preview and export?
    Transparency for 24-bit isn't an option and isn't implied. Create a FW document with a transparent canvas. Go to File>Image Preview. If you select PNG8 as your export option, then you have drop-downs for No Transparency, Index Transparency, or Alpha Transparency. PNG32 shows the checkerboard where the document is transparent. If you select PNG24, you do not have the transparency options. Transparent areas in your document are set to white, just as they are if you select the JPEG format. Try it.
    I don't know why your rendering is horrible. I'd have to see your image.
    And also, why all this confusion related to Photoshop, seems Adobe really aren't helping the issue:
    http://forums.adobe.com/thread/152434
    Possibly Adobe thought it was less confusing, as they didn't have to go into the math. However, you do see Linda Rathgeber's answer, that the Photoshop convention is...well...misleading? (I'd call it wrong, but that's just me. ) It's just one other issue to bring into alignment as Adobe works to merge the Macromedia offerings into their line.

  • Quartz bug with movies with alpha - workarounds?

    Hello, I've found an odd glitch in Quartz Composer, and would like some help working around it;
    I created a movie with alpha (32-bit PNG to .mov, PNG, millions+ via QuickTime 7. Tested and it exported correctly) and loaded this using a Movie Importer patch (with Colour Correction disabled). Sending this directly to a billboard, the alpha is there, but way off in value (seems to be shifted to range ~0.5-1.0 instead of 0.0-1.0, but 0 is still 0)
    While trying to fix this, I found that putting a pixel-editing patch between the importer and the billboard makes the problem (almost) go away (doesn't work with a resizing patch, but Color Controls and Color Matrix, with all values at default, work), which says to me that this is a bug rather than my misunderstanding. But it still doesn't render correctly - seems to be from ~0.1-1.0, possibly with gamma too.
    Is there something I missed (maybe a disable colour correction option somewhere?) or a workaround somebody knows?

    HI Gary,
    You may have to reset keyboard shortcuts for different applications. Not an unusual thing to happen after an upgrade.
    Go here for help. http://docs.info.apple.com/article.html?path=QuickTime+Player/7.0/en/kbshortcuts .html
    BTW... could you please click My Settings on the right side of this page and tell us which Mac you have and add 10.6 to your profile. It will help us to help you in the future. Thanks!
    Carolyn
    Message was edited by: Carolyn Samit

  • BUG: Changing "alpha" with AS breaks other property changes on timeline

    I've discovered a bug in AS3 where a Movie Clip that spans 2 different frames, but its properties are different in each frame (i.e. it has been repositioned on the 2nd frame but the instance name is the same), and the MC's alpha is changed using ActionScript prior to moving the timeline from one frame to the other, the timeline moves, but the MC does NOT actually move.
    I'm experiencing this error in a professional project that I'm working on so I cannot post the actual FLA, but here is a little mock up that I made:
    stop()
    currentFrameTxt.text = currentLabel
    var alphaChange:Number = .1
    var alphaMax:Number = 1
    var alphaMin:Number = 0
    alphaUpBtn.addEventListener(MouseEvent.CLICK, alphaUp)
    function alphaUp(evt:MouseEvent) {
        box.alpha += alphaChange
        if (box.alpha > alphaMax) {
            box.alpha = alphaMax
    alphaDownBtn.addEventListener(MouseEvent.CLICK, alphaDown)
    function alphaDown(evt:MouseEvent) {
        box.alpha -= alphaChange
        if (box.alpha < alphaMin) {
            box.alpha = alphaMin
    leftBtn.addEventListener(MouseEvent.CLICK, gotoLeft)
    function gotoLeft(evt:MouseEvent) {
        if (currentLabel != "left") {
            gotoAndStop("left")
        currentFrameTxt.text = currentLabel
    rightBtn.addEventListener(MouseEvent.CLICK, gotoRight)
    function gotoRight(evt:MouseEvent) {
        if (currentLabel != "right") {
            gotoAndStop("right")
        currentFrameTxt.text = currentLabel
    On Frame 1 (labeled "left") is an MC with the instance name "box" and the box's position is on the left side of the stage. On Frame 11 (labeled "right") is the same instance "box", but its position has been moved to the right side of the stage.
    I have a pair of buttons ('leftBtn" and "rightBtn") that toggle the timeline between the "left" frame and the "right" frame.
    I also have a pair of buttons ("alphaUpBtn" and "alphaDownBtn") that change the box's "alpha" property.
    If you click "leftBtn" or "rightBtn" before you click the "alphaUp" or "alphaDown" buttons, the box moves left or right as one would expect. BUT if you click either "alphaUpBtn" or "alphaDownBtn", the box does NOT move if you then click "leftBtn" or "rightBtn" even though the timeline is indeed moving (which I am confirming using the "currentFrameTxt" dynamic text box).
    I have tried this example by changing other properties on the 2 frames and they too stop working once you change the "alpha" using AS. I have also tried change other propeties using AS, but alpha is the only property to breaks the other properties changed by moving the timeline.
    Why would changing the "alpha" property suddenly break all other property changes on the timeline?
    Now I know that one work-around for this bug is to simply change the box's position dynamically by setting the x and y positions, but this is NOT an option for this project because it is very important that the client be able to manually position the artwork on each frame by hand.
    This is a serious bug and I'm wondering if anyone else has encountered it before and if they know of a viable workaround.

    I did some more testing by changing other properties of the box with AS and it appears that for most properties, like alpha, x, y, rotation, width, height, etc, if they are changed with AS, then the properties of the MC can no longer be changed by the timeline settings. Changing the "visible" property has no effect, however.
    It seems that this "bug" is not really bug so much as it is a fundamental misunderstanding on my part about the fact that you CANNOT change the properties of a symbol using BOTH ActionScript and timeline properties. I can only change the properties of using either the timeline OR ActionScript because as soon as I change the properties using AS, the MC becomes an AS-controlled object and can no longer be controlled via the timeline. I guess that makes sense, but it is frustrating nonetheless.
    Colin, your suggestion to nest the MC inside another MC is indeed a successful workaround, at least for this little box example (see fixed FLA attached with the "left" and "right" timeline property changes nested inside the box itself) and I will see if it is a viable solution for my actual application. I'm guessing it will not be a problem for my client to simply navigate inside a parent MC in order to adjust the positions of the now-nested MC in question.
    Thanks for the help.

  • BUG: Inputting decimal places into new duration preferences (Premiere Pro 2014.2)

    So, I checked the release notes for the newest version of Premiere Pro CC (2014.2). I was happy to see the ability to switch between frames and seconds when choosing the default durations of transitions and still images.
    Immediately found a bug. Decimal places don't work correctly after switching units.
    Open Preferences.
    Switch Video Transition Default Duration units from the default Frames to Seconds. Try to insert a decimal place using the keyboard. It doesn't work.
    Hit OK to close the Preferences, with Video Transition Default Duration now set to seconds
    Open preferences again and change the units back to frames. Now try to input decimal places. No matter where the text cursor is, the decimals just get added to the end of the form field.
    This seems to affect all three form fields (not just Video Transition, but Audio and Still Frame as well).
    Really weird bug, and I'm not sure how you guys at Adobe missed this one...
    Anyone else having this bug? I'm on Windows 7.
    If so, can someone please file an official bug report? I'm at work and low on time, but I felt like I needed to bring this up to make sure I'm not the only one in this boat.

    I've reproed this issue and logged a bug report.
    A workaround is to toggle the Unit setting, click Okay to close Preferences, then reopen Preferences and adjust the Value. Sorry for the inconvenience.
    I urge you to submit your own bug report (Adobe - Feature Request/Bug Report Form). The more customers who report an issue, the higher the odds that a fix will make it into the next release...

  • Bug importing alpha channels on mini-timeline?

    In Motion 2, either I'm missing something or there's a bug when multiples files are imported via the mini-timeline.
    Here's what's happening:
    I drag 2 or more files to the mini-timeline and wait for the pop-up box to appear. From here, I choose either "Composite" or "Sequential." When I import using this method the Alpha Type is set to "none/ignore" for each of these files. (I verify this by selecting each file in the Media tab and using the Inspector to look at the setting.)
    If I use ANY other method for importing media (dragging a single file to the mini-timeline, dragging single or multiple files to the canvas, importing single or multiple files using the "Import" button) the Alpha Type is set correctly to "straight."
    Can anybody shed light on this subject?
    Thanks!
    Bryce
    G5 dual 2.5   Mac OS X (10.3.5)  

    Thanks for the info ... and yea, I think most people don't notice the FAQ notice when first signing in to ask questions. You're not alone.
    Just as a matter of course, I'd note that if that external drive isn't on an eSATA II or Thunderbolt connection, it's not gonna be the greatest connection you could have. USB 3 just doesn't have the sustained read/write throughput needed for all footage codecs as there's a LOT of read/write going on during playback.
    However, that shouldn't cause the above mentioned problem. Hoping shooternz or some of the more Ae-experienced folk jump in here to help you ...
    Neil

Maybe you are looking for

  • Closing a Stock Transfer draft (using Delphi 7)

    Hi, I have this code to close a Stock Transfer draft (ie. using 'Cancel' method):            with GetBusinessObject(param_type) as IDocuments do begin              ok := GetByKey(StrToInt64(param_key));              if ok then result := Cancel();    

  • Mobile account users can not log on to the snow leopard server machine?

    Hi all, I've setup a network user and designated it as a mobile account. ** OS X 10.6.2 ** When the user logs out of the snow leopard server machine, home sync tries to sync the local and network home directories. It is never able to connect. The net

  • After Effects not using free RAM?

    Hi there Just like to ask question regarding after effects and ram usage. I remember before I installed the app Memory Booster - that allows you to keep track of how much ram, there was a healthy use of RAM there from after effects. But i noticed tod

  • Optimizing an SQL Query using Oracle SQL Developer

    Hi , Currently i am using Oracle SQL Developer as my Database IDE . Is it possible to use Orqcles SQLDeveloper for the purpose of Optimizing an SQL Query ?? For example assume i am having a query as : Select from Tranac_Master where CUST_STATAUS='Y'

  • Quantity gets divided by 1000 while a BAPI is used to create a quotation...

    Hi all, I am using a BAPI "BAPI_QUOTATION_CREATEFROMDATA" to create a Quotation. I am passing the value 1000 to the REQ_QTY field and that is getting stored as 1 in the Quotation. How should we handle this situation inorder to have 1000 as the quanti