www.webdeveloper.com
Results 1 to 3 of 3

Thread: ReferenceError: Error #1069: Property _scale not found on Scope.SiteTextUi

  1. #1
    Join Date
    Jan 2009
    Posts
    6

    Question ReferenceError: Error #1069: Property _scale not found on Scope.SiteTextUi

    Hello all,

    I have run into a #1069 error that I need help figuring out.

    Error:

    ReferenceError: Error #1069: Property _scale not found on Scope.SiteTextUi and there is no default value.
    at caurina.transitions::Tweener$/addTween()
    at video::SiteTextUi/positionContent()
    at video::SiteTextUi/layOutContent()
    at video::SiteTextUi/addedToStageHandler()
    at flash.display:isplayObjectContainer/addChild()
    at vp/setUp3dDisplay()
    at vp/handleLoad()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at noponies.net::LoadXml/completeHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I am hoping that if I solve Error the others will magically go away...

    Here is the script:

    package Scope
    {
    import caurina.transitions.*;
    import flash.display.*;
    import flash.events.*;
    import video.events.*;

    public class SiteTextUi extends MovieClip
    {
    private var xpos:Number;
    private var captionsText:Bitmap;
    private var indexPos:int;
    private var minScale:Number = 0.2;
    private var bg:Sprite;
    private var ypos:Number;
    private var bezierY:Number;
    private var bezierX:Number;
    private var blur:Number;
    private var scale:Number;
    private var soundEffect:Object;
    private var mxml:XML;
    private var randTime:Number;
    private var maxScale:Number = 0.8;
    private var targetAlpha:Number = 0.3;
    private var view:view_btn;
    private var parentObj:Object;
    public static var ACTIVATE_UI:String = "activateui";
    public static var FADE_UI:String = "fadeui";
    public static var SHUFFLE_UI:String = "shuffleui";
    public static var DEACTIVATE_UI:String = "deactivateui";

    public function SiteTextUi(param1:XML, param2:int, param3:Object, param4:Object)
    {
    minScale = 0.2;
    maxScale = 0.8;
    targetAlpha = 0.3;
    this.mxml = param1;
    this.indexPos = param2;
    this.soundEffect = param3;
    this.parentObj = param4;
    captionsText = UtilMethods.setUpTextBitmap2(String(param1.projectlabel).toUpperCase(), 45, -9);
    captionsText.smoothing = true;
    addChild(captionsText);
    bg = new Sprite();
    UtilMethods.draw(bg, 0, 0, 0, 1, 1);
    bg.height = captionsText.height;
    bg.width = captionsText.width;
    bg.width = 350;
    var _loc_5:int;
    bg.x = 0;
    bg.y = _loc_5;
    bg.alpha = 0;
    addChildAt(bg, 0);
    view = new view_btn();
    view.x = 5;
    view.y = captionsText.height - 10;
    view.alpha = 0;
    view.enabled = false;
    addChild(view);
    view.addEventListener(MouseEvent.CLICK, handleClickOnView);
    bg.addEventListener(MouseEvent.CLICK, handleClick);
    bg.buttonMode = true;
    bg.useHandCursor = true;
    addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
    addEventListener(MouseEvent.ROLL_OVER, handleRollOver);
    addEventListener(MouseEvent.ROLL_OUT, handleRollOut);
    return;
    }// end function

    private function fadeUiHandler(param1:Event) : void
    {
    if (param1.target !== this)
    {
    targetAlpha = targetAlpha * 0.4;
    Tweener.addTween(this, {alpha:targetAlpha, time:3, transition:"easeOutCirc"});
    }// end if
    return;
    }// end function

    Any Suggestions Welcomed & Appreciated

  2. #2
    Join Date
    Jan 2009
    Posts
    6

    Exclamation 1042: The this keyword can not be used in static methods. It can only be used in inst

    I fixed the above ... the problem was I had the package name in cap when it should have been lower-case "Scope" should have been scope....

    I am now having a 1042 problem within Tweener.as

    Tweener.as, Line 758 1042: The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code.

  3. #3
    Join Date
    Jan 2009
    Posts
    6

    Question ERROR #1069: Property _scale not found on scope.SiteTextUi

    Nope Error Message Not Fixed...*sigh*

    Where am I suppose to add _scale?

    Error:

    ReferenceError: Error #1069: Property _scale not found on scope.SiteTextUi and there is no default value.

    Here is the scope.SiteTextUi class:

    package scope
    {
    import caurina.transitions.*;
    import flash.display.*;
    import flash.events.*;
    import scope.events.*;

    public class SiteTextUi extends MovieClip
    {
    private var xpos:Number;
    private var captionsText:Bitmap;
    private var indexPos:int;
    private var minScale:Number = 0.2;
    private var bg:Sprite;
    private var ypos:Number;
    private var bezierY:Number;
    private var bezierX:Number;
    private var blur:Number;
    private var scale:Number;
    private var soundEffect:Object;
    private var mxml:XML;
    private var randTime:Number;
    private var maxScale:Number = 0.8;
    private var targetAlpha:Number = 0.3;
    private var view:view_btn;
    private var parentObj:Object;
    public static var ACTIVATE_UI:String = "activateui";
    public static var FADE_UI:String = "fadeui";
    public static var SHUFFLE_UI:String = "shuffleui";
    public static var DEACTIVATE_UI:String = "deactivateui";

    public function SiteTextUi(param1:XML, param2:int, param3:Object, param4:Object)
    {
    minScale = 0.2;
    maxScale = 0.8;
    targetAlpha = 0.3;
    this.mxml = param1;
    this.indexPos = param2;
    this.soundEffect = param3;
    this.parentObj = param4;
    captionsText = UtilMethods.setUpTextBitmap2(String(param1.project label).toUpperCase(), 45, -9);
    captionsText.smoothing = true;
    addChild(captionsText);
    bg = new Sprite();
    UtilMethods.draw(bg, 0, 0, 0, 1, 1);
    bg.height = captionsText.height;
    bg.width = captionsText.width;
    bg.width = 350;
    var _loc_5:int;
    bg.x = 0;
    bg.y = _loc_5;
    bg.alpha = 0;
    addChildAt(bg, 0);
    view = new view_btn();
    view.x = 5;
    view.y = captionsText.height - 10;
    view.alpha = 0;
    view.enabled = false;
    addChild(view);
    view.addEventListener(MouseEvent.CLICK, handleClickOnView);
    bg.addEventListener(MouseEvent.CLICK, handleClick);
    bg.buttonMode = true;
    bg.useHandCursor = true;
    addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
    addEventListener(MouseEvent.ROLL_OVER, handleRollOver);
    addEventListener(MouseEvent.ROLL_OUT, handleRollOut);
    return;
    }// end function

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
HTML5 Development Center

"

"

X vBulletin 4.2.2 Debug Information

  • Page Generation 0.33270 seconds
  • Memory Usage 2,868KB
  • Queries Executed 15 (?)
More Information
Template Usage (32):
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (3)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (73):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates