Creative Flash Scroller Forum


box Creative Flash Scroller
With Creative Flash Scroller you can scroll any kind of Flash Content: static text, dynamic text, pictures, animations, movies. It comes with multiple scroll behaviors: touch scroll, mouse gesture scroll, scrollbar scroll and even supports mouse wheel behavior. You can add smooth scrolling or motion blur effects and customize it to suit your design, from an easy to use interface.

Find out more about Creative Flash Scroller

Thread: TypeError / slowdown issue with motion blur, AS3 version

title left
User Details
message
title right
Saku Mikkola

post date:
2011-01-12 08:33:58
Hello,

We are currently evaluating your Creative Flash Scroller (1.5.6) as a potential replacement for our touch screen operated user interface. Your component well suited for our purposes, but the following issue needs to be solved before we can make the purchase decision.

Our project uses three scroll areas, all of which are located inside a movie clip (ie. not directly on stage). This clip that holds the scroll areas is placed on the stage in Flash IDE, only made visible/hidden when needed.

All these scroll areas target to blank movie clips, and we load dynamic content to these blank clips (addChild() way). These dynamic content clips then call the cDimCheck() method of the appropriate scroll areas when their dimensions change.

The problem is that we cannot disable the motion blur without getting the following TypeError

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at xtd.scroller.ui::ScrollerBase/set blurX()
at xtd.scroller.ui::ScrollerBase/cDimCheck()
...


If we catch the error, the scrollers otherwise work, but the attached scrollbars fail to operate.

If on the other hand the motion blur is enabled, the error does not appear and scrollbars work, but every call to cDimCheck adds a new "demo version" watermark to the scroll area, and the component gets slower and slower with each cDimCheck() call, as if the component was somehow "multiplying" itself, leaving previous code running?

Do you have any suggestions regarding this issue. Could it only manifest in this evaluation version?. As our project contains dozens of classes and needs complex backend to operate I cannot provide code for evaluation, but I'm willing to test and help in solving this problem as a working touch scroll component is crucial for us and our clients.

regards,
Saku
Andrei Rinciog [Extend Studio]

post date:
2011-01-17 07:04:21
Hello Saku,

There seems to be a glitch in the cDimCheck function and it gives that error when you don't have Blur. We will fix the issue and update the package online as soon as possible.

Regards,
Andrei Rinciog

Andrei Rinciog [Extend Studio]

post date:
2011-01-17 07:36:44
Hello,

We fixed the problem but it would take time to update the component on the website. I will send you the update by email.

Regards,
Andrei Rinciog
William Grand

post date:
2011-06-28 00:58:35
cDimCheck() does seem to multiply itself when calling cDimCheck(). Saku, did you manage to use this component for your client? I also have to add dynamic content to my scroller
Andrei Rinciog [Extend Studio]

post date:
2011-06-28 05:19:12
Hello William,

You have the same problem as Saku with blur and cDimCheck() method? I can send you the fix package by email.


Regards,
Andrei Rinciog
William Grand

post date:
2011-06-28 09:55:20
Yes, if you could email it to me, that would be great.

Thanks,

William
Andrei Rinciog [Extend Studio]

post date:
2011-06-29 08:10:46
Hello William,

I sent you the update by email.

Regards,
Andrei Rinciog
William Grand

post date:
2011-06-29 11:39:18
Hi Andrei,

Basically, what I'm trying to do is change the size of the scroller. I changed baseHeight and nothing happens. If I call cDimCheck(), after changing the baseHeight, I get this error:

ReferenceError: Error #1069: Property asocSBar not found on xtd.scroller.ui.ScrollerBase and there is no default value.
at xtd.scroller.ui::ScrollBar/scrollerListenChDim()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at xtd.scroller.ui::ScrollerBase/cDimCheck()
at InfoPanelContent_fla::MainTimeline/enlarge()

How do I work with dynamic content?
Andrei Rinciog [Extend Studio]

post date:
2011-06-30 09:18:26
Hello William,

You can set the dimensions of the scroller using height and width properties.

Use the cDimCheck() method after the content is loaded and the slider is resized to resize the scrollbars. You can use an event to listen for when the dynamic content has finished loading and call cDimCheck().

If you want you can send me a copy of the FLA file that gives you problems.

Regards,
Andrei Rinciog
William Grand

post date:
2011-07-06 15:16:28
Hi Andrei,

Did you manage to take a look at my FLA?

- William
Andrei Rinciog [Extend Studio]

post date:
2011-07-07 05:47:16
Hello William,

Yes, we have checked your FLA file. There seems to be a glitch in the component. I will send you a patch later today or first thing tomorrow.

Regards,
Andrei Rinciog