Powershell unzip with shell.application not working when launched from windows service
I have a deployment agent on a machine implemented as a windows service. Service is 32-bit and runs on windows server 2008R2 x64 SP1 with powershell V2. Powershell script requires elevation and to run under x64 because of dependency to powershell module
'IIS Administration'. To achieve this, the service starts a cmd file which in turn launches powershell x64 console:
C:\WINDOWS\sysnative\WindowsPowerShell\v1.0\powershell.exe "Start-Process C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell -ArgumentList '-ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File C:\Temp\EndJobCmd\Install.ps1' -Verb RunAs"
This seems to work well. The problem I have is that the script has a sequence where it unpacks a zip file to a destination folder using shell.application, this works fine when triggered manually on the server or through the task scheduler, but when triggered
from the service it does not extract any files at all (cannot see any errors thrown by the script but it seems to continue to execute as it logs a successful message to the event log after finishing).
Unzip sequence looks like:
$shell = New-Object -com shell.application
$pkg = $shell.namespace($sourceFile)
$installDir = $shell.namespace($targetDir)
$installDir.Copyhere($pkg.items(), 20)
Any advice greatly appreciated. I have searched some and seen a few people with similar issue but have yet to find a solution.
If it's still actual, I managed to fix this with having CopyHere params equal 1564.
So in my case extract zip function looks like:
function Expand-ZIPFile{
param(
$file, $destination
$shell = new-object -com shell.application
$zip = $shell.NameSpace($file)
foreach($item in $zip.items())
$shell.Namespace($destination).copyhere($item,1564)
"$($item.path) extracted"
1564 description can be found here - http://msdn.microsoft.com/en-us/library/windows/desktop/bb787866(v=vs.85).aspx:
(4) Do not display a progress dialog box.
(8) Give the file being operated on a new name in a move, copy, or rename operation if a file with the target name already exists.
(16) Respond with "Yes to All" for any dialog box that is displayed.
(512) Do not confirm the creation of a new directory if the operation requires one to be created.
(1024) Do not display a user interface if an error occurs.
Similar Messages
-
My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that o2 account (offline) my mac I have no problem with my iPhone or mac laptop. any suggestions please.
Sorry for the delay...
I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
Thanks for the help, anyway!! -
Adobe Reader XI (11.0.08) doesn't create thumbnail (bitmap) using Microsoft Interface IExtractImage --> Extract on Windows Server 2008 R2, when exe to generate thumbnail is launched from Windows service.
But if exe is launched as standalone, then interface IExtractImage --> Extract, gives Bitmap to generate thumbnail of PDF document.
Above problem occurs only for PDF documents, if we tried same with other software like CAD -CATIA it works without any problem.
Is there any security concerns form PDF side, which doesn't allow to generate Bitmaps, if exe to generate it is launched form Windows service.It might be deliberate, Acrobat and Reader software is not intended to run in a service environment.
-
PDF conversion with PDF2ID; Hypertext not working when exported back to pdf.
I have done a PDF conversion with PDF2ID, however Hypertext is not working when I exported it back to pdf. I am using the PDF2ID plug-in program to redo all the product booklets for our company as the hypertext did not work when downloaded to any smart phone. All that appeared were blank placeholders in each booklet index page.
According to the PDF2ID people the program plug-in recovers all URLs static and dynamic and bookmarks and local links and suggested I check with Adobe ID5 for help, but Adobe says my $1,000 ID5 is no longer supported and that I should go to the forums.....so here I am.
This is the first time I've even opened my ID5, so I'm a bit lost. Now I need to improve the quality of the PDFs, as we also need to convert all images to TIFF-CMYK in order to have the booklets printed & bound professionally. they tell me ID can do that.
Any help is greatly appreciated.
DavidDaveorne wrote:
they tell me ID can do that.
Ugh...in some companies, that is training.
Don't take this the wrong way David, but of course ID can't do anything. PDF2ID conversions can be sketchy in the hands of the experienced. The same can be said of properly preparing matials for print. As Bob has already alluded, you're in an unfair position there. It's not uncommon for "management" types to just throw some sophisticated tools at a need and expect someone to make it work. In order to do what's being asked of you, you'll have to learn a fair bit about InDesign and production. It's too soon to ask about the output when you haven't learned to manage the input. -
Flex application not working when deployed run from Server
Hi,
I have Flex application which takes a parameter from user, makes a web-service call and returns the message.
This application is running perfectly when I launch from IDE.
But when I copy the files from bin-release to server and launch it, it gives me no result.
In the crossdomain file on the server which hosts web-service, I have added the my host IP in the
allow-access-from domain tag.
In the initialization method of the application I load crossdomain using following code:
Security.allowDomain("remoteservername");
Security.loadPolicyFile("http://remoteservername/crossdomain.xml");
var request:URLRequest = new URLRequest("http://remoteservername/crossdomain.xml");
var loader:URLLoader = new URLLoader();
loader.load(request);
Is there a way I can debug application when running from server?
Please give me some pointer to solve this problem.
Thank you.
ChintanAlex thanks for reply
The URL for the app is http://<some_IP>/flex_app
<some_IP> is added in crossdomain.
Also we have outbound IP's and of these are also added in the crossdomain file.
This is the current content of crossdomain file:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="<some_IP>"/>
<allow-access-from domain="<outbound_IP1>"/>
<allow-access-from domain="<outbound_IP2>"/>
<allow-access-from domain="<outbound_IP3>"/>
<allow-http-request-headers-from domain="<outbound_IP1>" headers="SOAPAction"/>
<allow-http-request-headers-from domain="<outbound_IP2>" headers="SOAPAction"/>
<allow-http-request-headers-from domain="<outbound_IP3>" headers="SOAPAction"/>
</cross-domain-policy>
App runs perfectly fine when launched from Flex Builder. -
Sub form not working when converted from adp to accdb
Hi,
We have migrated MS access 2003 (.adp) applciation to MS access 2010(.accdb). There are few functionalities in the application not working as expected. A form opens on a button click has two sub forms. Applications throws error when button is clicked. run
time error 2467. The expression you have entered refers to an object that is closed or doesnt' exist.
Form_frmmainform.frmsubform.Form.RecordSource = rs
Main form contains sub form and that has another sub form within in. There was a query for the record source whcih ihave replaced with recordset.
But it works fine in .adp version. Could any body help me in this regard
Thanks in advanceHi All,
Could somebody please help me in this regard.
We have migrated MS access 2003 (.adp) applciation to MS access 2010(.accdb). There are few functionalities in the application not working as expected. A form opens on a button click has two sub forms. Applications throws error when button is clicked. run
time error 2467. The expression you have entered refers to an object that is closed or doesnt' exist.
Form_frmmainform.frmsubform.Form.RecordSet = rs
Main form contains sub form and that has another sub form within in. There was a query for the record source whcih ihave replaced with recordset.
But it works fine in .adp version. Could any body help me in this regard
Thanks in advance -
SSO not working when launching the InfoView application
We are so close to implementing SSO for BO Edge 3.0 using AD and Kerberos. We can logon to InfoView and CMC using AD authenication and it works fine. When turning on SSO:
<context-param>
<param-name>sso.enabled</param-name>
<param-value>true</param-value>
</context-param>
in the InfoViewApp web.xml it fails with an error message in the Tomcat stdout.log
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
+ [Krb5LoginModule] user entered username: "at"MYCOMPANY.COM+
User name is missing.
When done through the application logon screen and able to logon it is
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
+ [Krb5LoginModule] user entered username: dennis"at"MYCOMPANY.COM+
The username appears in the log file followed by the debug message for Kerberos key being created.
I am so close, does anyone have an idea?Hi Tim,
The Vintela SSO document for BOE XI 3.1 is very comprehensive, but it has not resolved my issue.
Under NTLM option I SSO works great with .NET InfoView as long as I have the web site authentication set to Windows Authentication and ASP .NET Authentication enabled. Once the ASP .NET is disabled, SSO does not work.
When using the Kerberos option, .NET InfoView SSO does not work due to the error 'propagating the security context between the security server and the client'.
The Java InfoView SSO does not work either, but I can enter my user credentials and logon fine.
std.out error:
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
[Krb5LoginModule] user entered username: @OR.PROVIDENCE.ORG
Acquire TGT using AS Exchange
[Krb5LoginModule] authentication failed
Generic error (description in e-text) (60)
No user name is being passed. I've been through a multitude of documents and forums ensuring settings are correct and I believe they are including no duplicate SPN's.
The only issue on the server is that I cannot open the tomcat confi app. due to it not able to start service BOE120Tomcat. I was able to update the registry with the info for the bsclogin.config and krb5.ini. I was not able to find anything on getting that service started.
Any ideas? Need more info? I have a bunch.
Thanks and have fun,
Phil -
App Insights for web application not working when deployed to Dev server
App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers. On local IIS express it works perfectly fine. I have
no idea how to troubleshoot this problem.
Bert Jackson- the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day). Both are correct.
- it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root). During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file). I got the proper root certificate installed on the server, but request logging still not working. I
dont believe the firewall is a problem.
- I've verified that all binaries are indeed deployed in to the bin folder on the server
- web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded. However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
server. I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
Bert Jackson -
Managed Attachments - I/PM is not working when called from EBS
Hi.
When we click on "Managed Attachments" I/PM login screen should be populated. It was working fine before... Today, it is not working as expected. The following exception is coming in I/PM console logs...
*<Dec 18, 2011 5:00:23 PM GMT+04:00> <Error> <oracle.wsm.policymanager.bean.util.PolicySetBuilder> <BEA-000000> <The policy referenced by URI "oracle/wss_username_token_ service_policy" could not be retrieved since Policy Manager is not deployed. oracle.wsm.policymanager.PolicyManagerException: WSM-02054 : Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.*
Caused By: javax.naming.NameNotFoundException: While trying to lookup 'DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager' didn't find subcontext 'DocumentManager#oracle'. Resolved ''; remaining name 'DocumentManager#oracle/wsm/policymanager/bean/ejb/IRemoteDocumentManager'
I think its the problem with Security Providers... We are using the default only... not using any LDAP etc... when we check in Enterprise Manager it is showing the store type as FILE for "Policy Store", "Credential Store", and "Key Store"....
The same exception is coming when we test the webservices under Imaging deployment in Weblogic Console...
Not sure how to crack it...
Anybody please help!!The issue has been resolved by configuring Oracle Web Service Manager security policy as per the doucment 1332250.1
Oracle Web Services Manager (OWSM) is necessary for applying WS-Security headers to UCM web services. The WebLogic domain that UCM/IPM runs in must have OWSM installed in order for this to work. OWSM can be selected upon domain creation, or added to a domain by extending the domain. -
Fingerprint login not working when resumning from sleep
Hello,
I changed HDD to SSD and did *fresh* install, not from rescue discs.
Everything is working as expected except except fingerprint login -- instead of logging I got an error:
The computer is locked. Only logged user can unlock it.
Picture
I got this error only when resumimng from sleep/hibernate, I can normaly use FPR when logging right after reboot or if I launch FPR software.
Software were installed via Lenovo System Update, nothing manually, using Lenovo Fingerprint Software v.3.3.2.27
Fingerprints are present from previous enrollment/installation.
Any help appreciated,
Boštjan
Edit: forgot system info -- T500 2056-VL1 with Samsung 830 256Gb, Win 7 x64 Pro SP1Hey there Boštjan,
Looking over some of the fingerprint reader solutions on the lenovo support site, I saw that they Fingerpring Software for your machine, the T500 Win 7 64 Bit is at version 3.3.2.50. It may be worthwhile trying this update to see if it resolves your issue. Here is the document ID, DS012806, you can put it in the search field and it should pull it up for you. Alternatively here is the web address.
http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS012806
Good Luck! -
HR_INFOTYPE_OPERATION not working when called from Dynamic action
Hi ,
Senario : I would like to execute a form from dynamic action which
creates a record in 0015 (Additional payment IT) .
I have writen the code as shown below am using FM HR_INFOTYPE_OPERATION
. When i execute the program from se38 it is creating a record, however it is
not created when it is called from dynamic action..when i debugged the code in
inside the FM HR_INFOTYPE_OPERATION there is a FM HR_MAINTAIN_MASTERDATA where
they are using call dialog (statement) and
sy-oncom = 'N' when called from Dynamic action and
sy-oncom = 'S' when called executed directly.
I tried to change the sy-oncom to S while run from Dynamic action it created
the record.
So Can anyone explain me abt sy-oncom and how can i resolve the issue..
code..
REPORT ZHRPYENH01 .
perFORM TERMIATION_9000.
INCLUDE DBPNPMAC.
FORM Termiation_9000 *
FORM TERMIATION_9000.
INFOTYPES : 0015.
*data : i .
*i ='c'.
*break-point.
*message i000(000) with i.
TABLES : PRELP.
DATA : P9000 TYPE PA9000." with header line.
DATA : P0000 TYPE STANDARD TABLE OF P0000 WITH HEADER LINE.
DATA : P0015 TYPE STANDARD TABLE OF P0015 WITH HEADER LINE.
DATA : HIRE_DATE LIKE SY-DATUM,
TERM_DATE LIKE SY-DATUM.
DATA : MOLGA LIKE T500L-MOLGA VALUE '25',
SEQNR LIKE PC261-SEQNR.
DATA : RGDIR TYPE STANDARD TABLE OF PC261 WITH HEADER LINE.
DATA : ACTUAL_PERIOD LIKE PA9000-RETENTION.
DATA : PNP-SW-FOUND TYPE SY-SUBRC ,
PNP-SY-TABIX TYPE SY-TABIX.
DATA : TER_PERNR LIKE PA0001-PERNR.
DATA : REF_PERNR LIKE PA0001-PERNR.
data : key type BAPIPAKEY.
data : payed_amount type p0015-BETRG.
data : future_payment_amount type p0015-BETRG.
data : p0002 like pa0002.
types : begin of t_deduction ,
deducation_date like p0015-begda,
future_payment_amount type p0015-BETRG.
types : end of t_deduction.
data : future_deduction type standard table of t_deduction with
*header line.
data : future_deduction type t_deduction .
data : RETURN type BAPIRETURN1.
*data : deduction_p0015 like standard table of p0015 with header line.
data : deduction_p0015 like p0015 .
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx
****Prepare 0015 data for deduction
*deduction for payed amount
clear deduction_p0015.
*refresh deduction_p0015.
deduction_p0015-pernr = REF_PERNR.
*deduction_p0015-pernr = TER_PERNR.
deduction_p0015-lgart = 'M120'.
deduction_p0015-begda = sy-datum + 1 .
deduction_p0015-endda = sy-datum + 1 .
deduction_p0015-BETRG = payed_amount.
deduction_p0015-WAERS = 'SGD'.
deduction_p0015-ZUORD = TER_PERNR.
*append deduction_p0015.
**deduction for future payment amount
*loop at future_deduction.
*clear deduction_p0015.
*deduction_p0015-pernr = REF_PERNR.
**deduction_p0015-pernr = TER_PERNR.
*deduction_p0015-lgart = 'M120'.
*deduction_p0015-begda = FUTURE_DEDUCTION-DEDUCATION_DATE.
*deduction_p0015-endda = FUTURE_DEDUCTION-DEDUCATION_DATE.
*deduction_p0015-BETRG = future_deduction-future_payment_amount.
*deduction_p0015-WAERS = 'SGD'.
*deduction_p0015-ZUORD = TER_PERNR.
*append deduction_p0015.
*endloop.
Create a deduction wage type in 0015 for the employee
break-point.
CLEAR RETURN.
CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
EXPORTING
NUMBER = REF_PERNR
VALIDITYBEGIN = '18000101'
IMPORTING
RETURN = return
if not return is initial.
message E000(000) with
'Referred Employee could not be locked for referal payment deducation,
please try after some time'.
endif.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0015'
NUMBER = REF_PERNR
SUBTYPE = 'M120'
OBJECTID =
LOCKINDICATOR =
VALIDITYEND = SY-DATUM
VALIDITYBEGIN = SY-DATUM
RECORDNUMBER =
RECORD = deduction_p0015
OPERATION = 'COPY'
TCLAS = 'A'
DIALOG_MODE = '2'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = return
KEY = key
break-point.
COMMIT WORK.
if not return is initial.
*return-TYPE
*ID
*NUMBER
*MESSAGE
message I000(000) with return-MESSAGE.
endif.
CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
EXPORTING
NUMBER = REF_PERNR
VALIDITYBEGIN = '18000101'
IMPORTING
RETURN = return
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx
Thanks and regards
-Senthil Bala
Message was edited by: senthil balaHi Senthil
Why at all U want a subroutine to create a record in IT0015 through Dynamic action.There are some standard codes available to update infotypes.
Let me give U an example
14 9CON BETRG 4 2 I INS,0015 This will create a record in IT0015 when IT0014 is updated with Wagetype 9CON
14 9CON BETRG 4 3 W P0015-LGART='5400' Set wagetype for IT0015(Here U can use a subroutine call to set the wagetype)
14 9CON BETRG 4 4 W P0015-BETRG=P0014-BETRG set amount for IT0015(Here U can use a subroutine call to get the amount)
14 9CON BETRG 4 5 W P0015-BEGDA=P0014-ENDDA set the dates(Here U can use a subroutine call to set the dates)
Hope this will help U.
Please award points if helpful -
Picture text not working when sent from iPhone to non iPhone
Since this 6.1 update that I have told everyone not to update. My phone has been doing strange things and I have called and talked to apple and they said they have not heard anything about it. First off, when I try to send a picture text to someone that does not have an iPhone such as an android they either a) can't open it or b) it opens as a video and flashes off. They had no problems before this update. So today my iMessage stopped working. I deletes the messages I had and sent a test text to iPhone friends and it started working. I also went I to settings and added my email to iMessage. In doing this it got me to thinking that if this changed by itself maybe it had something to do with the SMS. Which is turned on already. I turned off iMessage and sent picture text to non iPhone and it worked. I don't want to have to turn off and no all the time anyone else had this problems?
Hi Steve,
I have tried to export to epub 2 and 3. The video is MP4 (h264). It was working just fine on all devices now I can't seem to get any video to export and work.
Pretty sure it all stopped working after the Yosemite upgrade on the Mac or iOS 8 on devices. Or maybe both.
Oddly, it plays in iBooks on my mac, just not on the iPad or iPhone.
I've also tried to just export a couple of short test epubs with vids in different formats but get the same result....not working. -
Open Form not working when called from When-Mouse-Click
In our application to navigate to other forms we have created a feature where user selects the Forms from a LOV, the form id is returned to the text item and user needs to click the text item.....In the text item the Open form command is given
This is not working
The form builder throws an error
Frm 92100 Connection interupted
what could be the reasonCode written in When-Mouse-click
for item :boo_toolblk.nbt_nxtscr which contains the form id
DECLARE
p_name_id PARAMLIST;
lv_param_name VARCHAR2(8):= :boo_toolblk.nbt_nxtscr;
lf_next_form_id FORMMODULE;
BEGIN
Clear_Item;
/*Create a parameter list named 'TEMPLT_PARAM'. First
** make sure the list does not already exist, then
** attempt to create a new list*/
IF not Id_Null(Get_Parameter_List('TEMPLT_PARAM'))/*Returns a BOOLEAN value if the object ID is available*/
THEN Destroy_Parameter_List('TEMPLT_PARAM');
END IF;
p_name_id:= Create_Parameter_List('TEMPLT_PARAM');
/*Add a value parameter to an existing Parameter
** List */
Add_Parameter(p_name_id,'templt_nxtscr',TEXT_PARAMETER,lv_param_name);
Go_Block(Get_Form_Property(:system.current_form,FIRST_NAVIGATION_BLOCK));
lf_next_form_id := FIND_FORM(lv_param_name);
:PARAMETER.next_form := lv_param_name;
IF lf_next_form_id.id is not null
THEN
Close_form(lf_next_form_id);
END IF;
Add_parameter(p_name_id,'previous_form',TEXT_PARAMETER,:SYSTEM.CURRENT_FORM);
/* opens another form*/
Open_Form(lv_param_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA,p_name_id);
EXCEPTION
WHEN FORM_TRIGGER_FAILURE
THEN RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS
THEN RAISE FORM_TRIGGER_FAILURE;
END;
Error :-
Frm-92100 : Your Connection to the Server was Interrupted
This may be the result of a networn error or a failure on the server.
You will need to re-establish -
Applications not reporting when launched via Midtier
The specified log file is not updated when deploying application objects
to Windows 2000 machines with the ZFDsp2 agent via our Zen midtier. The
same application object will update the log when run on a machine with
the Novell client. The log is written to a Novell share with public
permissions. The midtier service is running on a Windows 2003 server.
Any ideas on what I might be missing?Thanks for the suggestions. I tried logging to the Zen database and had
the same result. The log updates when the object snapshot is run on a
workstation with the Novell client, but will not update when run on a
machine that just has the ZFD agent.
Surely there is a way to log snapshots without the Novell client, right?
> On Thu, 07 Dec 2006 19:54:36 GMT, [email protected] wrote:
>
> > Have you tried using the ZENworks Database for logging purposes?
>
> and when you want to use loggin also outside the firewall take a look
into
> the xml servlet too
> --
>
>
> Marcus Breiden
>
> If you are asked to email me information please change -- to - in my e-
mail
> address.
> The content of this mail is my private and personal opinion.
> http://www.edu-magic.net -
Component Slider not working when loaded from another swf file
I have a simple Flash application that uses a component Slider to increase or decrease the size of the text in a TextArea (ta). It works perfectly fine on its own, however, when I try to load the same swf file from another application, I get the following error...
ReferenceError: Error #1069: Property fl.managers:IFocusManager::form not found
on fl.managers.FocusManager and there is no default value.
at fl.controls::Slider/thumbPressHandler()
Code...
import fl.events.*;
import flash.text.TextFormat;
ta.text = "Lorem ipsum dolor sit amet";
var tf:TextFormat = new TextFormat();
tf.color = 0xCCCCCC;
tf.font = "Trebuchet MS";
tf.size = 12;
slider.addEventListener(SliderEvent.THUMB_DRAG, sliderChange);
style();
function style():void
ta.setStyle("textFormat", tf);
function sliderChange(e:SliderEvent):void
tf.size = slider.value;
ta.setStyle("textFormat", tf);
Could the containing swf file that I'm loading the slider swf file in anyway effect the slider application? I don't quite understand why it works on its own, but not when loaded from another app.add a slider component to the main (loading) swf's library.
Maybe you are looking for
-
Hard drive full, how to recover missed iMessages?
Hey all, My daughter's hard drive on her macbook air became full and she was unable to iMessages sent to her. I cleaned up the HD and it now has more room. How can she recover those messages she missed the HD was full? Possible? When the HD is full d
-
Migration of catalog file only to a new computer, keeping photos on external drive
I have PSE 10 on an old computer, and have all of my photos stored on an external hard drive. I now have a new computer with PSE 11 on it, and I'd like to move the catalog file, which sits on the old computer to the new computer so that I can use it
-
How do I add rules to a folder in iCloud mail service?
I have mail organized into an automatic spam filter in icloud mail that tosses it into a folder already. What I want to do is move some mail on a conditional rule statment like "If from: [email protected]" Move to "folder1" if mail from [email protec
-
Where is the show duplicates feature in iTunes 11?
Is the display duplicates feature gone completely in iTunes 11? If not is there anyone who can tell me how to find it?
-
How can I get composite processing time through Weblogic System MBean
Hi All, Can anybody please tell me where to find SCA Composite processing time under 'System MBean Browser' properties? We have a requirement to access composite instance processing time from Oracle Weblogic MBean through java. Please note, component