Example of using ActionScript to create Grid, GridRow, and Grid Item?
Does anyone know where I can find a complete example of using
ActionScript to create Grid, GridRow, and Grid Item?
I got an error when trying to add a child to the GridRow.
Flex 2 said this method (addChild) is not available to
GridRow.
This thread should help:
http://www.actionscript.org/forums/showthread.php3?t=167806
matt horn
flex docs
Similar Messages
-
my airport extreme has connected to a Tplink router, i set my AE in Create network, so i get a problem of Double NAT. How can i repair this probleme because i have to use TPlink for my IP TV and i want to use AE to creat my network and the guest NW. If we don't have a solution for this question, can i set my AE to use the IP TV and how??? I'm using a 4th Airport extreme
No, not unless it is simply a network connection.
How is your IPTV being provided.. if it is using a separate vlan or separate vpi/vci in the adsl connection. Who is your ISP?
Is the TP-Link ADSL?
Is the IPTV using a separate voice channel on adsl?
Or a different vlan.
Sorry but it is something where a definite answer is not possible unless you provide all the details.
The setups are unique to each ISP around the world..
Here is one for our local ISP.
http://www.avenard.org/iptv/Setup.html
He has a section on getting this working with apple router over wireless.. look
http://www.avenard.org/iptv/IPTV_and_Wireless.html
Google around and see if other people have had success.. the whole setup is tricky.. and it is hard if nobody has used it who actually understands networking. -
how use jndi to create a organization and add a user to it¡£THANKS£¡
ÈçºÎ´´½¨Ò»¸ö×éÖ¯µ¥Î»,²¢½«Ò»¸öÓû§Ìí¼Ó½øËü¡£Ð»Ð»£¡Hi,
The command above about creating a group only works for the root site of the site collection, because the scope of the user group is site collection level, these groups
can be used in all the sites in this site collection.
With the existing groups in the root site, we can add users into them and grant specific permissions of a specific sub site to these groups.
Here is a demo about how to assign permission to a group using Client Object Model(though in C#) for your reference:
http://www.c-sharpcorner.com/UploadFile/54db21/set-permission-to-group-in-sharepoint-2010-programmatically/
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
i want to use Xcode to create an app and i need developer tools. so i need to join the devoper program only problem is I'm not 18
You can get Xcode without joining the developer program. Just go to the App Store and download it (it's free).
You'd only need to join the Developer program if you want to put your app into the App Store, this is for OS X.
You will need to join the Developer program if you want to develop for IOS. In that case you will need a parent or guardian. -
Using Actionscript to create complete scenes
Ok let me paint a picture. I'm designing an online flash
application that will dynamically display tutorials stored in a
MySQL database. These tutorials will be added via a php control
panel for tutors to add new tutorials to the database.
So my flash will load, dynamically create a new scene, add in
some static elements i.e. logo and some other images and then list
the tutorials for the user to select.
The user then selects a tutorial and a new scene is
dynamically created to display the contents of this scene i.e. a
scrollPane for the text, video component for the video elements and
the title etc.
I recently read this tutorial so getting the data from the
database into Flash shouldn't be a major problem.
http://www.webmonkey.com/webmonkey/03/40/index1a.html
Here's what I think I need
I'm about to start digging through my flash bible so I'll
edit this and let you know what I've found out myself,
1. How to create a new scene using Actionscript,
2. How to add a few images (jpgs) from the library using
Actionscript,
3. how to add a scrollPane (all using actionscript),
4. how to add some text fields,
5. how to add a video player to access a video from a folder
on the server and lastly
6. some kind of back button..
Majority of these components will be loading content from PHP
which will access my MySQL server.
Any help would be greatly appreciated.
Thanks
SteveA tall order for a single thread! There are many possible
answers to each question. Plus there are not enough specifics to
guide you to the correct alternative. The good news it you can do
what you are planning.
1. How to create a new scene using Actionscript,
Do not be confused with the technical feature of a scene in
Flash IDE. It is not something you use in Actionscript. However
from a design view, you can create any page oriented content
application you want. The usually dynamic element for creating a
page is a MovieClip or the as you mentioned the component
ScrollPane which is MovieClip.
Beyond that there are many many ways to go.
In general you would create one or more template layouts and
load the content in selecting the template.
A shell Flash movie would handle the loading of the templates
and the data or content that would show.
As well there could be swf that are custom pages that simply
load and handle all the needed content separately.
2. How to add a few images (jpgs) from the library using
Actionscript,
MovieClip.attachMovie
You also can load externally using
MovieClip.loadMovie
or if you need to manipulate it after loading then
MovieClipLoad.onLoadInit
3. how to add a scrollPane (all using actionscript),
Explained at
ScrollPane.contentPath">MovieClipLoad.onLoadInit
4. how to add some text fields,
The question implies to create the TextField dynamically and
a central method is:
MovieClip.createTextField
5. how to add a video player to access a video from a folder
on the server and lastly
Use the FLVPlayback component that is delivered with Flash 8
Pro. You need to encode the video as FLV format using the video
encoder that comes with Flash 8 (also possible with import except
you elected to make it external) or a third party encoder.
You put the flv files on the server with the swf containing
the FLVPlayer and use the
FLVPlayback.contentPath
method.
6. some kind of back button..
Again many many ways to go: You can use the Flash component
button or create your own. You can make a button from a MovieClip.
You can do these dynamically or at design time and in either case
change their functionality and respond to their interactions at
runtime. -
Using BAPI_DOCUMENT_CREATE2 to create a document and checkin to VAULT
In a development we are using the function module BAPI_DOCUMENT_CREATE2
to create a document and check in the original file into the R/3 storage
system in one go (see subroutine below).
However, we got the requirement to use a Vault ("Tresor") as the storage
backend. Unfortunatly, just setting the documentfiles-storagecategory element to 'VAULT' results in 3 things:
- the document gets created OK
- the original file does NOT get checked in
- the error message "Original 1 wurde bereits eingecheckt und abgelegt" (...has already been checked in)
So please advise how to use the BAPI modules to achieve the checkin into
a Vault storage.
Could this have something to do with the undocumented documentfiles-originaltype element? What does this have to be set instead of the '1', thats working with SAP-SYSTEM storage?
*& Form l_create_doc_and_save
* text
* -->P_LG_IOTAB text
* <--P_YRAD_DOCFIELDSIOT text
*AP 001 ins
FORM l_create_doc_and_save
TABLES x_iotab STRUCTURE ccihs_am07iot
CHANGING x_yrad_docfields STRUCTURE yrad_docfieldsiot.
* create a new document in DMS with data from x_yrad_docfieldsiot
* and set the new document in x_iotab
DATA: l_files_tab LIKE bapi_doc_files2 OCCURS 0,
l_drat_tab LIKE bapi_doc_drat OCCURS 0.
DATA: l_docdata_wa LIKE bapi_doc_draw2,
l_files_wa LIKE bapi_doc_files2,
l_drat_wa LIKE bapi_doc_drat,
l_return_wa LIKE bapiret2.
DATA: l_doctype LIKE bapi_doc_draw2-documenttype,
l_docnumber LIKE bapi_doc_draw2-documentnumber,
l_docpart LIKE bapi_doc_draw2-documentpart,
l_docversion LIKE bapi_doc_draw2-documentversion.
*fill document data
CLEAR l_docdata_wa.
l_docdata_wa-documenttype = x_yrad_docfields-dokar.
l_docdata_wa-statusintern = x_yrad_docfields-statusintern.
* l_docdata_wa-documentnumber = x_yrad_docfields-doknr.
CLEAR l_files_wa.
* l_files_wa-storagecategory = lc_database. " 'SAP-SYSTEM'
l_files_wa-storagecategory = x_yrad_docfields-storagecategory.
l_files_wa-docfile = x_yrad_docfields-docpath.
l_files_wa-originaltype = '1'. " <--
l_files_wa-wsapplication = x_yrad_docfields-wsapplication.
APPEND l_files_wa TO l_files_tab.
CLEAR l_drat_wa.
l_drat_wa-language = lc_d. " 'DE'
l_drat_wa-description = x_yrad_docfields-description_de.
APPEND l_drat_wa TO l_drat_tab.
CLEAR l_drat_wa.
l_drat_wa-language = lc_e. " 'EN'
l_drat_wa-description = x_yrad_docfields-description_en.
APPEND l_drat_wa TO l_drat_tab.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = l_docdata_wa
* HOSTNAME =
* DOCBOMCHANGENUMBER =
* DOCBOMVALIDFROM =
* DOCBOMREVISIONLEVEL =
IMPORTING
documenttype = l_doctype
documentnumber = l_docnumber
documentpart = l_docpart
documentversion = l_docversion
return = l_return_wa
TABLES
* CHARACTERISTICVALUES =
* CLASSALLOCATIONS =
documentdescriptions = l_drat_tab
* OBJECTLINKS =
* DOCUMENTSTRUCTURE =
documentfiles = l_files_tab
* LONGTEXTS =
* COMPONENTS =
* error occured?
IF l_return_wa-type CA 'EA'.
ROLLBACK WORK.
MESSAGE ID '26' TYPE 'I' NUMBER '000'
WITH l_return_wa-message.
ELSE.
COMMIT WORK.
CLEAR x_iotab.
x_iotab-zzdokar = l_doctype.
x_iotab-zzdoknr = l_docnumber.
x_iotab-zzdokvr = l_docversion.
x_iotab-zzdoktl = l_docpart.
x_iotab-linemod = ic_linemode-insert.
IF sy-langu = lc_d.
x_iotab-zzdktxt = x_yrad_docfields-description_de.
ELSEIF sy-langu = lc_e.
x_iotab-zzdktxt = x_yrad_docfields-description_en.
ELSE.
x_iotab-zzdktxt = x_yrad_docfields-description_de.
ENDIF.
APPEND x_iotab.
CALL FUNCTION 'YRAD_LB34_SAVE_PEND_SET'
EXPORTING
i_flg_save_pend = true.
CLEAR x_yrad_docfields.
ENDIF.
ENDFORM. " l_create_doc_and_saveHi Frank,
Did you manage to figure out what the problem was?
Thank you.
Regards,
Bruno -
Using dbca to create a db and all the users are locked and expired
I create a template using dbca on 10gR2 with schema and data and when I use that to build a clone on another machine the users passwords are all locked and expired. I am doing this in silent mode from the command line and I am looking for a flag that produces the unlock users passwords feature which seems to be there if you manually run dbca from the GUI.
This is a unix script I use to unlock accouts. I should notice this script is used for educational pourposes, in a production database it is not a good practice to leave demo accounts unlocked and overall with login=password.
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
SET LINESIZE 132
SET PAGESIZE 0
SET TERMOUT OFF
SET NEWPAGE 0
SET SPACE 0
SET ECHO OFF
SET FEEDBACK OFF
SET HEADING OFF
SPOOL x.sql
SELECT 'ALTER USER '||username||' IDENTIFIED BY '||username||' ACCOUNT UNLOCK;'
FROM dba_users
WHERE account_status LIKE '%LOCK%';
SPOOL OFF
@x.sql
!rm x.sql
exit
<<ENDSQL~ Madrid. -
How to Use API to create Page/Book and etc. rather than using Workshop
Hi Anyone,
Can anyone suggest me where I can get sample using Bea API to create such as Book/Page and etc..
I can not find from eDoc that bea provide.
Thanks
MarkLooks like your fetch_user into l_developer_role overwrites its default value and then your use of lv_developer_role in edit_user passes in null.
Scott -
HELP! I cannot figure it out! I'm trying to design an opening animation for my show, but it's all one color. I NEED HELP!
If they are just outlines of the content, then you might have mistakenly selected the outline view option. If that's the case, then just click the colored ractangles you mentioned that are next to the layer names (or click the one atop all of them). ANother placeto look is the View -> Preview Mode ->... and make sure Outlines is not selected.
If neither of those is the case, then can you show a screenshot? -
Create new folder and move items script
Hello
Im new to applescript and automator.
I've been looking high and low for something and figured I should ask the pros here...
I want the ability to have a "hot folder" that when ever anything is placed in the folder, a new folder is created in the top directory of that hot folder using the modified date as the new folders name and the contents of the hot folder are moved to the correct folder.
My thought was to upload pictures to this folder (on an external drive) and have the script put them in the correct folder that was created by the script. I could use either "modified date" "created date"...
Is this common? Possible?
Any ideas how I could do this?
Thanks All!!!a new folder is created in the top directory of that
hot folder using the modified date as the new folders
name
Is that the modified date of the files that you
dragged to the "hot folder"?
If so, that would probably require AppleScript since
Automator can't get that information from the files.
For the rest of it-as a starting point
New Folder
Rename Finder Items (Add Date and Time)
Save As Plugin- for Folder Action - attach to your
hot folder.
Note: You don't want to create the new folder in the
hot folder, doing so will likely cause it to loop
continuously.
Yes I would like to pull the "created date" or "modified date" from the files I drop in the HOT Folder and use that date as the new folders name.
So if I put 10 pictures in that Hot Folder and 5 had the same created date then those 5 would go to one newly created folder et cetera..
And no, the new folder will be either above or along side the Hot folder. Not in it.. good catch! -
Creating Multiple IDOCs and Line Items based on Posting date from file
Hi All,
My scenario is File to IDOC(MBGMCR01)...
Need your suggestions and help on how to go with this...
Source file structure is
DC61|2009-03-15|000000000001200051|00000005.00|200|0001|1234|
DC61|2009-03-15|000000000001200363|00000001.00|300|0001|1234|
DC61|2009-03-15|000000000001200334|00000002.00|400|0001|1234|
DC61|2009-03-16|000000000001201145|00000001.00|200|0001|1234|
DC61|2009-03-16|000000000001201086|00000002.00|100|0001|1234|
DC61|2009-03-17|000000000001200051|00000003.00|200|0001|1234|
DC61|2009-03-17|000000000001200052|00000003.00|200|0001|1234|
DC61|2009-03-17|000000000001200053|00000003.00|200|0001|1234|
DC61|2009-03-18|000000000001200056|00000003.00|200|0001|1234|
And target IDOC(MBGMCR01) is
IDOC (0u202699999)
E1BP2017_GM_ITEM_CREATE(0u2026999999)
Date
For Each new Posting date(column 2) of the source a new idoc to be created and the corresponding records of each posting date to be added to E1BP2017_GM_ITEM_CREATE
The out put for the above should be like this
IDOC(2009-03-15)
E1BP2017_GM_ITEM_CREATE=2009-03-15
E1BP2017_GM_ITEM_CREATE=2009-03-15
E1BP2017_GM_ITEM_CREATE=2009-03-15
IDOC(2009-03-16)
E1BP2017_GM_ITEM_CREATE=2009-03-16
E1BP2017_GM_ITEM_CREATE=2009-03-16
IDOC(2009-03-17)
E1BP2017_GM_ITEM_CREATE =2009-03-17
E1BP2017_GM_ITEM_CREATE=2009-03-17
E1BP2017_GM_ITEM_CREATE=2009-03-17
IDOC(2009-03-18)
E1BP2017_GM_ITEM_CREATE=2009-03-18
Will be thank ful if any one gives a hint....
Thanks and regards,
SridharI rather meant a picture of your mapping - anyways. Hope this is correct:
Your souce structure:
<MT_IAR>
<IAR_Recordset>
<IAR_Details>
<Inv_adj_date>
</IAR_Details>
<IAR_Details>
<Inv_adj_date>
</IAR_Details>
Than mapping should be like this:
<Inv_adj_date> ==> SplitbyValue ==> IDOC
Please confirm this doesn't work. -
I use Lightroom to create a slideshow and then export it to software to burn to DVD to play on a TV. When i view it on a computer the pictures are fine, when i view them on the TV the aspect ration is wrong. Can anyone tell me what I'm doing wrong please? Thanks
The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
Menu > Format > Import Styles
The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
Peter -
Examples of using flashbuilder/flex tags
can anybody recommend some resources for examples on using some of the flashbuilder/flex tags.
as a cold fusion web developer, there are tons of resources with snippets or simple examples on using most the cold fusion tags and functions.
liveedocs.adobe.com is a great reference guide but sometimes I need examples and snippets ; reference material is not very useful for learning.
is there or will there be something similar with flex/flashbuilder?I assume you're asking specifically about Flex4 examples? There are tons of resources (Adobe and non-Adobe) for pre-Flex 4 coding, so I won't go into those. For some examples and info on Flex 4, you might check out the Adobe devnet site - we're recently posted some articles talking about various aspects of Flex 4, with sprinklings of code and demos to help illustrate the points:
http://www.adobe.com/devnet/flex/
Also, there were a few talks at a Flashcamp event a couple of weeks ago - it might be worth checking out the videos that were posted:
http://labs.adobe.com/technologies/flash/videos/#flashcamp
(more about the event and links to some of the slides here: http://www.flashcamp.org/)
You can also follow some of the blogs out there that are talking about Flex 4. A few of us on the SDK team have blogs, but there are also non-Adobe bloggers out there talking about it and posting code and examples.
Hope that helps.
Chet. -
Can we have an example of using update, insert, and delete stored procedure
I would like to see an example of using retrieve (return resultset), update, insert, and delete stored procedures in JSF. I need to see syntax how JSF can call those stored procedures. This option is absolutely important when building web-application. Currently, I haven't found resource to do for this purpose yet. The database can be any such Oracle, DB2, pointbase, etc that support stored procedures.
Anyone knows?
Thanks,
Tue VuHi ttv,
I asked around a bit and here's some more info:
To bind a ResultSet to a read only Data Table component just set the "value" property of the Data Table component to point at it, and JSF will synthesize a DataModel around it.
* Note that because we can't call the stored procedure at design time, Creator can't do the fancy table layout stuff it does for rowsets. You'll need to hand craft the columns just like the Google Client example.
* As I mentioned previously, you will have to manually code the stored procedure access in your java code - see the code clip I mentioned in previous reply (and if this is via a stored procedure, then any textbook about JDBC will undoubtedly have examples). Simplest way might be a getter method on the page bean that contains the call to the stored procedure and returns the resulting ResultSet object.
* Don't forget to close the result set - we typically do this at the end of the request (i.e. add a close in the afterRenderResponse() method.
* Don't throw exceptions - or if you have to, make sure you close the result set in a finally clause (thrown exceptions bypass the afterRenderResponse method in the lifecycle).
* You give up on the caching provided by our RowSetDataModel (which can't be connected to a ResultSet even manually), so I would recommend that you only use datatables to display the data and then go to a single row page to do edits/deletes (similar to the TwoPage example in AppModel and the Update, Insert Delete tutorial).
And yes please do submit an example - we will gladly post it!!! :) The best way to submit this kind of thing would be through:
http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
on the right side, Related Links, under Creator Heros, click Submit Content and there you can send it in!
Hope this helps!
Val -
Example of using model 2 architecture
hi,
could someone please direct me to a decend example of using model 2 architecture with jsp and servlets. i'm learning j2ee right now and my book has a simple example with one servlet and 2 jsp pages, are there any examples with more than 1 servlet and 2 jsp pages that are helpful?
Thank you.check out google.com for source code...
Maybe you are looking for
-
When to use Nested Class/Inner Classes ?
I am not very clear, when to use nested/inner classes.. The scenario is :- class ABC //ABC need to store multiple instance of class XYZ class XYZ int member1; int member2; One approach is class ABC class XYZ //vector of class XYZ instances is stored
-
Hi. I Have two queries in one sheet of an workbook and these have the same filter or parameter. I need to refresh the querie 2 with filter of querie 1 Regards Rodrigo Araya
-
Can't move/copy recent backup in iTunes
I am trying to set my iPhone up as a new phone, and have backed up all my content on my phone but can't figure out how to find my most recent backup. I found where it states when my phone has been backed up, but I can't copy/move the content. I have
-
Migrating Scenarios from XI 3.0 to PI7.1
Hi Experts, Can anyone who has done the migration of scenarios from XI 3.0 to PI 7.1 throw light on the process of doing it? What precaution needs to be taken in order to see there is a seamless migration and that all the scenarios ar
-
Help! Technical Support on Chat sent me here