EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Unread 08-04-2010, 09:05 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

So here's what's likely going on behind the scenes...

You've got template objects with dummy data in them.

Templates get cloned with the same object name. This basically produces an array of objects with the same name, only we don't have access to the array or the internal object IDs. Say you have templatePageName="Foo".

Foo gets cloned at runtime, so you end up with

templatePageName="Foo"
templateCloneName="Foo"

Since the original template exists above the clone in the object tree, referencing "Foo" from outside always accesses the template and not the clone.

Scripts placed on the template should also get cloned, and should be able to access sub-objects or parent objects normally. The problem is referencing the clone from outside.

You might be able to use the OnTextChanged event for a repeated text object contained inside the scrollpage to change its parent's PackSize when the window is loaded. If PlainTemplate is inside the scrollpage, try that.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:41 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI