Custom Flashplayer embed questions
I am currently working on a custom flash player. After
working on several working versions where I simply used
actionscript to delegate the actions of my custom player.
I am now working on a more dynamic ready flashplayer that
will need to be embeddable. Should I make a .swf specificaly for
the player using the flash player SkinFLA examples as an outline?
The idea is to have a player that embeds like youtube, any
suggestions or tutorials to look over? Also, this player needs to
have playlist functionality, but it needs to be able to scope to
anyone. I could have users register and then create an XML that
references their playlist, but it seems like there may be better
options. Just looking for some discussion and debate over player
best-practices....
If your custom device is an inline custom device you may update only dedicated channels per iteration.
In case of a asynchronous (parallel) custom device, you are forced to write always the entire stack of channels no matter what happend to the values. (if none of the values have changed, then it is ok to not call the FIFO Write function).
The FIFO Write doesn't cause a huge overhead.
You can easily benchmark that yourself though.
Tom
http://www.newgistics.com
Similar Messages
-
Custom report layout question...can't find any answers anywhere
I am trying to build a report in Portal, using the custom report layout. The report displays like so, before I do any customization:
COLUMN1 COLUMN2 COLUMN3
COLUMN1 COLUMN2 COLUMN3
COLUMN1 COLUMN2 COLUMN3
COLUMN1 COLUMN2 COLUMN3
where COLUMN1 is the same value, always per report; COLUMN2 and COLUMN3 vary.
What I want is:
COLUMN1
COLUMN2 COLUMN3
COLUMN2 COLUMN3
COLUMN2 COLUMN3
COLUMN2 COLUMN3
In the report layout editor, Body section, this is what I see:
<TD ALIGN="LEFT"><#COLUMN1.FIELD#></TD>
<TD ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
<TD ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
so #COLUMN1.FIELD# must be some kind of array, but I am not finding any documentation anywhere on how to reference the individual values. All I need is the very first value of the COLUMN1 variable. Once I have that value, I can put it where I need it, but I can't get at that value, just the array.
I have searched portal center, the app server documentation, html documentation. I have googled everything I could think of, but came up with nothing. I found a similar question on this forum, but no one responded with an answer. Any help would be greatly appreciated.Helen,
The best way for your case is to use a content folder and customize it whichever way you like.
however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
anyway. something similar but not exactly the same as what you wanted do is the following.
use a query like the following: (with a union in between)
SELECT COLUMN1,NULL , NULL ,NULL ,NULL
FROM my_source_table
WHERE myCriteria LIKE 'SoAndSo%'
UNION
SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
FROM my_source_table
WHERE myCriteria LIKE 'SoAndSo%'
---------- Now, have the following codes in the layout segments:
<!--- header --->
<table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
<!--- body --->
<tr align="center">
<td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
<tr align="center">
<TH><#COLUMN1.FIELD#></TH>
</tr>
</table>
</td>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
</tr>
<!--- footer --->
<TR><TD></TD></TR>
this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
with kind regards,
naqvi -
I'm using "insert flash video" in DW8. I noticed that it puts
the skin and progressive swf files in the same folder as the page.
I'd like to move these files to a different folder. I was hoping I
could just do the "drag and drop" and it would update all the files
to know what has been moved. But that didn't seem to work. Any idea
if you can have the other files in a different folder? Does any one
know what code would need to be changed so it knows the new path?
Thanks for any help you can provide me.Here is what the page looks like...
http://www.margostern.com/extras_sucker.html
You will notice the flash .swf movie plays but it doesn't
include the skin
anywhere in the movie to control it... Why is this? Maybe
someone could
look at the HTML code and figure out what I'm doing wrong for
me?
Best Regards,
Chris Jumonville
"Chris Jumonville" <[email protected]> wrote in
message
news:elr3h0$bj3$[email protected]..
>I have a simple question. I am trying to embed a flash
video in my HTML
>page and I used Flash 8 to import the video with the
wizard and it created
>my .mov file to a .flv file and it also created a .swf
file of the movie as
>well. I selected to use one of the default movie player
skins in the
>wizard so it also exported a .swf file for the skin as
well. I'm wondering
>now how I embed it in my HTML using Dreamweaver 8 or
basically what is the
>HTML code I need to insert to get it to embed the video.
I got it to embed
>alright in Dreamweaver but it just has a black empty
space where the skin
>is supposed to be...
>
> --
> Best Regards,
>
> Chris Jumonville
> -
Toolbar Custom Control Ring question
Hi. This is probably a dumb question, but how do I add items to a ring (kRing) toolbar item when using the Toolbar Custom Control (toolbar.fp) in CVI 2010? Thanks.
Solved!
Go to Solution.Interesting. I take it that the toolbar items are actually just standard control types and once I have the toolbar's panelhandle and control ID I can manipulate the items as controls with the standard user interface library functions (within reason of course)?
In any case, thanks for the help. That worked perfectly. -
Custom ABAP extractor question
Hi Geeks,
I have written an ABAP report for a custom extractor.
My report pulls all necessary data & modify table ZTABLE.
Now I want to trigger event in BW using RSSM_RAISE_EVENT.
which I will use to trigget process chain in BW.
My question is how BW will recognize my report as custom extractor?
I am not using RSO2 , I am bit confused abt it.
Can anybody clear my understanding about how to go abt defining custom extractors using ABAP report, what r the steps..I know how to write the code & I have my code ready
Thanx in Advance.
MonicaHi Monica,
You have to create a generic extractor.
Go to transaction RSO2 on your source system.
Fill in a name for the extractor.
In the next screen you have to choose for Extraction with Function Module. If you place you cursor on the FM field and push F1 (Help) you get an example of a FM: RSAX_BIW_GET_DATA_SIMPLE.
Copy this FM and change the logic for collecting the data in itab e_t_data.
Cheers,
Patrick -
Custom Render service question
This is kind of related to the post at "http://www.adobeforums.com/webx/.3bc480d1/9".
Would like to find out how to use a custom Render service to populate some fields on the form, at the "Initiator" step of a workflow app.
In the Form Augumenter, there's "Get Field Value" service, but there's no "Set Field Value".
There's a "Insert Workflow XFO" service, but it seems that it can only set those "AWS_xxxx" fields.
How do I set a field value (to non AWS_ field) in a custom Render?
(at the "Initiator" step of a workflow application of course)
I know that I can make a WebService call from the Form to populate fields on the form, but it seems neater to do the field population in the custom Render (if it's feasible).
thanks
JamesAnswering James's question about converting types...
Livecycle has a concept of coercion. This is similar to the way javascript and many other interpretive languages work with different types of data. Basically, if you assign a variable of one type to a variable of another type, LiveCycle will do it's best to coerce the variable to the new form.
So, for example, if you assign an int to a long, it will just work. And if you assign an int to a string, you'll get a string containing a representation of the int.
If you assign a Document to an XML variable, if the document actually contained valid XML, then you'll end up with an XML document. If it doesn't contain valid XML, then I think you'll get an exception.
Some coercions just don't work - for example, a list to a doc just doesn't make sense.
Hope this helps...
Howard
http://www.avoka.com -
Question again about custom device.
If there are 200 output channels but every 100ms only 40 of them get updated by the driver.
Is it possible to write only those 40 channel data to the device output FIFO at a time?
What is the RT FIFO write speed when writing 200 channel data at a time?
Thanks.
Solved!
Go to Solution.If your custom device is an inline custom device you may update only dedicated channels per iteration.
In case of a asynchronous (parallel) custom device, you are forced to write always the entire stack of channels no matter what happend to the values. (if none of the values have changed, then it is ok to not call the FIFO Write function).
The FIFO Write doesn't cause a huge overhead.
You can easily benchmark that yourself though.
Tom
http://www.newgistics.com -
Custom Calculation Script Question
I'm flying blind here, I know nothing about this stuff. I just need something i can copy and paste into the "custom calculation script" box.
I'm working on making a character sheet for star wars saga edition auto calculate. The only thing I have left before it is completely done is one last calculating field. However, I have no clue how to do it.
What it needs to do is take the value from one field (user entered info) and then divide it by 2, always rounding down.
The field the user enters a number in is named "Level" and the field that needs to display that number is named "1/2lvl".If no one answers here you can try the Acrobat Scripting forum.
-
Report Custom Vertical Table Question
Hello Guys,
I am trying to display some data in a custom vertical table (for a report). The data that I have looks like this :
Customer number Name Product Age
123 John Customer Checking 50
456 Jane Customer Savings 40
When I display it using a vertical table (or attribute value pairs) the data looks like:
Customer number: 123
Name : John Customer
Product: Bank Account
Age: 50
Customer number: 456
Name : Jane Customer
Product: Bank Account
Acct No: 40
But I want to display the data like this:
Customer number: 123 456
Name : John Customer Jane Customer
Product: Bank Account Bank Account
Age: 50 50
The option here is to change the data to dynamic columns rather than dynamic rows. I tried manipulating the templates but it would not do it. Any other suggestions?
Thanks!Hi Badri,
OK - this is what I did (there's no documentation as such, so I'll just give you the step-by-step guide here!):
1 - In your application, go to Shared Components then Templates
2 - Click the Create button
3 - Click the "Report" option
4 - Select "From Scratch" and click Next
5 - Enter a name for the new template (for example, "Vertical Report"), leave the Theme as your current theme, set Template Class to "Custom 1", tick the "Named Column (row template)" option and click Create
This creates a new blank report template - scroll down the list of templates to this new one and click on the name to edit it.
In there, you need to enter the following:
Row Template 1 setting:
<td>
<table cellpadding="0" border="0" cellspacing="0" summary="" class="t18Standard" style="border-collapse:collapse">
<tr><td class="t18Data">#1#</td></tr>
<tr><td class="t18Data">#2#</td></tr>
<tr><td class="t18Data">#3#</td></tr>
<tr><td class="t18Data">#4#</td></tr>
</table>
</td>NOTE: In my example report, I show four columns (EMPNO, ENAME, SAL, COMM) - these are refered to as #1#, #2#, #3# and #4# above (#1# means column number 1, #2# is column 2 and so on - but use the column numbers not the names in your template). If you have a different number of columns add in or remove lines of: <tr><td class="t18Data">#nn#</td></tr> (replacing nn with the column number)
Leave all other settings in the Row Templates section blank
Before Rows setting:
<table cellpadding="0" border="0" cellspacing="0" summary="" style="border-collapse:collapse;">
<tr>
<td>
<table class="t18Standard" cellpadding="0" border="0" cellspacing="0" summary="" style="border-collapse:collapse;">
<tr><th class="t18ReportHeader">EMPNO</th></tr>
<tr><th class="t18ReportHeader">ENAME</th></tr>
<tr><th class="t18ReportHeader">SAL</th></tr>
<tr><th class="t18ReportHeader">COMM</th></tr>
</table>
</td>NOTE: You will need one TR tag for each of the column headings - I have four here (EMPNO, ENAME, SAL and COMM) - add or remove lines of <tr><th class="t18ReportHeader">COLUMNNAME</th></tr>
After Rows setting:
</tr>
</table>
<table>
<tr>
<td>
#PAGINATION#
</td>
</tr>
</table>Leave all settings in the Pagination section blank
NOTE: Any "class" name used above assumes that you are using Theme 18 (t18Standard is the standard report style class, for example) - you will have to update these to match your own theme
Click Apply Changes to save this
Now go back to your page and click on the "Report" link for your report region - this takes you to Report Attributes. Scroll down to the "Report Template" setting and change this to your new template. Click Apply Changes to save that.
When the page is rendered, a new table will be created for the report, the headings will be created within another table in the first TD on that table. All data lines are created as separate tables within new TD tags - this makes the output go across the page instead of down.
Andy -
I have a custom dialog box that uses both radio buttons and edit_text fields. What I am trying to do is make so that when a certain radio is selected the edit_text field will be filled with a suggested answer. Is that possible and how could it be done?
Yes, data is acquired from fields with the "dialog.store()" function and loaded with the "dialog.load()" function. Say that one radio button is named "Rad1" and the text box is named "Txt1". Then this code represents the action script for the radio button, it places "New Text" into the the text field.
"Rad1":function(dialog){
var rslt = dialog.store();
if(rslt["Rad1"])
dialog.load({"Txt1": "New Text"});
The Action script is a member of the dialog object. You can see examples of how this can be build by downloading a trial version of AcroDialogs, which will build the correct JavaScript code for adding an action to a radio button.
http://www.windjack.com/products/acrodialogs.html
Thom Parker
The source for PDF Scripting Info
pdfscripting.com
The Acrobat JavaScript Reference, Use it Early and Often
http://www.adobe.com/devnet/acrobat/javascript.html
Then most important JavaScript Development tool in Acrobat
The Console Window (Video tutorial)
The Console Window(article) -
How to assign value of expression or variable to custom tag attribute in jsp?
I had the same problem in a design a couple of months ago and could not get around it so I switched the functionality into code and out of the tag lib.
I take it you are trying to do something like this?
<%
String value="hiworld";
%>
<mytaglib:saysomething value="<%=value%>"/> -
ADF wont work with custom LoginModule! Question for Mr. Nimphius!
ive setup login module as shown in:
http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
code:
actionContext.getHttpServletRequest().isUserInRole("Administrators") works! but i also want this code to work in ADF:
appmod.getSession().isUserInRole("Administrators")
with default loginmodule "oracle.security.jazn.tools.Admintool" everything is ok! i can get roles in adf but with custom login module i cant!
in ApplicationModule config i have setup
jbo.security.config =
jbo.security.context = oracle.security.jazn
jbo.security.enforce = Must
jbo.security.loginmodule = oracle.sample.dbloginmodule.DBTableLM.DBTableLoginModule
please help!thank you very much for the reply!!!!
i did what you told but no luck... :(((
i still can not get user role from application module!
this code:
if (AppModule.getSession().isUserInRole("Administrators"))
System.out.println("User is in role! ");
simply does not work!
ive tested on standallone oc4j, ive tested on embeded jdveloper 10.1.2.1 !
i get NullPointerException at at oracle.jbo.server.security.jazn.JboJAZNUserManager.isUserInRole(JboJAZNUserManager.java:113)
the thing is that i can use isUserInRole() from request but i can not from application modulle....
...ive lost hours in decompiling and tracking down ADF code just to realize that there is no way to use custom login module with ADF because the thing is hard coded to use xml or ldap..
the only way i see how to solve the problem is to extend oracle.jbo.server.SessionImpl
and override
getUserRoles()
and
isUserInRole(String s)
i can substitute session class with my own by setting
SessionClass = oracle.jbo.server.ExtendedSessionImpl
in file jboserver.properties (which is inside bc4jmt.jar)
the easier way is to write my own function isUserInRole() in EntityImpl... i always can get user principal name with AppModule.getUserPrincipalName()
what do you think? -
X86 custom pxe jumpstart question...
Hello,
I am trying to pxe boot any hardware and do a basic solaris 10 unattended install..
I have the pxe boot working but can't quite get the unattended install to work... It comes up and asks for the 6 options and defaults to the interactive install.. I can then install but I want this all automated.. My setup is -
I am using pxegrub.0 on a fedora 8 box..
My menu.lst file -
default=0
timeout=5
splashimage=/boot/grub/splash.xpm.gz
title Solaris PXE Install
kernel /boot/solaris/multiboot kernel/unix - install dhcp -B \
install_config=10.32.2.55:/jumpstart/config, \
sysid_config=10.32.2.55:/jumpstart/config/sysidcfg, \
install_media=10.32.2.55:/jumpstart/Jump10x/, \
install_boot=10.32.2.55:/jumpstart/Jump10x/boot
module /boot/solaris/x86.miniroot
My /jumpstart/config dir -
total 126
-rw-r--r-- 1 root root 240 May 23 11:26 any_machine
-r-xr-xr-x 1 root root 59946 May 23 10:18 check
-rw-r--r-- 1 root root 22 May 22 13:03 rules
-rw-r--r-- 1 root root 48 May 23 11:26 rules.ok
-rw-r--r-- 1 root root 254 May 23 10:15 sysidcfg
The "config" files, am I missing something here??
ets-jumpstart01:/jumpstart/config# cat any_machine
install_type initial_install
fdisk all solaris all
system_type standalone
#partitioning default
partitioning explicit
filesys rootdisk.s1 1024 swap
filesys rootdisk.s5 256
filesys rootdisk.s6 256
filesys rootdisk.s0 free /
cluster SUNWCall
ets-jumpstart01:/jumpstart/config# cat rules
any - - any_machine -
ets-jumpstart01:/jumpstart/config# cat rules.ok
any - - any_machine -
# version=2 checksum=1749
ets-jumpstart01:/jumpstart/config# cat sysidcfg
system_locale=en_US
timezone=US/Pacific
terminal=xterms
security_policy=NONE
root_password=xyz
timeserver=localhost
network_interface=primary
{dhcp
protocol_ipv6=no}
name_service=NONE
nfs4_domain=englab.brocade.com
#service_profile=limited_net
Any help would be appreciated...etsbrada wrote:
I have the pxe boot working but can't quite get the unattended install to work... It comes up and asks for the 6 options and defaults to the interactive install.What 6 questions is it asking? Is it asking system config questions or is it asking installer config questions?
title Solaris PXE Install
kernel /boot/solaris/multiboot kernel/unix - install dhcp -B \
install_config=10.32.2.55:/jumpstart/config, \
sysid_config=10.32.2.55:/jumpstart/config/sysidcfg, \
install_media=10.32.2.55:/jumpstart/Jump10x/, \
install_boot=10.32.2.55:/jumpstart/Jump10x/boot
module /boot/solaris/x86.miniroot
My /jumpstart/config dir -
total 126
-rw-r--r-- 1 root root 240 May 23 11:26 any_machine
-r-xr-xr-x 1 root root 59946 May 23 10:18 check
-rw-r--r-- 1 root root 22 May 22 13:03 rules
-rw-r--r-- 1 root root 48 May 23 11:26 rules.ok
-rw-r--r-- 1 root root 254 May 23 10:15 sysidcfgYour sysid_config options should not be the full path to the file. It should be the directory that the "sysidcfg" file is in.
Try setting it to [blah]/jumpstart/config.
Can you post the boot messages? They normally have something about looking for sysidcfg file and looking for rules.ok file. Do you see those?
Darren -
Hello Experts -
I have a characteristic which has the text: "04 Parts 25%".
I need to use the 25% part in a calculation.
Can I use a customer exit to parse out the 25% and use the exit in a formula variable and use the formula variable in my calculation?
If yes, which customer exit should I use? EXIT_SAPLRRS0_001 is for Global Variables. Can I use this same exit? I'm confused about the I-Step part also.
Can someone please help?
Thanks a lot in advance.Hey its simple
Create your project in CMOD and assign component EXIT_SAPLRRS0_001
doublen click on this and put your code in ZXRSRU01
If you know ABAP then its very easy here you put your code in 3 events
1. I_step1 : suppose your variable name is A and you wann populate F4 help just append values in i_val.
Code : CASE i_vnam.
WHEN 'ZICCALDAY'.
IF i_step = 1.
LV_CALDAY = SY-DATUM - 1.
ls_range-low = '00000000'.
ls_range-high = LV_CALDAY.
ls_range-opt = 'EQ'.
ls_range-sign = 'I'.
APPEND ls_range TO e_t_range.
ENDIF.
2. I_step2 :Put your code here
CASE i_vnam.
WHEN 'ZVCPREYRCAL'.
IF i_step = 2.
READ TABLE i_t_var_range INTO LS_T_VAR_RANGE
WITH KEY vnam = 'ZICCALDAY'.
LV_CALDAY = LS_T_VAR_RANGE-high.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
I_DATE = LV_CALDAY
I_MONMIT = '00'
I_PERIV = 'V3'
IMPORTING
E_BUPER = LV_POSTPER
E_GJAHR = LV_FISCYEAR.
LV_FISCYEAR = LV_FISCYEAR - 1.
ls_range-low = LV_FISCYEAR .
ls_range-opt = 'EQ'.
ls_range-sign = 'I'.
APPEND ls_range TO e_t_range.
ENDIF.
WHEN 'Variable1
3. I_step3 :
Thats it
If any query revert back
Need any doc give your id will send u the same
Regards
Ankit -
Portal Custom Search Results Question
Hey,
We are using a custom search portlet to search through a page group containing content relevant to a group of end users. The results generated from the search a fine apart from that they also return items from the page group such as navigation pages or templates. So, when the user searches for a given simple keyword they get some pages and some navigation pages which would obviously be a little confusing.
How can we restrict the results in to being just pages ?
Cheers,
MarkMark
I don't have details of your content and it's attribution and structure, but it's possible with the custom search portlet to add search criteria to your search portlets that are hidden from the user. You can use this to place additional restrictions on the queries that filter out the extraneuous results, unbeknownst to the end user.
Thanks.
Maybe you are looking for
-
How do I get the area above the open window to display information (as in closing that specific window, "Safari File Edit View History, etc.) without having to attempt to put the cursor on it to give me that info? I am not referring to the dock whic
-
ADF Faces with NetBeans Visual Pack
Hello all, I have NetBeans 5.5.1 installed with the Visual Pack and I am looking to try out other libraries with it, in particular ADF Faces from Oracle. Does anyone know how to import the components into the NetBeans Visual Pack? They download from
-
Gray waves at the bottom of my display
i was using my mbp today and all of the sudden i noticed waves about an inch high starting from the bottom of my screen...it was like gray and white waves from left to right all the way across...i restarted the computer and it was gone...???
-
Oracle 10.2.0.4 with OFS 3.3.4 - MSCS -Failsafe Manager
Hi, Prior to our production upgrade of Oracle 9.2.0.6 to 10.2.0.4 for SAP 4.7 / Windows / Itanium (IA64), I had been trying a trial "Oracle only" upgrade with MSCS in virtual server environment. Added complexity is a Standby Database. I have reprodu
-
TO_NUMBER function on varchar2 column with numbers and strings
I need to create a column in a view that converts a varchar2 column data to number. The problem is that some of the data have strings and some numbers. I get "ORA-01722: invalid number" error when Oracle tries to covert strings (e.g. 'ABCD') to numbe