Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-19-2005, 01:39 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default targetCallLabel doesn't work when using installer

FlashPlayer.targetCallLabel("_root", "initFrame");


This works perfect when running a packed exe file alone, - but if I use the installer it doesn't work ???


Kind regards

Godowsky
Reply With Quote
  #2 (permalink)  
Old 01-19-2005, 02:07 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:targetCallLabel doesn't work when using installer

tried to use installShield on my exe file, - works perfect, - so it must be a bug in swfkit when building the installer I guess..
Reply With Quote
  #3 (permalink)  
Old 01-19-2005, 03:24 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:targetCallLabel doesn't work when using installer

Are you loading any external movies in your project? If the external movies haven't been added into your project, the installer won't pack them into the setup file and the installed application won't work properly.

In fact the installer has nothing to do with ffish script, the calltarget method is under the control of the flash player.
Reply With Quote
  #4 (permalink)  
Old 01-19-2005, 03:25 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:targetCallLabel doesn't work when using installer

hi, - you are right, - it was because the swf file were being cached!!

It works now, - can you tell me how to grey out an item in the tray menu?
Reply With Quote
  #5 (permalink)  
Old 01-19-2005, 05:37 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:targetCallLabel doesn't work when using installer

You can do this by handling an event

Code:
Menu.onUpdateItem = function (id, state)
{
    switch (id)
    {
    case "id0":
        // disable the menu item
        state.enable = false;
        break;
    }
}
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:38 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.