How to change light type?

Does anyone know how to change light type?
What happens is that I have a button that I would want to create a Point light, but it just create a spot light.
Does anyone know how to change it to create a point light?
My code is:
//Add a Point Light to active Comp
       addLightCtrl.onClick = function(){
           var pointLight = proj.layers.addLight("Light", [960, 540]);

See the LightLayer object's lightType attribute. Page 100 of the AE CS6 scripting guide.
pointLight = activeItem.layers.addLight("Light", [960, 540]);
pointLight.lightType = LightType.POINT;

Similar Messages

  • How to change data type of attribute in caf

    hi.
    this is my problem.
    i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
    when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
    because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
    is anyone had same problem like me?
    how to fixed it(if passable)?
    and, how to change data type?
    thanks.

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • Where is "save as" or how to change file type in Preview in Lion?

    Where is "save as" or how to change file type in Preview in Lion? I used to use Preview to change quickly change a lot of PNGs to either JPEGs or PDFs but with the introduction of versions auto save etc there no "save as" in the File menu. Any suggestions how to get this functionality back or how to get around it within OS X (no Photoshop etc)?

    Just wasted 15 minutes looking for that.  What's wrong with Save As?

  • How to change latency type to fast?

    How to change latency type to fast?

    ADSL Line Status
    Connection information
    Line state:
    Connected
    Connection time:
    5 days, 03:08:00
    Downstream:
    16,403 Kbps
    Upstream:
    948 Kbps
      ADSL settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.5 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    3.1 dB / 4.7 dB
    Line attenuation (Down/Up):
    30.5 dB / 16.2 dB
    Output power (Down/Up):
    20.9 dBm / 12.2 dBm
    FEC Events (Down/Up):
    313987846 / 3701
    CRC Events (Down/Up):
    2155 / 18271
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    Loss of Link (Remote):
    0
    HEC Errors (Down/Up):
    49173 / 14016
    Error Seconds (Local/Remote):
    0 / 17361

  • How to change nat type 3 to nat type 2 for Plastation 4?

    how to change nat type 3 to nat type 2 for adaptation 4? i am havng a complicated time with this im'm just trying to play online and been at it fotr 3 days i have tried about everuyhing n portforwarding.com i have a Cisco Linksys E1000

    Hi ceasar14. I actually found some steps (from a source) that worked for me. I'm not sure if it will work for you. Here are the steps:
    1. Get the MAC address of your PS3. To find your MAC address simply go to
    Settings > System Settings > System Information
    2. Assign a static IP address on your PS3.
    3. Access your router's user interface to open a few ports. 
    4. Under Applications and Gaming > Port Range Forwarding, open the following ports:
    TCP: 80, 443, 5223
    UDP: 3478, 3479, 3658
    5. Once this is done, powercycle your PS3 and the router.
    6. Run a connection test and check if it is now on NAT2.
    Good luck.

  • HOW TO CHANGE ACCOUNT TYPE FROM IMAP TO POP

    HOW TO CHANGE ACCOUNT TYPE IN YOUR EMAIL FROM IMAP TO POP

    You can't.  You need to create a new account in Mail.
    Note, when setting up a new account (after clicking the '+' in the Accounts proeference), enter an invalid email address or option click the Continue button to be given the choice of account type (POP or IMAP).

  • How to change material type and industrial sector of the exsisting material

    Hi,
    There is an issue where user wants to change material type and industrial sector of the exsisting material .Is  it posible to do so??
    IF not ,how can we delete that material from material master so that another material with same number and required material type and industrial sector  can be created.
    Points will be definitely rewarded.
    Thanks
    Rohit

    Hi Rohit,
    You can change the material type in MMAM trxn code if the material dosenot conatain any open purchase requisitions, open reservations & open purchase orders. Also material stock should be zero.
    Remember the new material type should have same attributes same as old material type.
    OLD Material New Material
    1) Standard Price 1) Standard Price
    2) Manufacture part 2) Manufacture part
    profile actvated profile actvated
    3) Quantity & Value 3) Quantity & Value
    Updation in all areas Updation in all areas
    4) should have same GL 4) Should have same GL acs
    acs
    It is not possible to change Industry sector once created.
    If you want to delete the Material, you can flag it in MM06 trxn code.
    Reg,
    Ashok
    Dont forget to Assign points if useful.

  • How to change set type attribute of a product

    Hi ;
    I created additional fields for products by using "COMM_ATTRSET". It created a table and functions but I dont know how to change this additional attributes.I cant use these attribute set functions because i dont know fragment_id yet. I think there must be a function encapsulates them.
    Is there any BAPI to change set type attributes?
    PS: In forums , I found an FM "COM_PRODUCT_MAINTAIN_MULT_API" but I think it hasnt been used anymore in CRM7.0
    Thanks

    Thanks for your reply ;
    but FM 'COM_PRODUCT_UI_MAINTAIN' doesnt have any generic import parameters to send my data to it in form of  newly created attribute set type table "ZPRODUCT".
    I want to set some fields of ZPRODUCT and i need to send them in this structure,  this table has column FRG_ID , if you set an additional  parameter for the first time , it generates new GUID..I think  'COM_PRODUCT_UI_MAINTAIN'  generates this GUID but i dont know how to use it.
    Can you give an example about using this FM?

  • Error value = 73, How to change the type of password?

    I want to use the famous wiki integrated in leopard, so I had to configure open directory and DNS.
    Well my problem come from that I can't configure open Directory, just after creating a new admin, I have no possiblity to change the type of password, there is just the type shadow, and I know that we had to choose open directory's type.
    Obviously, I'm authenticated in the workgroup manager
    Which services I had to turn on to use open directory's type?
    Or which mac I have to hit.
    THX

    Hi
    So I had to configure open directory and DNS
    What did you do or not do exactly?
    My problem come from that I can't configure open Directory
    You won't be able to configure Open Directory to allow different password types unless you either bind your Server to an existing KDC or make your Server the KDC. For the Server to be a KDC (Kerberos Distribution Center) it has to be an Open Directory Master. Successful promotion to an Open Directory Master Role absolutely depends on a correctly configured and running DNS Service - either on the server itself or on another server on the same network.
    There are plenty of posts in these forums outlining how to configure your Server in terms of DNS as well as how to promote to Open Directory Master. Apple themselves make available Admin Manuals that should assist:
    http://images.apple.com/server/macosx/docs/OpenDirectory_Adminv10.5.pdf
    http://images.apple.com/server/macosx/docs/NetworkServices_Adminv10.5.pdf
    Failing this these forums (as already mentioned) as well as:
    http://www.afp548.com
    Hope this helps, Tony

  • How to change data type of input parameter

    Hi
    In my procedure i declared the data type of "Value Date" Input parameter as Date where as in CR it is showing data type as "Date Time". Can any one please specify how to change to Date.
    While prompting for input parameter in description it is showing message as
    Please enter Date time in format"yyy-mm-dd hh:mm:ss" . To change the content selected "format field" option. But is there any way to change input parameter data type.
    Please suggest how to change.
    Thanks Sruthi

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • How to change your type of ipod in itunes

    How can you change your type of ipod in itunes.  We purchased a new Ipod touch and the computer/itunes will not reconize it.

    Try:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    Make sure you have iTunes version 10.5

  • How to change content-type in receiver mail adapter

    Hi,
    I have receiver mail adapter for sending XML file as attachment in the mail. My partner expects to receive mail with content-type: text/xml, but XI sends Content-Type: application/xml. Please advise how I can change content-type to text/xml.
    Thank you
    Lev

    hi,
    try MessageTransformBean
    Transform.ContentType
    http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm
    also shown in my blog:
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to change file type associations in SAP ERP 6.0?

    Hello,
    I'd like to figure out how to change the application associated with a given file type in SAP. I want to open a .DOC file, but I am using OpenOffice instead of MS Word. I have .DOC file type already associated with OpenOffice in Windows XP, but SAP doesn't seem to recognize that association. I am using SAP ERP 6.0. Any ideas?
    Mike

    Hi,
    MS Word is mandatory. You will not be able to work using Open Office in SAP.
    Regards,
    Rajesh Kumar

  • How to change MRP Type in mass ?

    Hi experts,
             I want to change MRP type (MDMA-DISMM) in MRP 1 view of material master. I checked in Tcode MM17 , but this field is not available for mass maintenance.
            How to change it in mass? Thanks in advance.
    Regards,
    Jay

    Dear,
    Tcode: MM17
    Select Plant Data for material: MARC
    In the menu: Click on Select New Fields
    In the selction list, pick MRP type
    Once MRP type is selection, replace old MRP type with NEW MRP type
    Once New MRP type is selection, enter the materials or plant for which NEW MRP TYPE is applied
    Lastly, execute the transaction.
    OR,
    You are  trying to change value of MARC-DISMM
    You can use BAPI BAPI_MATERIAL_SAVEDATA
    Regards,
    R.Brahmankar

  • How to change data type from Integer to Double?

    In a data set, BIP treat Oracle number type column as Integer. How to change it to double?

    Hi,
    This could be possible with the tcode RSD2 in BW.
    But before you do this you need to remove this KF from the cubes/dso in which they are used.Otherwise i don think you can do this.
    Once the change is done you could add them back to the DataTargets and load the data as required.
    Regards,
    Anoop

Maybe you are looking for

  • IPod to TV using digital camera cable, doesn't work. Help

    Hey I've got the iPod 5th Generation 30Gb video. I ripped one of my DVDs onto my computer and then used videora to convert the DVD for use on the ipod. I used iTunes to stick the movie on my iPod. The movie plays fine on the ipod, but when I go to co

  • Video Settings for WoW on new iMac.

    Just got a new iSight iMac and World of Warcraft. Running 1GB of ram. There are a bunch of video settings in this game that can be adjusted. Suggestions or would it best to just leave them on default.

  • ABAP Objects and Web Dynpro

    Hello everyone, I would like to know if it is possible to have instances of a class as a part of a controller context. You know, like if you added a service call to a BAPI or a function group, but with method calls to an object instead. I have a feel

  • Received kernal panic AppleACIPlatform running OSX 10.9.1

    On my MacBook Pro.  Came back from vacation to find kernal panic upon start-up.  Happens repeatedly (won't boot up in safe or normal mode).  Have tried restoring the hard-drive, restoring permissions (both of which said "restored fine" but problem re

  • If my camera cable was broken on my imac would photo booth still work

    Hi If my camera cable was broken on my imac would photo booth still work and what problems would occur if the Hard Drive sensor cable was disconnected