Alert Control Import
Hi,
Lp is a great tool - thanks!
I've noticed that the application autoUpdate has an Alert in the error handler. However the code generation does not appear to include a:
import mx.controls.Alert;
I can type it in manually, no big problem. Maybe in the dot update...
Thanks,
Niall
Thanks Niall!
This has been fixed in the update that was posted yesterday, but please let me know if you have any other issues with it. Details on the fixes and changes included in the update can be found here: http://devgirl.wordpress.com/2010/09/07/adobe-air-launchpad-update/.
Thanks much!!
Holly
Similar Messages
-
Alert Control Popup Message is blank
Hi,
I am using Alert control to display a popup message. For some reason message is blank and the label for Ok button is also blank. Popup does come up
with a blank button. If you click on button then it does go away as it should. Any suggestions?
Thanks in advance!Hi JK2075,
The Alert should be Alert.show and not just Alert....and also import the namespace as well..
import mx.controls.Alert;
Alert.show("test","test");
Thanks,
Bhasker -
Conclusion number for Control import book
Hello experts,
I have question regarding one data that is mandatory for Croatian foreign currency payment. That is the conclusion number for Control import book.
My question is: Is there any field in Purchase order that can be transferred to logistic invoice, and then to FI invoice so it can be seen in payment and we can fill that conclusion number in that field.
Regards, Marinahi
check with any order text field. -
RAR 5.3 SP10 Mitigating Control Import Utility
All -
I exported my mitigating controls from a RAR 5.3 SP9 system and imported them into a 5.3 SP10 system. I received a successful confirmation of the import, but when I "searched" my mitigating controls there were duplicated mitigating control numbers. It looks like the import tool duplicated the mitigating control ID for every "monitor" assigned to the mitigating control number. For example, mitigating control MC00000001 with Monitor1, Monitor2, & Monitor3 equated to 3 entries of MC00000001. If I try to delete 2 of the 3 entries, I receive a "Successfully deleted" message and get the error "Exception!!. No relavent language message available in database for :0053". When I "search" again, the mtigating control is no longer there (as expected).
I confirmed my mitigating control import file does not have the multiple entries.
Any ideas?
Thanks,
DanielVenky,
Thank you for your response. The message issue actually wasn't the one that I was asking about, but thanks for the heads up. The main issue is that RAR (5.3 SP10) is multiplying mitigating control entries for the number of monitors assigned to the mitigating control. It appears to be an issue with SP10 as it did not occur in SP9. I'm trying to see if anyone knows what the fix is.
Thanks,
Daniel -
Alert Control - Background Color
Hi everybody,
I've been trying to change the background color of the Alert
Control.
The only thing that I got close to, what using the
myAlert.setStyle("backgroundColor",......). However, it only
changed the
inner background, not the background of the main Alert. Can
somebody point
me in the right direction?
Thanks,
JGWell, that was actually quite simple. I was exploring the
classes and their
parents, it was getting a little confusing. Then I started
inspecting the
Alert box created. I noticed I has getting 3 children being
created:
[INFO] Alert6.border (object):
[INFO] Alert6.UIComponent8 (object):
[INFO] Alert6.AlertForm14 (object):
so I started looking at the border class, then programmatic
skin etc... Long
story short, I went back to the doc on the Alert control,
there are actually
several styles related to border, it's quite misleading
because it actually
related to this 20 pixel edge around the content of the
alert. So with a
combination of border styles and background styles you can
actually get your
control to look the way you want. Here is my code:
var myAlert:Alert = Alert.show("An error occured while
loading from the
server.", "Error", Alert.YES, this);
myAlert.setStyle("borderColor", "#75734f");
myAlert.setStyle("backgroundColor", "#75734f");
And actually, from the doc:
BorderAlpha - Alpha of the title bar, control bar and sides
of the Panel.
just need to take time to read the doc sometimes.... ;-)
"phi2265" <[email protected]> wrote in
message
news:erkr54$60r$[email protected]..
> have you figured this out yet? you can't call
AlertMsg.parent.setStyle
> like you can AlertMsg.setStyle -
Alert class import causes errors
Hello,
I am the local new guy. I have followed many examples of how to create an alert popup window and have failed.
Background:
added alert component to stage and delete, component shows up in library
added import mx.controls.Alert
to actions layer first frame of fla file
When I control enter to create the file, I get these wierd errors, 16 of them in fact
rainging form there is no method to no poperty
here they are:
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\managers\PopUpManager.as: Line 123: There is no method with the name 'deactivate'.
SystemManager.deactivate(o);
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\TextArea.as: Line 361: There is no property with the name '_color'.
_color = UIObject.textColorList;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\TextArea.as: Line 363: There is no property with the name 'focusTextField'.
focusTextField = label;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\containers\Window.as: Line 348: There is no property with the name 'clickHandler'.
button_mc.clickHandler = delegateClick;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 159: There is no method with the name 'createClassChildAtDepth'.
var o:Button = Button(createClassChildAtDepth(Button, DepthManager.kTop,
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 166: There is no property with the name 'clickHandler'.
o.clickHandler = onClick;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 167: There is no property with the name 'detail'.
o.detail = detail;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 212: There is no property with the name 'width'.
extent.width += icon_mc.width + 8;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 218: There is no property with the name 'height'.
var i:Number = icon_mc.height - (numlines * (extent.height + 4));
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 263: There is no property with the name 'height'.
icon_mc.move(x, (height - buttons[0].height - icon_mc.height) / 2);
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 264: There is no property with the name 'width'.
x += icon_mc.width + 8;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\scrollClasses\ScrollBar.as: Line 272: There is no property with the name 'height'.
var y:Number = ((pos-minPos) * (scrollTrack_mc.height-scrollThumb_mc._height) / (maxPos - minPos)) + scrollTrack_mc.top;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\scrollClasses\ScrollBar.as: Line 494: There is no property with the name 'height'.
thumbHeight = pageSize / (maxPos-minPos+pageSize) * o.height;
**Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\scrollClasses\ScrollBar.as: Line 497: There is no property with the name 'height'.
if (o.height < st.minHeight)
**Warning** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\Alert.as: Line 27: There is no class or package with the name 'mx.containers' found in package 'mx'.
static var symbolOwner:Object = Window;
**Warning** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\Alert.as: Line 213: There is no class or package with the name 'mx.controls.alertClasses' found in package 'mx.controls'.
var tmp = AlertForm;
Total ActionScript Errors: 16 Reported Errors: 16
funny thing is that when i create the same code
import etc alert.show etc in a new fla file it works just fine, when i use the working code from the new fla and place it here not changing anything it fails with the previoulsy mentioned errors,
I have checked the class path, i have added the direct folder of the classes, I have even tried to import the .AS file it self with no luck.
Any suggestions here?
Thanks
JimAhhhhh...thank you!
One other question that is related...
So now it imports the class ApplicationMain.as.
But now there are path issues that I can't quite figure out.
So I have a scene called Content - my main and only scene.
In that scene there is a MC called content_MC as well as 2 buttons; a print button and a start over button.
Inside the content_MC there are several objects, including those that are labeled with instances that are meant to point the ApplicationMain file to them so they can have the ApplicationMain.as class applied to them.
I have an AS layer/frame inside content_MC that imports the ApplicationMain class just as you suggested.
Inside the ApplicationMain.as file the targets are registered as e1, e2, e3, e4, etc.
These instances, e1, e2, etc, are located inside content_MC on a layer below the AS layer where the import of the ApplicationMain code is located.
When I export the SWF I get error 1120 access to undefined property e1. This error occurs for each instance I am trying to target.
This is clearly a path issue but don't understand...?
Shouldn't those instances be found by the ApplicationMain.as class since they are resident in the same movie clip where the ApplicationMain.as class is being imported into?
Here's how the targets are registered in the ApplicationMain.as file...
_transformTool.targets = [e1, e2, e3, e4, f1, f2, f3, f4, f5, f6, f7, f8];
Man, AS3 is making my head spin!
Thanks a ton for your help! -
Throw alert: control step
hi forum,
can u help me in knowing the action: "throw alert" in CONTROL step in the BPMSudheep,
Take a look at this blog.
It describes this step by step,
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards
Bhavesh -
Flex Component Kit : control import with external API?
Hello,
I want to import a swf/swc which plays flv movies controlled
by an external API. When I compile the mxml file which contains my
application will I still be able to control it with the external
API?
I hope someone can help me.
cheers, FloThat's really weird!
After digging around, reinstalling Flash CS3 again and doing
multiple tests, I finally found the source of the problem:
Two .swc files residing in the same folder where I was saving
my tests files were avoiding the Flash compiler to successfully
create new .swc files!? I cannot understand how this can be
possible. As soon as I choosed a new folder for saving the test
files, I could link to the .swc and access the component from Flex.
Also as soon as I moved out the two culprid files I could again
save in the previous folder...
Does anyone has an idea how this can happen?
For those interested in the case, you can download the 2
culprid files
here
Best regards, -
Hello All,
Is there any way to control the rejection of records in impdp ?
Currently I am doing an import using impdp 1 of the records is giving error unique constraint. All the records of the dump file were rejected, and impdp failed, no records were imported to the table.
Is there any way to import all records except the one that will have unique error exception ?What I mean that if 5 records violated the constraints then we insert all records except these 5 records?
below is my scenario:
create table test_import_dp (id_1 number(10), name_1 varchar2(30));
create unique index TEST_IMPORT_1_IDX on TEST_IMPORT_DP (ID_1)
create table test_export_dp (id_1 number(10), name_1 varchar2(30));
insert into test_export_dp values (1, 'value_1234');
insert into test_export_dp values (2, 'value_4321');
insert into test_import_dp values (1, 'value_1234');
expdp user/password@dbname dumpfile=test_export_dp1.dmp tables=dba_user.test_export_dp logfile=test_export_dp1.log
impdp user/password@dbname dumpfile=test_export_dp1.dmp tables=dba_user.test_export_dp remap_table=test_export_dp:test_import_dp content=data_only logfile=test_import_dp.log
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "DBA_USER"."TEST_IMPORT_DP" failed to load/unload and is being skipped due to error:
ORA-00001: unique constraint (DBA_USER.TEST_IMPORT_1_IDX) violated
Job "DBA_USER"."SYS_IMPORT_TABLE_01" completed with 1 error(s) at 15:09:50In the above scenario record with id2 was not inserted, is there any way to insert it ?
Regards,
Edited by: Neo-b on Mar 24, 2013 2:23 PMPl post exact OS and database versions, along with the complete impdp command used and the contents of the impdp log file. Check the DATA_OPTIONS parameter in the docs
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_import.htm#sthref215
HTH
Srini -
Control imported swf/movieclip
I have one swf importing a number of other swf's to play in turn. I wish to control the imported.swf which is loaded into a movieclip (MainScreen) from the main.swf - in AS2 I used
MainScreen.sfp=1;
MainScreen.gotoAndStop("wait");
which stopped play and sounds in the imported.swf or MainScreen.gotoAndPlay("go"); which started the imported.swf
In AS3, I have tried the same thing but get no response, though I can lick on a button in the imported.swf to make it play, I cannot control it via the main.swf - have also tried this.MainScreen.gotoAndStop("wait"); but no change. Am stuck as I do not wish to include buttons on each imported swf.
Also: Can I copy the contents of one movie clip to another. I have a series of movieclips mcp1, mcp2... inside another movieclip (mcp). I initially load several external.swf into this movieclip (mcp.mcp1 mcp.mcp2 ...etc) so as to see the progress of each swf loading (maybe 15 or 25 depending) then show one page at a time fulll screen. I have then in the past simply relaoded one imported.swf into the MainScreen movieclip which is quicker having preloaded each swf in a group, but this seams inefficient. Any comments or ideas appreciated.
ThanksThank you Ned... 12,500 responses odd, you have made more responses than I've had hot lunches.
I appreciate you comment about removeChild and not unload, and that is what I tried to try.
stop();
function fwd_bF(event:Event):void {
trace("fwd:");
SoundMixer.stopAll();
MainScreen.removeChild(ldr); // MainScreen is a movieclip
pgno+=1;
gotoAndStop("g_g");
function rev_bF(event:Event):void {
MainScreen.removeChild(ldr);
SoundMixer.stopAll();
trace("rev: "+pgno);
pgno-=1;
gotoAndStop("g_g");
books_b.addEventListener(MouseEvent.CLICK, books_bF);
home_b.addEventListener(MouseEvent.CLICK, home_bF);
fwd_b.addEventListener(MouseEvent.CLICK, fwd_bF);
rev_b.addEventListener(MouseEvent.CLICK, rev_bF);
ldr.contentLoaderInfo.addEventListener(Event.INIT, dealWithIt);
MainScreen.addChild(ldr);
function dealWithIt(evt:Event):void {
var MainScreen:MovieClip = MovieClip(evt.target.content);
MainScreen.gotoAndPlay("go");
play_b.addEventListener(MouseEvent.CLICK, play_bF);
stop_b.addEventListener(MouseEvent.CLICK, stop_bF);
function play_bF(event:Event):void {
trace("go...");
MainScreen.gotoAndPlay("go");
function stop_bF(event:Event):void {
trace("stop...");
MainScreen.sfp=1;
MainScreen.gotoAndStop("wait");
ldr.load(new URLRequest("swf/"+arm[pgno]+".swf")); // arm[*] is array containing swf names.
// pgno :Number keeps track page we’re at
I have trouble getting the MainScreen to removeChild, it either removes the ability to reload or leaves multiple swf’s loaded into the mc. I’ve tried using MainScreen.removeChild(ldr) and MainScreen.removeChild(evt.target.content) inside the dealwithit function, but it does not like that either.
I found a loader at Google that brings in multiple files (swf, jpg, mp3 etc) and puts swf’s to an array. Which all sounds applicable to what I require, but being new to AS3 etc it seems to be hidden in packages and cryptography, so I will need to see how I can put it in place. But I think I will still be faced with the same problem of then controlling the various swf’s. -
Can I control imported SWF files?
I'm being a pest today. Anyway, I have a primary SWF files
with buttons to browse through pages. If I import another SWF into
the file, can I use these buttons to control the imported one?
Should be a simple enough question.localconnection should be used if the two swfs are open in 2
browser windows (or 1 browser window and a projector file or 2
projector files).
otherwise, if your using loadMovie(), loadMovieNum() or
loadClip() you should be using the normal path.filename
reference. -
Hi.
I want to have a video imported in flash and controlled
through action script for pause and resume actions and maybe
replay.
I converted a .mov into a .flv and imported the flv in flash.
I did it that way because i need it to be in a certain spot with a
mask and only pauseble by click.
So is there any way to control the flv by click or i have to
load at runtime the whole thing and trigger it through action
script?I have followed Dean's instructions but the Flash progress
slider and volume
slider's that are in Flash don't really work. You can click
on them and
drag them about a pixel but it seems as though Director is
grabbing the
mouse event before you can finish dragging the slider. The
play/pause
button in Flash works fine, I'm guessing because a single
mouseDown/mouseUp
gets through.
"womp" <[email protected]> wrote in message
news:g2u2gu$btj$[email protected]..
>I have a project where I'll be given FLV files. Which is
the best way to
>implement them.
>
> 1) add them to SWF files and use Lingo to control the
video?
>
> 2) create a self contained Flash file with all video
controls and use it
> as a sprite in Director?
>
> 3) use the FLV's by themselves, imported into Director
with Lingo
> controlling them?
>
> Thanks for any help
>
> Craig
>
> -
Controlling imported AVI with AS
I am trying to control an imported AVI clip with AS
When I import this AVI with the option to place on the stage,
the resulting
movieclip has the timeline expanded to accomodate the
relevant numver of
frames.
Now when I Insert-NewSymbol-MovieClip and then drag the AVI
from the
Library to ste new MC, stage it is just one frame and it does
not as whether
to expnand the clip tilmeline.
What I am doing wrong?Flash 8.
What implications are involved by flv?
How is this connected with my problem?
Where this flv is placed?
I noticed that sometimes an flv is added to the relevant
folder - but this
happens not every time thought I knownly do nothing about
conversion to flv
"funkysoul" <[email protected]>
ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ
× ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ:
news:ffktoi$p27$[email protected]..
> Which flash version are you using? Since Flash 8, every
video format you
import is "automatically" being transcoded to the flv format. -
Import/Export Legal Regulation Control w/ One Legal Regulation
Hi,
In a separate thread, Dhillipan helped me configure a legal regulation using Country/Country Group (config activity: Activate Legal Regulations at Country/Country Group Level) which was very helpful to restrict Sales Orders / Deliveries from a specific country to a specific country group. In addition to those export documents, I would also like to use the same legal regulation to prevent the export of inter-company purchase orders (import document) from Country BE to any country in the world. I assume I would have to reverse my logic and prevent the export of Product 123 from any country in the world to Country BE.
What are some suggestions to leverage the existing legal regulation for both import and export control from/to BE?
For instance...
Sales Orders / Deliveries:
Product 123 cannot be exported from BE to RU, AR and US, but can be exported to any other country using sales orders/deliveries (this has already been configured)
Purchase Orders (Inter-Company):
Product 123 cannot be exported from BE to RU, AR and US, but can be imported to any other country using I/C purchase orders.
Thanks for your help.Hi Chris,
Just to make sure my understanding is right. You need same kind of export check for Inter-company Purchase orders right? the same kind of check that we had configured for SO and Deliveries?
In standard all purchase orders are considered under Application level MM0A, which will be shown under Legal Control Import for Imports check. Relevant outbound deliveries will be used for export check.
So, performing export check on PO is not possible when you have this in MM0A level. There is a note available to alter the application level for I/C POs from MM0A to SD0A. But I don't think you should think of it just considering this particular requirement. But I believe your requirement will be taken care when a delivery is created for your I/C PO- Did you check that already?
But you may give a try with following settings for the same legal regulation in addition to whatever you have setup for export.
Country Group for RU, AR and US- Which u had created already. Activate imports check for same legal regulation at Country Group/Country level.
LR1
ZGRP1 --- Not activated for Import
BE- Activated for Import.
This way, your STO will be blocked when there is an Import to RU, AR and US from Belgium. I assume this is what you needed.
As you know, you will need this strategy added in your determination procedure. Just ensure there isn't any impact to the existing SO/Del level checks.
Please try this once in sandbox. I haven't checked this in system like last time. So, I am not 100% sure this will work.
Regards
Dhilipan -
Problems trying to import and export alerts
Hi everybody,
We are trying out BAM 11 TP4 and we have BAM 10 already in production, in our try out, we are exporting everything like D.O., REPORTS AND ALERTS and importing to BAM 11 TP4, we were capable to import everything but the alerts it says that the user doesnt exists, so to see what was the problem I create the same alert in BAM 11 TP4 and try to export to compare the xml´s and then I got this message saying that the rule is not found, but it is there I created and tested the alert. So anybody can help me with that? Bellow is the icommand I m trying and the response from icommand.
Thanks.
D:\Fabricas\1-Fabrica_BAM\4-BAM_11g\1-Types\1-Export\5-Rule>icommand -cmd export -type Rule -name "1-Deletar dia anterior todos os dias as 5 pm" -file Deletar24_11g.xml
ICOMMAND_RUN_DIR=C:\BAM11g_OC4J_HOME\bin\..
JAVA_HOME=C:\jdevtp4\jdk
"C:\jdevtp4\jdk\bin\java" -enableassertions -Xms128M -Xmx512M -Djava.util.logging.config.file=bin\utility.logging.properties -Doracle.bam.debug=false
-Djavax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory -Djavax.xml.transform.TransformerFactory=oracle.xml.jaxp.JXSAXT
ransformerFactory -cp lib\java\internal\oracle-bam-icommand.jar;lib\java\internal\oracle-bam-middleware.jar;lib\java\internal\oracle-bam-adc.jar;lib\j
ava\internal\oracle-bam-morpheus.jar;j2ee\home\lib\logging-utils.jar;jlib\dms.jar;lib\java\shared\org.jgroups\2.4.1\jgroups-core.jar;webservices\lib\c
ommons-logging.jar;j2ee\home\lib\concurrent.jar;j2ee\home\jps-internal.jar;jlib\rds.jar;pcs\lib\pcsagent.jar;drm\ons.jar;lib\java\internal; oracle.bam
.icommand.Application -cmd export -type Rule -name "1-Deletar dia anterior todos os dias as 5 pm" -file Deletar24_11g.xml -DEFAULTPATH "D:\Fabricas\1-
Fabrica_BAM\4-BAM_11g\1-Types\1-Export\5-Rule;D:\"
Oracle BAM Command Utility [Build 2616, BAM Repository Version 2013] Copyright ⌐ 2002, 2008, Oracle. All rights reserved.
Exporting Rule "1-Deletar dia anterior todos os dias as 5 pm"...
BAM-02514: There is no Rule named "1-Deletar dia anterior todos os dias as 5 pm".
[ErrorSource="ImportExport", ErrorID="Export.Rule.NotFound"]I seem to be getting there now and have discovered the renaming presets on the right hand side of the import panel. It's actually all working rather well but I'd like to find out more about the various IPTC fields to see if there is more information I should be adding.
Maybe you are looking for
-
Dynamic Column Names using Refcursors
Hi, I have a stored procedure which returns a refcursor. The refcursor contains a SQL query in which the column names and number of columns vary dynamically based on the date parameters passed. "My objective is to return certain XYZ details of employ
-
Syncing phone with multiple macs
I have two macs - and I keep all my music on one and all my calendars on the other. Can I sync my iPhone with both? I'm afraid to try...
-
Can't get iPhones to connect to wifi
I have a pc and an iPad. My wife has a mac laptop. So do my daughters. All of us connect effortlessly to wifi via the EA3500. All of us, however, also have iPhones, and yet none of us can get on wifi with our iPhones. Apple insists the problem i
-
PSRemoting Domain Controllers 2008 R2
I am new to powershell and ps remoting but I cannot get remoting to work on my DC's. I followed to same steps on non-DC and they work on the first try. All I am running is this command (Enable-PSRemoting -Force). I have tried turning off the firewall
-
How do I sync what is on my iPod classic to my new Macs
I had and old iMac that no longer works (hd is fried) I have a large Library on my iPod and want to sync it to my new Imac and Mac book Pro. I remember seeing a way of have the sync go from iPod to the computer but can not find it any more. Thanks