Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    The attached is a cut-down version of something I am working on. Click on 'Georgian'. Why is the third blob black?

    Actions/XML loads the XML file.

    Palette1/P1Swatches should pick up the three globals: _root["swatch1x1Color"] etc. The next lines assign these to the three blobs. There is a problem with 1x1 and 1x2 but 1x3 appears to work as a colour. It applies fine to two of the swatches but not the third. Can anyone spot why not? swatch1x3 seems to be a problem - are there two of them? I hoped cutting down the file would find it but it didn't. Renaming it to be swatch1-4 solves it but why?????

    Thanks.

    www.bricksandbrass.co.uk
    Attached Files Attached Files
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

  2. #2
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    The attached is a cut-down version of something I am working on. Click on 'Georgian'. Why is the third blob black?

    Actions/XML loads the XML file.

    Palette1/P1Swatches should pick up the three globals: _root["swatch1x1Color"] etc. The next lines assign these to the three blobs. There is a problem with 1x1 and 1x2 but 1x3 appears to work as a colour. It applies fine to two of the swatches but not the third. Can anyone spot why not? swatch1x3 seems to be a problem - are there two of them? I hoped cutting down the file would find it but it didn't. Renaming it to be swatch1-4 solves it but why?????

    Thanks.

    www.bricksandbrass.co.uk
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

  3. #3
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    but if I reassign the variable in the Palette layer:

    p1s1Col = _root["p1s1Color"];

    and then use this new variable, it works fine.

    Do tell me why!!!!

    www.bricksandbrass.co.uk
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •