|
User Details |
message
|
|
John Carol
post date:
2011-05-05 13:17:19
|
|
I have created a scrollbar for a movieclip that holds several buttons for videos that are generated dynamically from an xml file. There is a problem with the scrollbar in all browsers. It will not show up unless you reload several times. It IS NOT a caching isue as this has been tested on machines that have never loaded it before with all new file names.rnIn firefox it never loads at all. I have been back and forth with support and nothing has worked.rnI have tried:rnthe dimension check method: my_scroller.cDimCheck();rnrnUsing a custom mask instead of the automaskrnrnusing the default skin instead of my custom skinrnrnthe random prelaoder methid which is supposed to correct caching when using and swf as a preloader for your main swf.rnrnNone of this has worked. If I can finally correct it, I will make sure to post to that effect. If I do not solve this, it should be noted that there are limitations to this software that have not been addressed. This can be seen by the number and range of problems posted in this forum.
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-06-29 08:27:58
|
Hello John,
We have discussed this by email and you said that you were able to find a solution. I checked your page today and everything seems to work. Both scrollbars and scroller appear and work.
Do you have any problems or questions that need attention regarding this problem?
Regards,
Andrei Rinciog
|
|
|
John Carol
post date:
2011-06-29 13:44:35
|
OK, After all the hair pulling, I got it to work by putting a box with a specified height into the container clip where all the buttons are rendered so it has a dimension at runtime. (One of your earlier replies told me that it was not working because the element to be scrolled must have a dimension at runtime for the scrollbar to be rendered.)
It is still not perfect because I am still struggling with getting the empty space after my scrolled content to be removed.
I really would like to know how to use the cDimCheck() that you suggested. I never got that to work.Which may be the solution to my problem.
I will send the .fla via email.
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-06-30 09:21:50
|
Hello again John,
Try to place the content inside the target movieclip at coordinates 0x0. I cannot test because I'm missing all the dynamic content.
Regards,
Andrei Rinciog
|
|
|
John Carol
post date:
2011-06-30 13:30:09
|
Can you please tell me how to implement cDimCheck() in AS3. I have asked about this twice after it was suggested in a response to my post but cannot get any clarification.
"Try to place the content inside the target movieclip at coordinates 0x0"?? That seems like kind of a no-brainer, dont't you think. I have buttons that re dynamically placed on in the scrollable area at different y values so they stack on on top of another so this reponse does not even reply. It just sounds like a random response without putting any actual thought into it.
I can ZIP up the dynamic content and send for testing it you wish.
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-07-01 04:55:54
|
Hello again,
I see that you have commented the my_scroller.cDimCheck() call from the xml loaded event handler.
That call was in correct position, after you the xml is loaded and you add the buttons to the target movieclip. So, just leave that call there and it should work just fine.
I understand that the contents of the target movieclip is dynamic and you control its placement and place it at 0x0. However, the target movieclip has a black rectangle in it that is not positioned at 0x0 and it's possible that the extra space appears because of that.
If after you move that black rectangle you still get the extra space please send me an archive with all the dynamic content so I can test.
Regards,
Andrei Rinciog
|
|
|
John Carol
post date:
2011-07-01 11:27:34
|
Andrei, Thanks for your reply. I believe the reason I placed a black box in the target clip at that odd offset was because that was the only way to get it to work after trial and error. I will revisit it and try putting it at 0, 0. I will aslo uncomment the cDimCHeck () call and let you know the results.
John
|
|