Using more then 126 chars for naming models...

Today i noticed that models in Shockwave3D can have a maximum
number of 126 characters. I needed to know that because i have to
store some Informations in the names of the models when i export
them (i have not option to use the "userdate" when exporting the
models).
But now something interesting happend when i tried to create
long names in director via lingo. If the names are longer then 126
charakters they are limited to the first 126.
if you use for example this code to generate a new group:
member("world").newgroup("Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliq")
this are 126 chars, you get a group with exact this name.
if you now add more charakters at the end it will produce
another group with the same name as the group above. You can check
this in the Objectinspector.
use now this code:
member("world").newgroup("Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliqLorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliq")
It will produce a second Group with exact the same name. The
good thing is, that you can still reference to the model with that
long name, the bad thing is, you can't read the full name of the
model anymore.
What does this mean in the end?
There is a visible name of the model that can be read by
lingo, but there is the "real" name of the model that can be used
to reference to models. If the names have more then 126 chars you
can only see the shortend name but its still nessesary to reference
to the longer name.
if you try this in the message window (this are 127 chars, i
added a "2" as last character):
member("world").newgroup("Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliq2")
put member("world").group("Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliq2").name
-- "Lorem ipsum dolor sit amet, consectetuer adipiscing elit,
sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliq"
but
put member("world").group("Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliq").name
will give you an error!
Conclusion:
It's better not to use more then 126 characters for naming
models.
But if you want to prevent your 3D models from being used by
other people, then you can use longer names and add for example a
serialnumber to the models, behind char 126. So you can generate
shockwave apps that need to know the correct name of the model.
if you give your models in your 3D app names like this:
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit,
sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliq_12345"
(132 chars)
the last part is in this example the serialnumber "_12345"
you can only reference to the models with
serialnum="_12345"
rightname=member("world").model[1].name & serialnum
put rightname.position
Maybe interesting to some people that want to make external
w3D files unconfortable to handle for other people, you still can
reference to the models by their numbers. I think it will only
prevent models form the "CloneModelFromCastmember" command, not
much... in the end there is no real protection when external *.w3d
files are used...
regards!

hondo3000 wrote:
> I know that this is not more then a gesture. but if
people try to use "3DPI"
> for example and push the "CloneModelsFromCastmember"
button it will not work.
> CloneModelFromCastmember needs to know the model by
name.
>
> Using the "clone" comand like this:
> member("world").model[1].clone("clone001")
>
> will produce a errormessage and a model that is named
like the original one.
>
> But you are right, this is absolute useless at all. if
you know a little lingo
> its possible to copy models in different ways.... So
sorry for posting this
> here, it was just little bit late and i was not thinking
long enough about
> it...
hehe Don�t worry! It�s good to post here things
like these. I already
faced the character limitation and couldn�t use
userData either because
the modeler needed to use Maya. Can�t recall how did I
solve it... I
think that using a database. Anyway, now we know that we
won�t be able
of stealing your models with 3DPI
Regards,
Agust�n Mar�a Rodr�guez
www.onwine.com.ar > Macromedia Director demos & code

Similar Messages

  • How do you use more then one computer for your Ipod??

    One of my computers died and I want to still use iTunes to get more music but I don’t want to erase what I have on my iPod now. I need to use a different computer with out erasing all the music I have now?? HELP

    If your iPod is set to update automatically you need to take care connecting to a different iTunes. You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7.3 or later installed hold down the Shift + Ctrl keys together. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes - Keyboard Shortcuts for Windows
    When your iPod appears in the iTunes source list change the update setting to manual. If you want to connect and use an iPod on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. The content of iTunes and the iPod are not syncronised in this mode so the two can be different. You can directly access the content of the iPod and play it through iTunes and you can drag and drop whatever you want to the iPod from either library:
    Using iPod with Multiple computers
    Managing content manually on iPod
    Syncing Music to iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device: Safely Disconnect IPod

  • HOW DO I USE MORE THEN ONE ITUNES WITH MY IPHONE WITHOUT ERASING MY MUSIC?

    I have two different laptops with iTunes on it. I use both of them but my iPhone only works with one iTunes. I plug it into the computer and it says that my iPhone cannot use more then one iTunes. Is there a way I can use both or no?
    YES I AM CLICKING MANUELLY ADD SONGS TO MY iPhone.
    I just bought my iPhone about a week or so ago.
    Please help ASAP.

    I clone my library to a portable drive using SyncToy 2.1, a free tool from MS. I run this both at home & work so that I essentially have three identical copies of my library for backup redundacy, any of which I can use to update my iPods and my iPhone. I use iTunes Folder Watch occasionaly in case I've managed to download, for example, a podcast at one location but overwrite the library with a newer copy updated at the other. It can be done but you need to take considerable care...
    tt2

  • Has anyone used more than one event for one project?

    Hi,
    I have an opinion about Final Cut Pro X that hasn't changed since my first few days with it.  I waited to see if I would get used to it.  But, after a fair amount of time, I still am not comfortable with 'Events' and 'Projects'.  The separation of the media and projects creates more problems than solutions with my workflow.
    The purpose of it was to add flexibility for both the professionals and consumers using it, but my first impressions are still the same.  The new Event and Project system adds complexity to organization and archiving.  I wouldn't write this if it wasn't enough of a hindrance for me, that I encounter constantly.  I think the new Final Cut Pro X is incredible, but this issue is definitely important to me.
    Has anyone out there used more than 1 Event for 1 Project?  Some of us create more than 1 Project for an Event, to make different version of a video, or for brainstorming, or to make a part 1 and part 2 of a video, but I've never had more than 1 Event for 1 Project.  I don't need to use the media from multiple Events for the same Project.  And I've never used it for a reason.  I don't think someone will want to use their Hawaii vacation footage for a Denver vacation project, and a Florida vacation project.  I think we should bring back the connection between Events and Projects in a meaningful way. 
    This is a throw back to the older days, but that's not always a bad thing.  Let us keep our projects, or timelines, in the Events folder.  Make an area above the JPG section, and PNG section, and MOV section, and call it the Projects section.  Then we can easily find our Projects and add a new Project every time we need it, and organize our files quickly - without having to keep track of more windows. Final Cut Pro X is all about being more simplified than other video programs, and I think this goes right along with that idea.
    Thanks,
    - David

    My original fear was that FCPX was just going to be iMovie Pro... It so is not!
    People use the interface in different ways. I think that's what most of us like about it, it's flexibiity to accommodate different types of workflows.  For me, I use the Events browser mostly like I'd be using the Finder. All the imported clips I use are referenced by the hard disks on which they reside. I know where to find them in the Event Browser and I know where to find them in the Finder.  I use a lot of stock footage and therefore *reuse* a lot of stock footage from project to project. I'm not going to re-import duplicates into different events because I don't find that the least bit convenient and I do find it a terrible waste of precious HD real estate.
    But that's me.
    Some people like to load up everything they're going to use in a single project in a single event... I get that. You can command click your way through a bunch of clips, type E and everything is automatically arranged on your storyline in the order you selected the clips. That is *awesome*!! Instant storyline (/timeline.) Furthermore, for those that need to share projects, it's easier to bundle up the events and projects if they're all together (albeit in two different folders) on one disk (— at least they are always at the top level of the drive and easy to find.)
    Keeping your Events media in a different location (satellite drives) and keeping your current project on your *fastest* drive is probably the fastest way to edit (particularly if your satellite drives are Firewire or Thunderbolt [peer-to-peer interfaces don't hog system resources].) There is little cross interference in disk accesses that way. So essentially, you can keep FCPX dealing with original clip data that doesn't need to be quite as fast, reading and writing to slower drives on your system, while letting it plow through the heavy work on your fastest access drive (usually your internal HD.)
    By no means is FCPX "more simplified". It has a huge amount of power. It has all the best parts of Color, Soundtrack Pro and Motion built in. It allows you to explore *ideas* in real time rather than having to plan for them a week in advance [layout, round-tripping plans to Color, STP and/or Motion for titling or effects.]  You can grab and move around elements anywhere on your "palette" with simple mouse moves and an occasional key press. The list goes on. Bottom line, it doesn't matter how you organize your events or your projects. It's all about the finished product. And for me, I can turn that around in about 1/5th the time (not claiming it's great — but I think better results in 20% of the time, on average, than it would have taken in Studio.) [Not a professional video editor -- I'm a graphic designer, and I develop Motion graphics for FCPX to make all "you guys" look better.]

  • Warp Stabilization turn my video black, if I use more then "just stabilize".

    Hey guys,
    I've just started using the Master Collection of Adobes CS6 and I my first task was to stabilize a video.
    So I opened it in Adobe After Effects and used the Warp Stabilizer.
    Everything is fine, if I use "just stabilize". The video is shaky in it's little box.
    But if I use more then that, the video turns black.
    I want to use the option stabilize, crop, scale.
    So, any idea what went wrong?
    Thanks for reading.

    Hey guys,
    I've just started using the Master Collection of Adobes CS6 and I my first task was to stabilize a video.
    So I opened it in Adobe After Effects and used the Warp Stabilizer.
    Everything is fine, if I use "just stabilize". The video is shaky in it's little box.
    But if I use more then that, the video turns black.
    I want to use the option stabilize, crop, scale.
    So, any idea what went wrong?
    Thanks for reading.

  • HT4847 iOS8 uses more space on iCloud for backup than before without changing anything other than upgrading to iOS8... why?

    iOS8 uses more space on iCloud for backup than before without changing anything other than upgrading to iOS8... why?

    Hello westbrkk,
    this is an user-to-user forum, so unfortunately we won't be able to tell you why.

  • Using more then one table/view in same Report

    Hi,
    I am using Discoverer Plus Version 9.0.4.43.15.
    Is it possible to use more then one table/view in a report without the tables/views being joined in any way? It would be like using two different datasets in the same report without the datasets having anything to do with one another. Right now when I select items from the available tab I can only pick tables that relate to one another in some way.
    Or is it possible to use more the one table in the same report? Each table using a different query/view/table.
    Thanks

    Spence,
    try following type of query using set operator UNION / UNION ALL:
    select col1,col2
    from t1
    union all
    select col1,col2
    from t2
    If you don't have restrictions then this is the best way.

  • Can I use more then one apple ID on my computer/osx app store

    Hi,
    I use my MBP/iMac/ipad/iphone for both business and home.  Right now everything is setup to my home apple id (and I have made quite a few purchases with that).  With the release of the osx app store and FCPX,  my company wants to buy these for my computers.  But they want to do this on their apple id.  Can I run more then one id on a mac?  How can I make this work as I know they will want me to start getting more apps as they are released.

    You can have apps from multiple Apple IDs on one Mac. The issue will be that to update Mac apps bought with A ID #1 will require signing into A ID #1 in the MAS. And later when apps bought with A ID #2 need an update you will need to sign into A ID #2 in the MAS to update them. If you can keep that straight and can abide that requirement, there should be no issues.
    The same will be true to update iOS apps, but using iTunes.

  • Using more then one null in a Set

    Hello Friends,
    Can any one throw some lights for using the null values in Set.
    Can a set cantains more then one null values? It worls fine if there is only one null element alone but throwing exception if there are any other element with one null.
    Thank you.
    Roshan

    So when you read the documentation for TreeSet.add(), which you obviously did because it's so obvious that you should read the relevant documentation before posting questions, what did you not understand?
    Adds the specified element to this set if it is not already present. More formally, adds the specified element e to this set if the set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). If this set already contains the element, the call leaves the set unchanged and returns false.
    Throws:
    NullPointerException - if the specified element is null and this set uses natural ordering, or its comparator does not permit null elements
    Edit: By the way, there was a recent thread about the fact that it appears that Java 5 had a bug in which when you add the first null, it didn't throw an NPE, but in Java 6 it did. That may be relevant information depending on what JRE you're using.
    Edited by: endasil on 9-Dec-2009 1:31 PM
    Edit 2: Here's a (or the) bug report: [http://bugs.sun.com/view_bug.do?bug_id=5045147]
    Edited by: endasil on 9-Dec-2009 1:34 PM

  • Using CVS in SQL Developer for Data Modeler changes.

    Hi,
    I am fairly new to SQL Developer Data Modeler and associated version control mechanisms.
    I am prototyping the storage of database designs and version control for the same, using the Data Modeler within SQL Developer. I have SQL Developer version 3.1.07.42 and I have also installed the CVS extension.
    I can connect to our CVS server through sspi protocol and external CVS executable and am able to check out modules.
    Below is the scenario where I am facing some issue:
    I open the design from the checked out module and make changes and save it. In the File navigator, I look for the files that have been modified or added newly.
    This behaves rather inconsistently in the sense that even after clicking on refresh button, sometimes it does not get refreshed. Next I try to look for the changes in Pending Changes(CVS) window. According to the other posts, I am supposed to look at the View - Data Modeler - Pending Changes window for data modeler changes but that shows up empty always( I am not sure if it is only tied to Subversion). But I do see the modified files/ files to be added to CVS under Versioning - CVS - Pending Changes window. The issue is that when I click on the refresh button in the window, all the files just vanish and all the counts show 0. Strangely if I go to Tools - Preferences - Versioning - CVS and just click OK, the pending changes window gets populated again( the counts are inconsistent at times).
    I believe this issue is fixed and should work correctly in 3.1.07.42 but it does not seem to be case.
    Also, I m not sure if I can use this CVS functionality available in SQL Dev for data modeler or should I be using an external client such as Wincvs for check in/ check out.
    Please help.
    Thanks

    Hi Joop,
    I think you will find that in Data Modeler's Physical Model tree the same icons are used for temporary Tables and Materialized Views as in SQL Developer.
    David

  • Using more then one Multitouch.inputMode on one screen

    Hi All,
    I have figure out that on one screen I am not able to work with more then one Multitouch.inputMode. As per my requirement I am having two different component on the same screen,one is using the TouchEvent and another is using GestureEvent.I am getting the issue that if I am using both on the same screen then the  GestureEvent is not firing.
    Any help will be appricated.
    Thanks in Advance.
    With Regards,
    Shardul

    Or you could use gestouch:
    https://github.com/fljot/Gestouch
    With that you can detect various gestures all in one gesture mode. It may solve your issue.

  • Problem Using more than one patchset for Kernels

    I'm using vanilla 2.6.10 sources, with the -mh4 bluetooth patch, but I also want to apply the -as patch, as Arch has now adopted it for the standard kernel. So I have the following lines in the PKGBUILD:
    ##### Apply any patches here, if you set the patch variable above uncommment the following line
    patch -Np1 -i ../patch-2.6.10-as5 || return 1
    patch -Np1 -i ../patch-2.6.10-mh4 || return 1
    and I have the patches downloaded into the build directory. When I run makepkg, I get a HUNK FAILED error at the patching stage, and makepkg aborts. If I run it with the -mh4 patch only, it works OK.
    I realise this is nothing to do with the PKGBUILD, which I am sure will produce a uniquely-named package in about 30 minutes or so. Would you have any general advice regarding the use of more than one patch?

    yeah - i have done this with a few patchsets.  it's easy if you know what you are doing.
    i'll explain what is happening just in case you don't know - all patches are created based on the original code and work by matching existing code and replacing it with new code - if you apply one patch then another the first patch may alter some of the references that the second patch is try to match - so it fails.  what you need to do is to check where it has failed.
    it will say patching core.c or something and the it will say HUNK FAILED - that means the first patchset changed the core.c code and the second patch can't find what it is looking for.
    you then need to open the first patch - find out where core.c was changed and how and then open the second patch to see what it now needs to look for and then you'll then have to make new diffs to finish the process or eidt the old diffs (which is tricky but shorter)
    it ain't easy.  if you have more than a few hunk failed don't even bother - there is no guarantee that they patches will provide a build-able kernel.
    this whole process lies at the core of creating these massive patchsets - if you can combine both patchsets and get a successful build out of it you can consider yourself a novice kernel hacker. it can be done.
    i can't help much more than that i'm afraid - i'll ask cactus to split these two posts too a new thread for you

  • How do I use more than one folder for screensaver on my mac

    I have 3 separate folders that I want my computer to use when it switches to the screensavers but I can only get it to use one folder. I really want it to switch choose from the 3 different folders. Someone set it up for me before so I know it does it, I just can't figure out how. Thanks!

    The presets from earlier versions of GR should all be in the same place anyhow.. so reinstalling GR5 into it's correct locvation shouldn't affect anything regarding those other presets. In fact, as far as I can recall.. GR5 should ask if you want to import older presets when you first run GR5 standalone (The app version of GR5 in your applications folder) after install....
    Then those same presets should be present in in the AU version of GR5....
    Also GR4 (So long as you updated it to the latest version via the Service Center) should also continue to work with Logic Pro anyhow.. and load when you load an older project which used that version....
    Finally, any version you may have installed elsewhere.. won't work with Logic Pro because LP uses the AU Component version that is installed by the NI installer and therefore located in your components folder...  Those other versions are more likely to be copies of the standalone version.. which LP9 doesn't use.

  • Buying more then one license for FCPX

    Hi,
    I'v got problem.
    I'v got 4 imac computers.
    I need to buy 4 licenses of Final Cut Pro X...
    As far i bought one license through the app store, using my apple id.
    There was no option to change number of the licenses.
    According to FCPX license, if i need to use four instances of FCPX in the same time i need licens for each of them.
    I'v got one, i need three more... on the same apple id.
    How tu buy another licenses?
    When i'm clicking on buy button on fcpx site it tells me to login. After log in it claims that i got one license and it's not allowing me to buy more.
    Any one knows how tu buy three more licenses through the app store on macos?

    this is excelent idea...
    http://store.apple.com/us_smb_78313/product/D5977Z/A
    this propably solv my problem.
    THX Carolyn Samit

  • Performance degrades using more then one Textfield

    Hi everyone,
    I noticed that performace in my app degrades noticeably when there is more than a Textfield on stage. I need to have two dynamic text field displayed at the same time, which is the best way to achieve this without using too much processing power?
    Thanks.

    I'm testing on the first Iphone model. Basically when the user put some information in two input field the input field disappear, the background change and some dynamic text is displayed. This happen with a fade out effect done playing with the alpha of a white bitmap. I know I shouldn't use alpha property but performance are still fine if a insert only a text field it start to slowdown only with two so I was hoping some tuning on text fields could help me to avoid this.
    I just discovered that if a cache text field as Bitmaps i fix the speed issues but text changes color in a light blue, I really don't know why

Maybe you are looking for

  • Adobe Cloud App Problems

    Cannot sign into adobe cloud app. Will sign in and then kick me right out. I can on the web but the app will not work. Ive tried uninstalling it and installing it again but still nothing has worked. Any help will be appreciated thank you .

  • Creating Query to show items from open sales orders with a/p invoice

    Hi experts, I am trying to create a query that will show what items/quantities are still in open sales orders that can now be filled by an incoming shipment of goods, processed through the a/p invoice. This needs to be done using subqueries, which I

  • File Adapter Question...

    Hi all, could somebody tell me if there is a way to limit the number of files processed by a File Adapter in a poll cycle? We need to load files from seven folders, each one has different priority (files from one folder have more priority than other

  • OSX 10.5.6, LR2.1, PS4...Printing

    Just downloaded 10.5.6! PS4 printing is tack on with Epson R2880 (i.e. R2400 dark print issue). LR2.1 is not (tack on). I'm "assuming" that the impending 2.2 release will include an update to its printing that will encompass whatever Apple may have i

  • Access server's serial port thru an applet

    hello everyone, i am writing a program that will allow remote computer to read and write on server's serial port. currently i am in the testing stage, so i am programming everything on the same computer. i already wrote an application using java comm