Do simultaneously or successively mobile and modifiable fields or text sprites in the movie.
I'm having a little problem with the creation of field or the sprites that are editable and movable text. I want a user to enter text in the sprites and move on the stage to serve as labels for the schemas they make. I can easily make it draggable or editable, but trying to do both a property interferes with the other. I have been using various combinations of the properties on the mouseenter, mouseleave, and mousedown managers. One version of my not cultivable efforts are below. Seems that I can move a sprite but becomes editable update once it can no longer move. Any ideas?
stem
___________________________________________________________
property spritenum
on mouseenter me
Sprite (spritenum) .moveablesprite = true
Sprite (spritenum) .editable = false
end
on mouseleave me
Sprite (spritenum) .editable = false
Sprite (spritenum) .moveablesprite = false
end
on mousedown me
Sprite (spritenum) .moveablesprite = true
Sprite (spritenum) .editable = false
end
on mouseup me
Sprite (spritenum) .moveablesprite = false
Sprite (spritenum) .editable = true
end
Just set your text properties in the property inspector and associate a sprite drag behavior.
-Sprite drag
sp - this sprite property
property pStartLoc - location of sprite on mouseDown
property pMouseStart - location of the mouse on mouseDown
property pMoving - flag for enterFrame. True/false
on beginSprite me
SP = sprite (me.spriteNum)
pMoving = false
end beginSprite
on mouseDown me
pStartLoc = sp.loc
pMouseStart = _mouse.mouseLoc
pMoving = true
end mouseDown
on mouseUp me
pMoving = false
end
on mouseUpoutside me
pMoving = false
end
on enterFrame me
If not pMoving then exit
deltaMouse = _mouse.mouseLoc - pMouseStart
SP.loc = pStartLoc + deltaMouse
end enterFrame
Tags: Director
Similar Questions
-
Need to fill out the field of text based on the selection after pressing an event in the OPS
Dear all,
I have a requirement as below
I have a table of tip having a LOV field and I have a button to add a line so that I can add a row more lov field and after I am pressing a button to insert the LOV data into a table, my requirement is in the top of the page that I have text field, I have to fill the selected values of LOV in below format in this area.
EX:
Table of the advance:
Row1:ABC
Row2: DEF
In the text field, I need ABC-> DEF in this format after pressing a button, and that the value should insert into the table in this form, please help me on this
Thnaks
Hello
Advanced table: (SEE: SampleAdvnacedVO)
RowNo ColLovValue
1 ABC
DEF 2
Create an OAMessageTextInputBean (Id - ValueItm) and
Set Property Render ${oa. RenderVO1.Render} with initial value as a BOOLEAN. FAKE.
Button: Send
Create a partial fire Action by clicking on the "submit" button
Code central:
Of the PFR:
{if ("submitClick". Equals (PageContext.GetParameter (EVENT_PARAM)))}
am.invokeMethod ("executeRenderVO");
OAViewObject vo = am.findViewObject("SampleAdvnacedVO1");
Line = vo.getAllRowsInRange ();
String value = null;
SampleAdvnacedVORowImpl voRow = null;
for (int i = 0; i)< row.length;="">
{
voRow = rank (SampleAdvnacedVORowImpl) [i];
value = value + "-->" + voRow.getColLovValue ();
}
System.out.println ("values-" + value);
OAMessageTextInputBean valueItmBean = (OAMessageTextInputBean) webBean.findChildRecursive("ValueItm");
valueItmBean.setValue (value);
}
GOT the Code
public void executeRenderVO() {}
OAViewObject vo = getRenderVO1();
vo.executeQuery ();
vo.insertRow (vo.createRow ());
Line OARow = (OARow) vo.first ();
row.setAttribute ("to make", Boolean.TRUE);
}
-
Two fields of text depending on the form does not
P2_TECHNICIAN1_RADIO IS A TEXT BOX WITH THIS QUERY:
Select radionum d, radionum r
of org1
AND after that radionum entered p2_technician1_radio, p2_technician1_name is filled with the results.
P2_TECHNICIAN1_NAME IS A LIST OF SELECTION WITH THIS QUERY:
Select last_name. «, » || d first_name, last_name. «, » || first name r
of org1
where radionum =: p2_technician1_radio
Now it all works, but when I change the p2_technician1_name of a "Display text" field, it no longer works. What should I change to make it work as a field "display text"? Thank you
DeannaOk
My pages are based on the EMP2 table that has fields EMPNO, ENAME, DEPTNO and DNAME. This links to the table that has fields DEPTNO and DNAME DEPT. My sample form is used to fill the EMP2. DNAME field with the Department. DNAME value based on the DEPTNO entered by the user.
So, first of all, I have a link to my report on page 1. This theme has the following parameters:
Target: Page
Page: 2
Clear Cache: 2
1 name of goods: P2_EMPNO
Value of the element 1: #EMPNO #.Note that I have clear the cache for page 2
Now on page 2 (the form) I have four fields - P2_EMPNO (hidden), P2_ENAME (that we cannot ignore here), P2_DEPTNO (text field) and P2_DNAME (display in the text field (stops State))
P2_DEPTNO has the following parameters:
Source: always,...
Source type: column database
Value of source: DEPTNOP2_DNAME has the following parameters:
Source: always,...
Source type: column database
Value of source: DNAMEPage 2 has a rank of Fetch on automated EMP2 line pick the process that runs after the header and has the following parameters:
Owner of the table: (my diagram)
Table name: EMP2
Element that contains the value of the primary key column: P2_EMPNO
Primary key column: EMPNOPage 2 has a row of process of treatment EMP2 automatic line (DML) that runs on submit - after calculations and Validations. It has the same parameters as for the above extraction process.
Page 2 has a validation for P2_DEPTNO that verifies the existence of the value entered by the user. It is a validation exists SQL using the:
SELECT 1 FROM DEPT WHERE DEPTNO = TO_NUMBER(:P2_DEPTNO)
I got an error text to display if the query returns no rows.
Page 2 has an unconditional branch pointing to page 2 with no special parameters
There are the buttons cancel and apply the normal changes that were created during the creation of the form by the wizard - Cancel redirects to Page 1 and Apply Changes just submits the page.
Finally and above all!, page 2 has a calculation that runs after shows to the agenda of the P2_DNAME page. This process is unconditional (otherwise said, it is triggered by anything that submits the page - in this example, it's just the Apply Changes button). The method is a type of "SQL query" and has the following calculation:
SELECT DNAME FROM DEPT WHERE DEPTNO = TO_NUMBER(:P2_DEPTNO)
I'm ignoring the report showing the DEPTNO values as it was just to check what are the numbers that I could use.
If the bits are important settings on the P2_DEPTNO and P2_DNAME elements and calculation and cache pages of compensation on the report link.
Andy
-
Once installed, the icon of Firefox opens a Google web browser page that has no toolbar or the navigation buttons. He won't go to Firefox with Google as a research tool. It doesn't seem to be a way to get Firefox.
You can be in full screen; Press the F11 key to toggle full screen or not.
If this does not resolve the problem, make sure that the Navigation bar is enabled (checked = displayed; UN - check = not displayed)
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check-> http://www.mozilla.org/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plug-in for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
Access and modify rich components inside cells in the table of the ADF
Hello.
This is my current problem with Tables in the ADF.
I drop a simple VO in a page and create a table. Suppose one of the attributes/columns (named flagID, for example) may have specific values: 1 or 2.
Next, I add another column that contains links to the ADF.
For each line, I need it:
- If row.flagID.value is equal to 1, then its corresponding line contains an ADF link with text '1 link' value and go to destination 1 (can be a page, popup, etc.)
- If row.flagID.value is equal to 2, then its corresponding line must include an ADF link with text "Link 2" value and proceed to destination 2.
My main problem is to customize each cell. I add a column, I add a link "ADF" in this column, but how can I customize the link and its attributes as I have explained, at the level of cells?
How to access programmatically the cell, not its value, but its rich Component?
Is it possible (programmatic or not) to do?
Any help would be much appreciated.
Thanks in advance. Best regards
Try the EL Expression on the property of the ADF link text
#{row.flagId.value = 1? {Link 1: link 2}
If the link is to behave differently according to the text, and then create a listener of the action on the link and do the required action.
Thank you
Morgan.
-
Problem downloading and saving a file text not in the SD card
Hi all
My goal is to download a KML file and save it to the SD card.
My code did not throw any error and has also created a new file in the SD card. But the data inside is not correct.
Someone please correct my mistake.
Here is my code:
public final class MyTest_ToDownloadAndSave extends {screen
public MyTest_ToDownloadAndSave() throws IOException
{
StreamConnection conn = null;
InputStream inputStream = null;
FileConnection fConn = null;
OutputStream outputStream = null;
byte [] byteVal;
StringBuffer sb = new StringBuffer();
try {
Conn is Connector.open (StreamConnection) ("https://sites.google.com/site/mykmltest1/multilockml/cta.kml", Connector.READ_WRITE);.
inputStream = conn.openInputStream ();
int ch;
while ((ch = inputStream.read ())! = - 1).
{
SB. Append ((char) ch);
}
}catch(IOException e) {}
throw new IOException ("problem with the URL");
} {finally
try {
if (inputStream! = null ) {
inputStream.close ();
}
if (conn! = null ) {
Conn.Close ();
}
}catch(System.Exception e) {}
throw new IOException ("close connections problem");
}
}
"Rtx RichTextField = new RichTextField (downloaded successfully"+ sb.toString ());
Add (RTX);
try {
fConn = (FileConnection)Connector.open("file:///SDCard/BlackBerry/cta2.kml",Connector.READ_WRITE);
if (! fConn.exists ()) {
fConn.create ();
}
outputStream = fConn.openOutputStream ();
if (sb! =null & sb.toString ()! = "") {
byteVal = new byte[sb.length ()];
byteVal = sb.toString () .getBytes ();
outputStream.write (byteVal);
}
RichTextField rtx1 is new RichTextField ("registered successfully");.
Add (rtx1);
}catch(IOException e) {}
throw new IOException ("writing to SD card problem");
} {finally
try {
if (outputStream! = null ) {
outputStream.close ();
}
if (fConn! = null ) {
fConn.close ();
}
}catch(System.Exception e) {}
throw new IOException ("close connections problem");
}
}
}
}
http://en.Wikipedia.org/wiki/List_of_HTTP_status_codes
3xx is the guy you want
-
fill in the selected field of text based on the value of lov
Hello
Depending on the value selected in lov, I want to fill another text field. Here is the code I wrote
Of the PFR:
If (PageContext.isLovEvent ())
{
String lovInputSourceId = pageContext.getParameter (SOURCE_PARAM);
If ("lovCategory".equals (lovInputSourceId))
{
java.util.Hashtable lovResults = pageContext.getLovResultsFromSession (lovInputSourceId);
if(lovResults!=null)
{
= (String) lovResults.get ("lovCategory"); value string
amobj.categorycode (value);
}
}
}
Code AMImpl:
{} public void categorycode (string code)
sundryCodeVOImpl vobj = getsundryCodeVO1();
vobj.setWhereClause ("lookup_code =" + "'" + code + "'" ' ");
vobj. Reset();
vobj.executeQuery ();
String desc = vobj.first ().getAttribute("Description").toString ();
String attr = vobj.first ().getAttribute("Attribute1").toString ();
testEOViewImpl vobj1 = gettestEOView1();
vobj1. GetCurrentRow () .setAttribute ("CodeDescription", DESC);
vobj1. GetCurrentRow () .setAttribute ("PurchasingCategoryCd", attr);
vobj1. ExecuteQuery();
}
With this code, updates to the code attributes, PurchasingCategoryCd values get inserted in the database table, but they now appear in the text fields when a value is selected in lov.
Please tell me what is the error that I do.
Thank you
SunnyHi sunny
Going through the thread, it seems that the application of LOV VO has three columns viz A, B and C. You want to put the value of the B column to a text field, if this is the case. Simply create a LOV mapping for column B.
Also I suggest you take a messagestyledtext for the B field as value comes form LOV himself.
Thank you
AJ -
Fill in the field of text based on the menu drop down.
Here's the scenario: I have 2 drop-down lists on page 1 (list1, List2). Based on this selection, I want to fill in a text field on page 2 with their values, after clicking on a button to update at the bottom of page 2. I use the button click event, but how can I get the actual values of each drop-down list on the previous page?
You must give the full path to the objects (i.e. form1. Page1.DDListName.RawValue). look in the view hierarchy to see the structure you want. Conversely, you can place the cursor in the script editor where you want the reference to appear, hold done the key ctrl and move the mouse to the object you wish to reference (it will change into a V). Then click on the mouse and the appropriate for this object reference is displayed in the script editor.
Paul
-
I have and added existing framework of text I want to add more text and at the same time assign a style to text.
Then add more text to the same text frame later.
I can do using 'set applied font statements' but what I want to do is to use styles for each entry. Several times the styles are different for each addition.
say application "Adobe InDesign CC.
say history of parent of text block x of the page 1 of document 1
the value apply fonts of insertion point - 1 for "Chalkduster".
the value point size of insertion point - 1 to 12
-character style from the insertion point to - 1 to the 'New' value - does NOT work
the value content of insertion point - 1 to return & "Either Me!" & back -inserts after
end say
IndesignCC
iMac OSX 10.9
AppleScript
Script debugger 5
Xcode 5.1
Thank you
Mike
-assumes the current paragraph ends with a return
game of newText for "either Me!" & return
say application "Adobe InDesign CC.
say document 1
the value storyRef to parent history of text frame 1 of page 1
the value paraStyle to the style of paragraph 'new '.
the value insertRef to the insertion point -1 of storyRef
the value of beginIndex to index of insertRef
say insertRef
the value content to newText
end say
endIndex put to beginIndex + ( of newText length) - 1
value textRef in (a reference for the characters thru of storyRef endIndex-beginIndex)
the value applied paragraph style of textRef in paraStyle
end say
end say
-
IPSec tunnel between a client connection mobility and WRV200
Someone has set up an IPSec tunnel between a client connection mobility and WRV200? I can't get the right configuration.
Agitation, these products are treated by the Cisco Small Business support community. Please refer to the URL: https://supportforums.cisco.com/community/netpro/small-business
-
Field question (long) list of the industry and the text
two questions
List of industry
1. I want to create a list of choices cascading by industry (secondary sector) list, but the list of industry isn't in the cascading drop-down list. Is this a limitation of the current list of industry? If it can be done, how?
Text (Long)
1. the long text field is displayed as the same size as the text field short. Is there a way to set the display to a bigger size? For example Can I updated the display height 4 to display this field as 4 times the normal size?
2. at the bottom of the layout, 3 step wizard (Field Layout), there is a section called 'Long text fields. Is it possible to add additional fields to this section? Is it possible to have more of the memo and another field (for example, a larger text field) per page?There are some out of the box reports and dashboards that use a list of choice in the industry. If you plan to use a custom instead drop-down list, and this field is going to be the key, I recommend that it is a field lookup indexed.
Published by: bobb on September 23, 2009 14:02
-
Hello
First post - forgive me.
I have a Dell PowerEdge 1950 of R3 with basket 4 x 2.5 "SAS/SATA connected to a PERC 6/i. 4 x 1 TB SATA WD red disks are mounted configured in a RAID10, and all worked happily for 6 months. A drive has failed, so we jumped out and jumped into a new. Rebuild starts automatically and completed in 208 minutes.
Now all is well again, unless the reader identify / preparation for the distribution of light removal still flashes on the replaced disk. Table health is reported as optimal, all the disks are online, and there is nothing wrong in newspapers PERC.
Is it just a firmware error which may disappear during the next reboot? (We cannot restart this machine right now... don't ask!) but it makes me nervous even if everything works well and the newspapers to report a successful reconstruction and optimal condition.
Thanks for the ideas, you may be able to give!
Lee
Product name: PERC 6 / i integrated
Serial number: 1122334455667788
FW Package Build: 6.3.1 - 0003
Data from MFG.
================
MFG Date: 24/06/08
Transfer date: 24/06/08
Revision number:
Battery FRU: n/a
Version of the image in Flash:
================
FW version: 1.22.32 - 1371
BIOS version: 2.04.00
WebBIOS Version: 1.1 - 46-e_15-Rel
CTRL-R Version: 1.02 - 015 B
Pre-launch CLI version: 01.00 - 022: #% 00005
Boot block version: 1.00.00.01 - 0011
Images pending in Flash
================
None
Our only other option would be to use OpenManage for send omconfig commands. If your version of Linux is capable of running OMSA then you can install it and then run the command:
https://Linux.Dell.com/repo/hardware/
If you can not install OMSA, then you can start on a live CD/DVD of the OMSA:
http://Linux.Dell.com/files/OpenManage-contributions/
Direct OMSA is a CentOS distribution that has OMSA and several other utilities built. It is installable, but you do not want to install it on your current OS so be sure to select the live Webcam or load the option memory at boot.
Once inside of the OMSA live or after installing OMSA in your current operating system, you should be able to run this command to unblink drive:
omconfig action of pdisk storage = unblink controller = pdisk 0 = 0:1:2
You may need to use omreport about what are your ID controller and pdisk. on the pdisk is controller: channel: IDLecteur
Thank you
-
APEX4: Filling of fields of database based on the value of SelectList
Hello
I have a Select list and 4 fields of text on a form. By choosing a value in the select list, I have to fill out text fields from its values from the database by using the value in the list select as primary key.
How can I do this in 4 APEX?
Thanks for the help.
-HozyOK, the problem was solved on apex.oracle.com
You were not able to access the application because your application uses DB account as the authentication scheme, who obviously would not work on apex.oracle.com.
I have change the authentication to Apex on apex.oracle.com scheme.
About 3-4 truggers were not valid for account forms, the customer and transfer did not work. Who sets also.
There is no data, then finished by create minimal records juices.
Now take a look at the Page 14 and dynamic Actions. Only Address1 and Address2 are Benoit updated, based on the customer account. You will need to add additional Dyna for the zip code and city Actions.
Next time around, please make it easier for someone to help out you by
1. the manufacture of safe objects are valid
2. it some (dummy data) in the relevant tablesKind regards
-
the page was updated phone and when I FTP'd "modified files" it has never changed the page
I wasn't ready to charge the phone part of Muse but already added a logo and contact info. When I saw that it was on my phone, I'm back in Muse and added a block of text indicating that we are updating the mobile site. When I FTP'd the "modified files" page never changed. Any idea? I checked my diapers and everything. After that I added the block I returned in Muse and changed the wording. After ftping the updated files the new he writes on it and there are now two layers of text on the other! Ugh! So I thought I would remove both. Evil. They are always there. Any clue?
Select "All Files" when you do the FTP download.
Muse is based only on the information contained in the muse_manifest.xml file to determine which files have been changed since Muse last downloaded files. If you add, change, or remove files from your Muse site will be completely unaware of these changes and you will need to download with select "All Files" in order to get the Muse back in sync with what files (and file versions) are on your site.
Muse takes this approach because check manually that all the files on FTP changes for each FTP download would be very slow.
-
Validation and mandatory fields
Hello
I use Jdev 11.1.1.4.0.
I have ClientEO which has attributes name, address, city, State and Zip and obligatory. On client.jsff, I have them displayed in a table. This table is editable table where the user can add new customer or modify existing customer information. My problem is with validation happening in the middle of entering the information.
I click on the 'New' button which performs the operation of "CreateInsert". This creates a low vacuum in the table with the fields of text for all, LOV select only one option for the status field. The thing is, if I click on the State list, I get a validation error popup saying all fields are required. I KNOW, but I did not even have the chance to enter them again!.
If I want the field validation required to treat only the submit, what should I do? I've tried to set skipValidation to true on pagedef, but did not work.
Any suggestions will be greatly appreciated!
Thank you
Bones JonesSee if this helps:
http://andrejusb.blogspot.com/2012/09/what-to-do-when-ADF-editable-table.html
Maybe you are looking for
-
What is the best screen saver to use with the pencil of Apple?
See title
-
At frequent intervals Firefox updates. This may be fine for most people most of the time, but whenever this happens Manager Roboform to login/password stops working. This morning, 11 installed V itself and the Roboform toolbar is missing. "Cannot loa
-
Satellite Pro A40 - cannot connect WIFI tstablish
Hi guys I have a Satellite Pro Model: PSA45E - 0184H - EN Problem is I can not establish a wireless connection, the laptop can not be set automatically detect wireless networks? Any help would be appreciated. Thank you.
-
HP Pavilion Slimline Wireless problem
My wife has an HP Pavillion Slimline(Windows 7) which has been recently infected and had to be wiped clean, cleaned and reinstalled OS. Since we got the House, that she cannot connect to the internet; everything is connected as before, but no acknowl
-
Update Windows 7 646 with office 2003 error when I do not have office 2003 I 2007
Windows 7 fail upates I have 4 update that fail for microsoft office 2003 when I have office 2007 installed on the machine and gives me 646