dynamically

changing path of flvplayer from timeline in as3?

I can get the videos to play using the flvplauer component, but im having a little trouble figuring out if and how to dynamically change the path of the flvplayer while running through a timeline. If I can do something like mc.changeFLVPath that would be awesome! Any and all help appriciated. ...

how to import a jsp from temp directory in jstl

I have some dynamically generated jsp content I'd like to (jstl) c:import into another jsp page. Currently I have the dynamically generated jsp written to a file in the servlet temp directory (javax.servlet.context.tempdir) but can't work out how I can import it since it is outside the servlet context. Is there a way to import a jsp from...

Jquery - Unable to dynamically change action of a form and submit it inside the success event of ajaxForm()

This is a payment form to be posted to Worldpay payment gateway. It has all the parameters as per the WorldPay documentation and it works fine if directly posted. But, now I am trying to AJAX post the form first to my site (using jquery.form, and that part is working fine) then do some database operations and then change the action...

How can I add examples to rspec at runtime?

I am trying to write a spec were the number of examples i.e. 'it "should ..." do' are determined at runtime. I tried putting the 'it' method in my own method so that I could call it multiple times: def new_method(test) it "#{test} should... " do end end However, the 'it' method is not available from the current Spec::E...

applying theme in asp.net

Hello guys, Here i want to set theme for a master page but i don't know how to do it so please tell me some solution . all the i want to do from code behind. thanks to all. ...

Asp.net resources - prevent error on page when resource reference is invalid

Hi, I'm using resources like this; " runat="server" /> Resources are maintained in a database and resourcefiles are generated when new translations are added. Sometimes bad references to keys happens. This results in error on the whole page. How can I prevent the whole page from crashing when a resource does not exist? I just want a ...

How to dynamically create a sqlite3 database on the iPhone?

Hello, I would like to know if it is possible to create the file of a database by programming? Actually I need to create a database if it does not exist. ...

dynamically adding rows with editbox and button,how to write a click event for the button.??

Hi All, I am adding rows(containing a editbox and button) dynamically i have implemented a contactpicker for button.But if i add 3 rows...and click on third row's button the name should come in third editbox but the name in first box changes. The code i have used is : package com.example.mmt; import android.app.Activity; import andr...

How to integrate Disqus plugin for WordPress with JQuery Ajaxed content?

I have implemented JQuery Ajax for dynamic content retrieval for my WordPress blog. But now I have a problem with DISQUS plugin, it just do not load anymore, because page is not reloading. For other small scripts I have used LiveQuery plugin for JQuery and it worked out well, but DISQUS is too complicated for me. Maybe someone could give...

Pros and cons of using embedded images instead of dynamic loading

Hi everyone! I was just wondering what are the pros and cons of using embedded images instead of dynamic loading? Because when making games on pure AS3 (without Flash IDE), its a pain to manually embed all the assets needed... That makes your code sloppy, besides you don't have control to automatically change the hud, for example, by on...

Split geometry or use multiple materials in order to quickly change vizualized colors in (WPF) 3D scene

Hi 3D guru's out there, I'm developing a WPF application that uses 3D for vizualizing a pipe system. At a certain moment it must be possible to color those pipes according to a value on certain points. See the figure below. This shows a 2D cross section overview of an elbow and a pipe attached to each other. On this pipe some points ...

mailing lists - list of members is dynamically fetched from a mysql database

Hi, I've developed an information system that has currently about 60 members, from which I have e-mail information. My goal is to sort out a way of creating a list address like, for example, "[email protected]". Then, that e-mail address would work as a mailing list, i.e., if I send a mail to "[email protected]", every membe...

Find All Event Handlers for a Winforms Control in .Net

Is there a way to find all event handlers for a Winforms control? Specifically statically defined event handlers? ...

How to add checkbox control at the beginning of every row in datagrid control ?

I am developing mobile application in C#. I want to add the checkbox control dynamically at the beginning of every row in the datagrid control & based on that particular checkbox selection I want to fire the event. I want to add the checkbox column & based on the selection of any particular checkbox, I want to fire the event on that chec...

Expression.Call - Calling linq extension: FirstOrDefault, Where....

I am trying to create the following dynamically, however I am having problems calling the extension method "FirstOrDefault" using(var context = new Entities()) { var list = context.Engines.Include("Cars").Select(e => e.Cars.FirstOrDefault()).ToList(); } I have the following Expression parameter = Expression.P...

Desktop application - how do I dynamically create and destroy forms.

Hi all, I'm creating a small crypto app for the desktop using java. I'm using JFrames (import javax.swing.JFrame) with Oracle JDeveloper 11g under Linux. I want to have a "welcome" form/frame where users can choose their encryption method, and then on choosing the method, I want to dynamically create the appropriate form for the chose...

Use XQuery library modules dynamically with Java

With XQuery you can use library modules within your query. They can be imported via import module namespace mynamespace = 'com.mynamespace' at 'filename.xq'; The question is: is there a way to determine which file is associated with the module namespace so that the programmer can decide dynamically? For example, my dynamic configura...

Dynamically generate multiple RadioButtonList and capture their values

I have a situation where I need to generate multiple sets of radio buttons. These radio buttons display One to Many relationship data. I know how to get it to work with a workaround that I used back in Classic ASP days ... in which I essentially just spit out the HTML dynamically and keep track of my controls using systematic IDs. Which...

Android:How to change opened tab dynamically

Hi, I have an Android application which has four tabs (I use a main TabActivity with TabHost and TabSpecs). In one of my sub activity (activity opened in a tab), i need to open a tab not by clicking on the tab title and i don't know how to do this. For example, i have a button in my activity and when i click on it, it opens a different t...

Android: Loading groupviews dynamically

Hi guys, I am trying to figure out how to load different groupviews dynamically. I am creating application that will have menu with 4 categories and each category will have several sub-menu items. I have created four LinearLayouts with sub-menu buttons inside (they are separate xml files). Now I want to display appropriate sub-menu in m...