Non-liner changing of _alpha property

I have following problem: I try to modify _alpha property of
an object using AS, increasing the _alpha value non-linearily
I have three frames movie.
On the fisrt frame there is a mc called "OBJECT", with _alpha
set to "0", plus this AS:
speed = 10;
beg = OBJECT._alpha;
end = 100;
difference = end-beg;
move = difference/speed;
OBJECT._alpha = beg+move;
on the second frame I ask if the _apha value has already
reached the "end" value (which is set on the first frame), if NOT I
go back for the first frame and if YES I would continue my movie
if (OBJECT._alpha<(end-1)){
gotoAndPlay(1);
} else {
gotoAndPlay(3);
BUT thing is that the _alpha value NEVER reach the "end"
value set on the first frame. Just in case the "speed" value is set
for "2", every other value DOES NOT WORK ... and that is the
question - WHY?
thanks for any helps

that's not correct. flash represents the alpha as a number
from 0 to 255 and that's not relevent to your problem.
what is causing your problem is that flash allows only 8
significant digits to represent an object's alpha and you chose a
series of alpha's that converge too slowly. if you'd chosen speed =
2 (or 3) you'd have no problem.
or if you'd performed your increments on a variable that
stored the alpha you would realize the usual flash 15 digit
accuracy and could have used speed = 10.

Similar Messages

  • Converting Line item dimension to non line item dimension

    I have some BI 7.0 issues.
    For some of the existing cubes I had certain dimension as line item dimension  - I wanted to add some characteristic to these dimensions. I am able to do this change and activate the cube.
    But we noticed that the data which is a part of the line item dimension is lost. If the data set is small then we could have done a reload but in my case the volumes are huge, so reloading data is not a possible solution. We actually did the same exercise in BW 3.5 and noticed that the data is intact. We have looked into OSS notes and not found anything so far.
    Kindly help me to find a way to convert Line item dimension to non line item dimension in BI 7.0 without loosing Data.

    Hi,
    the only way to do is to generate a new cube and transfer the data from the first cube via transformation rule. A conversion within the existing cube is not possible.
    Regards,
    C. Aslan.

  • MySQL non-transactional changed tables ...

    I'm trying to test the rollback functionality of my db connection by executing 2 INSERT statements:
    INSERT INTO Users (login_id,name,language_code) VALUES ('Satanka','Satanka','2')
    "INSERT INTO Users (tlogin_id,name,language_code) VALUES ('Satanka','Satanka','2') // this one should fail becase there is no tlogin_id column in the Users table
    When I run my test program I got the followin error message:
    java.sql.SQLException: Column not found: Unknown column 'tlogin_id' in 'field list'
    at org.gjt.mm.mysql.MysqlIO.sendCommand MysqlIO.java:508)
    at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:561)
    at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:646)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:973)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:897)
    at org.gjt.mm.mysql.Statement.executeUpdate(Statement.java:230)
    at org.gjt.mm.mysql.jdbc2.Statement.executeUpdate(Statement.java:99)
    at com.pylon.portal.timesheet.datahandling.DBBrokerSingleton.ExecuteSQLUpdate(DBBrokerSingleton.java:70)
    at DBClient.main(DBClient.java:12)
    //to this point I understand everything but next line
    java.sql.SQLException: General error: Warning: Some non-transactional changed tables couldn't be rolled back
    at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:508)
    at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:561)
    at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:646)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:973)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:897)
    at org.gjt.mm.mysql.Connection.rollback(Connection.java:590)
    at com.pylon.portal.timesheet.datahandling.DBBrokerSingleton.ExecuteSQLU
    pdate(DBBrokerSingleton.java:78)
    at DBClient.main(DBClient.java:12)
    Why a simple insert is a "non-transactional" change?
    I'm creating the connection like this:
    Connection con=DriverManager.getConnection("jdbc:mysql://"+url+"/TimesheetDB?user="+Name+"&password="+Pass);
    con.setTransactionIsolation(java.sql.Connection.TRANSACTION_READ_UNCOMMITTED);
    con.setAutoCommit( false );
    I'm using JRE 1.3
    JDBC driver mm.mysql-2.0.4-bin.jar
    mysql server 4.0

    Yes, you're right. I found that the default table type won't let me use transactions, and Mysql Server sent me the message.
    I thought that
    "java.sql.SQLException: General error: Warning: Some non-transactional changed tables couldn't be rolled back"
    refers to a problem inside the virtual machine.
    Now I'm trying to setup the MySql to let me create InnoDB tables. Not so simple eh...
    Thanks for helping

  • Dynamical change read only property of  columns based on a profile option

    Hi,
    We are attempting to change a Oracle iProcurement(ShoppingCartPG) which has certain readonly columns by default.
    However, we need to make these columns updateable based on a responsibility level profile option. The code goes something like this.
    if readonly_profile_option = "TRUE"
    {make columnA property = readonly}
    else if readonly_profile_option = "FALSE"
    {make columnA property = updateable}
    I read the guide about switchers and it seems confusing (to me). So if someone can provide an example with some pseudocode that will be helpful.
    Also, can I dynamically add an LOV to column A if readonly is false? Of course the LOV should be disabled if readonly.
    Thanks a lot

    Hi,
    Thanks for the feedback.
    Tapash,
    Switchers definitely don't make sense.
    Raffy,
    Didn't know it was that simple. I always thought that the controller fires--> then the page renders --> then the VO attributes get poulated. Basing my understanding on this flow, I though that the bean properties can only be set in controllers and not in VOs(via SPEL). I'll try it tomorrow.
    Aprreciate your comments on the following.
    Our requirement is to make an Oracle seeded field(SupplierName in iProcurement) updateable and with an LOV . Oracle has seeded it as ReadOnly.
    I have two options.
    1. If I change the readonly property in jedeveloper(I cannot access it via personalization) and add SPEL that would be upgrade 'unsafe' customizing - I think.
    2. So I thought I'll extend the controller, substitute it and use
    messageLOVInputText SupplierNameBean=webbean.findChildRecursive("SupplierName");
    if{profle=not_read_only)
    {SupplierNameBean.setReadOnly(false)};
    else
    {SupplierNameBean.setReadOnly(true)};
    This is more upgrade safe. I have talked to the iProc development team and they are fine with it.

  • How do I change the name property of a file in a document library?

    I am trying to come up with an Event Receiver that will change the name property of an file when it is uploaded. For instance when a file is uploaded into a document Library, currently the Title is being generated (which is fine)...I want to be able to
    change the "Name" property from whatever it is, to match exactly what is in the "Title" property. Are there any sample codes/blogs out there that I can take a look at? Has anyone  had any experience doing this? It seems like something
    that should be straight forward, to change the "Name" property to match what is in the "Tilte" property.

    Hi,     
    You can try the code below which use the SPFile.MoveTo() function to change the name of the file.
    EventFiringEnabled = false;
    SPFile f = properties.ListItem.File;
    string spfileExt = new FileInfo(f.Name).Extension;
    f.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["Title"]+ "_new" + spfileExt);
    f.Update();
    EventFiringEnabled = true;
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cafb8e4-bb85-4147-9bda-4ab42a4d4817/sharepoint-2013-event-receiver-to-rename-files-not-working?forum=sharepointdevelopment
    A link about rename uploaded file using Event Receiver for your reference:
    http://paulgalvinsoldblog.wordpress.com/2008/01/25/quick-easy-rename-uploaded-file-using-sharepoint-object-model-via-an-event-receiver/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Report for schedule line changes

    Hi,
    Need to develop a report to capture  the schedule line changes .is there any standard report avaiable in SAP to find the changes of schedule ilnes.
    Thanks & Ragrds,
    Renuga.A

    Hi, Renuga
    Please check the T-code : AUT10 ,  with required transaction code and date range.
    Hope it will help U...
    Regards
    Vikrant

  • How and Where to change ESS payslip property as READ only Mode

    Hi,
      We are SAP ECC5.0 and using EP6 for ESS payslip. We have a problem
    launching ESS payslip for those employees who have Acrobat Editor and
    Reader installed. One can actually change the payslip information via
    Acrobat Editor when click onto PRINT button.
    However, for those without Acrobat Editor installed in the PC, we do
    not have such problem. Please advise how to resolve this.
    Was told to change ESS payslip property as READ only Mode. Unable to find this in the configuration setting.
    Thanks.

    You may further look at the following help link:
    http://help.sap.com/saphelp_nw04/helpdata/en/97/ccfc3f0ac2c642e10000000a1550b0/frameset.htm
    If it helps, pl do reward.
    Thanks
    Narasimha

  • Non cumulative with non-cumulative change

    Hi Experts,
    I have a Question !, As i know that i can create Non-Cumulative Figure By Means Of two ways:-
    1. Non cumulative with non-cumulative change and
    2. Non Cumulative with Inflow and Outflow.
    the second one is very clear but i am not very clear about 1st option i.e What Non-Cumulative Value changes is? and how it calculates the non-cumulative Value.
    If u have an Idea please share your knowledge...
    Ragards
    Prakash

    The 1st option is for key figures like headcount or similar, which you would like to store as a total figure in a cube instead of a DSO in a scenario where you are using a multiprovider on this together with other non-cumulative cubes.
    The SAP help below explains this quite well
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    Best,
    Ralf

  • Why did my audio & video lines change colors?

    I was working in a sequence when suddenly all my lines changed colors on me. The audio and video lines are the exact same shade of blue and its very disorienting. Even after I  alter an audio clip in Audition the colors don't change. I've tried quitting, restarting my mac, opening older projects... I can't get the original colored lines back. Is this some new software update? How do I get the different colored lines back?

    Okay let me rephrase. The color change is weird but not a major issue. The major issue is that my audio waveforms aren't being displayed anymore.
    Even after I expand that audio line theres no waveform... I need to see where my audio is peaking. Any idea whats going on or how to fix?

  • To Change the Readonly Property

    Hi,
    In Portal  Personal data Screen for belgium , Country of Birth field (Drop Down Box) is  Read Only.
    We have to change the readonly property.
    I tried through iView personalisation ,the property of that field is Not readonly.
    2) In the WD java Application  the field property is  NORMAL .
    3) I have checked in V_T588MPROPC, there also we dont have any entry for this field.
    In Backend ECC this field is editable ,
    Can any one please let me know where should i will change to make this field as Editable.
    Regards
    Alexi

    Please check the following tables:
    V_T005
    V_T588MFPROPC
    V_T588MFPROPS
    T77WWW_SC
    V_T582ITVCHCK
    Note 1498555 - How to make a field mandatory or optional in ESS
    "V_T588MFPROPC only makes the field mandatory, optional or unused
    by the back-end business logic checks it will not change a
    UI display property like Read-Only
    You could try the Personalization options - Ctrl and Right
    mouse button over the UI element (either in the browser
    or in a PCD preview - for global changes for all users)
    - please check there for options to change the country
    field to editable
    However I suspect the field is read-only because
    1) You are on a lower release than EHP3 -foreign address
    maintainence via Country field is only available
    as standard from EHP3
    2) You do no have EHP3 business function HCM_ESS_CI_1 switched on
    these business functions activate foreign address functionality
    3) You are editing a record - try instead creating a new record
    4) Inconsistency in V_T7XSSPERFORADD - check this against client 000
    Hope this helps identify the problem

  • Using Line Stretch With Frame Property

    Hi Folks,
    I'm using Report Builder (Developer 2000 ver 6.0) and in one particular report, I would like to have vertical lines between displayed columns from the table.
    When I use the Layout Model and draw lines between the columns and use the Line Stretch With Frame Property of that particular line and choose the relevent frame, the line stretches with the number of records ( as I have reduced the number of records to 8 per page) only on pages from 2 onwards. On the first page the line does not stretches. Why is that?
    Similarly I would like to draw a line at the end of each record on each page, but when I draw the line in the Layout Model, it is always displayed in the middle of records instead of the last record.
    Thanks in advance
    regards
    Hassan

    It's a hardware fault. I suggest you make a "Genius" appointment at an Apple Store to have it tested. It's a free service. The repair won't be free, but if it's something simple, such as a bad memory module, you may be able to fix it yourself.

  • Change "Owner" table property

    Hello,
    I am using the last version of the JRC runtimes from CR4E to switch the datasources to JNDI. at run time It is working well, except by the fact of the queries taking the old (design-time configured) table prefixes. Looking at the report in designer, I can see that those prefixes are indicated in the u201COwneru201D table property for each table. No matter how I switch the sources (looping through the tables or using the replaceConnection method) those properties are not altered and then the queries end up pointing to the wrong schema.
    Can anybody point me to how should I change the Owner property for all the tables?
    Thanks in advance
    Juan

    Try changing the qualified name of the table:  Table.setQualifiedName(<owner.tablename>)

  • Change of Row Property during query execution possible?

    Hello Experts,
    is it possible to change the row property during query execution?
    In the case an input ready IP query can be executed for different customers. Depending on the customer class (attribute of customer), a certain row (containing account data) should be input ready or only be shown, but not input ready.
    How can this be achieved?
    Thank you!
    Angie

    Hi Angie,
      To determine the input readiness at  Run time based on the master data value of a particular characteristic value (In your case Customer),
    you can create data slice of type exit .
    The data slice is based on an exit class. In the exit class, you can implement a customer-specific logic to protect data records.
    Please refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    for more information.
    By using this, the required rows will be shown but not input ready ( As per your requirement)
    Hope this info helps. Or do let us know !!
    Best regards,
    Akshata

  • Can not change the field property - 10gR2 reports crashing on Linux :(

    All I want to do, is to change one field's property from NUMBER to DATE in the property palette. It does not allow me to do it (not east like forms). I can not change the field property - 10gR2 reports keep crashing on Linux :(
    I don't know if this is a Linux specific iDS issue, or a generic one.
    What are the proper steps to change one field (in my query, the field name is ptime, it was defined as a number field originally, and now I need to change it to DATE and apply the proper format mask). The matching database field definition was modified from number to date.
    very frustrating...
    Any input is appreciated.
    Message was edited by:
    zaferaktan

    nop, did not change anything in the select statement at all. Just selected the related query under the data model (in the navigator), then selected the related query from within the property panel, connected to the db, then from the related navigor menu selected compile all, when the related query was highlighted (selected). Then I saved it, checked the groups, and bingo - the datatype was changed from number to date. Then I went to the related object under the page layout and applied the format mask (that was another funny story). And it worked. It is not as flexible as the forms for sure - pain in the a.. And I still don't know why Reports Builder keeps crashing on Linux - have no problems with Forms Developer on Linux at all. It is a certified RH platform with all the required libs, rpms, etc installed. I am certain it is not an installation issue. Maybe I should check Metalink and apply if an iDS 10gR2 patch exists for reports.

  • Changing  Member Storage property

    Hi,
    Is there a command in ESSCMD/MAXL to change the storage property of a member from Store to Dynamic Calc or vice-versa.
    Thanks in advance

    Hey Russ,
    You can't do it directly with MaxL, but you can set up a Rules file that reads in a text file with the member storage property, and that can be initiated via MaxL.
    Search the DBA guide for "Creating Rules Files", this will give you a table of the character to use to set the member storage property, as well as other useful information.
    Robert

Maybe you are looking for

  • Fill in Form Problems and Signing Problem

    My form is built in LiveCyle with fillable form and 3 signature boxes.  I imported the form from a previous version.  It looks and acts fine in Livecyle, but when I open it in Adobe Reader you cannot fill it in nor sign it.  While in LiveCyle, I did

  • String Array Constant Addition

    Is there an elegant way of marking the last element in a string array constant? i.e. I take an Array constant, and add a simple string to it, so that it becomes a String Array Constant. Now I add elements 1 and 2 and 3. But now I want to take element

  • Can  I write titles of comments on the picture image using iPhoto?

    I will like to be able to write titles or labels in the pictures stored on iPhoto files without the need to go to another photo software. Is it a way to write descriptive titles on the image using iPhoto? Thank you g5   Mac OS X (10.4.8)  

  • CS5: Where is Help?

    Just got CS5.  When I go to Help menu, all I get is Mac Help, no Photoshop Help.  Yes, I am in PS, and they are the PS menus.

  • Can't delete some email

    Hello. I have a strange problem that I don't know what to do about. On August 3rd, I received an email some unknown person saying that there is a mail delivery system error. I look at it and it seems that someone was using my email as a return addres