-
TypeError: Error #2007: Parameter text must be non-null.
Flash keeps throwing this error message at me:
Code:
TypeError: Error #2007: Parameter text must be non-null.
at flash.text::TextField/set text()
at rb_player_mini/video_status()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
This is my function:
Code:
function video_status()
{
rb_control_bar.status_bar.load_progress_bar.width = rb_control_bar.status_bar.clickable_area.width = rb_ns.bytesLoaded * rb_control_bar.status_bar.load_progress_bar_bg.width / rb_ns.bytesTotal;
rb_control_bar.status_bar.rb_bar.width = rb_control_bar.status_bar.status_bar_scroller.x = rb_ns.time * rb_control_bar.status_bar.load_progress_bar_bg.width / video_duration;
rb_control_bar.status_bar.status_text.text = pad_zero( Math.floor( rb_ns.time / 60) ) +
":" + pad_zero( Math.floor( rb_ns.time % 60) );
rb_control_bar.status_bar.dur_text.text = total_min_sec;
}
It is very odd because I have tested this movie externally, independently from the flash document it is currently incorporated into. It woks fine alone, just within the current flash document.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|