Hi All,
I need to be able to dynamically import an external pdf file into my flash .swf and display it within a movie clip on the timeline. --with pagination. Is this possible with Flash CS4?
Thank you for reading. I have been out of the flash game for about a year now. However, a situation has arisen where I need to create a swf movie that loads an external pdf, paginates it, and displays it within a movie clip in...
User Profile
Collapse
-
Dynamically import pdf w/ as3
-
Text link does accidental dbl insert
Hey, I have a simple web app that requires the user to click a text link to add a section to the form. As you will see from the following code (PHP/mySQL), the link inserts a row into the database table. The problem is that, during testing, sometimes when I click the link, two rows are added instead of only one. I only want one row to be added. Could you please help me figure out my bug?
Code:// Insert and delete actions for Education,
-
-
-
Username validation against db
Hey. I am using mysql, php, and javascript (jquery).
I have a nice form setup where the username field validates AJAX-style against my database... this technique allows for the user to see if his username is already in use, while he is typing.
Problem is, I am only validating against the the exact (case-sensitive) value returned from the database. I want to make sure there can't be a user 'pete' and 'Pete'.
... -
Add two years to date string
Hey,
I have a string variable, $s_dateboxEffec tiveStartDate
I need to add - two years minus one day - to this variable. Could anyone offer any advise?
Code:<script type="text/javascript"> function UpdateShipAndDeliverDates(ElementName) { if(ElementName=='s_dateboxEffectiveStartDate') { document.MyForm.s_dateboxEffectiveEndDate.value=(document.MyForm.s_dateboxEffectiveStartDate.value);
Leave a comment:
-
-
add two years to date string
Hey,
I have a string variable, $s_dateboxEffec tiveStartDate
I need to add - two years minus one day - to this variable. Could anyone offer any advise?
Code:function UpdateShipAndDeliverDates(ElementName) { if(ElementName=='s_dateboxEffectiveStartDate') { document.MyForm.s_dateboxEffectiveEndDate.value=(document.MyForm.s_dateboxEffectiveStartDate.value) + (TWO YEARS
-
Ok....if you're still with me....I made a little progress. I designed to SELECT queries. Problem is...I need to somehow combine them so that I can select both values:
Code:SELECT SUM(VacationHours) AS adjustedVacation FROM HR_VacRequest WHERE RequestedBy = @EmployeeID AND RequestYear = @RequestYear
Code:SELECT av.VacationHours AS totalVacation FROM HRE_T_VAC_AvailableVacation
Leave a comment:
-
-
CK, thank you very much for helping me. Unfortunately, I am still getting the exact same result set.
Here is the exact Query:
Code:DECLARE @RequestYear smallint DECLARE @EmployeeID int SET @RequestYear = 2002 SET @EmployeeID = 565 SELECT * FROM (SELECT VacationHours, MAX(EffectiveDate) as MaxDate FROM HRE_T_VAC_AvailableVacation WHERE EmployeeID
Leave a comment:
-
Code Listed: select max value in row that is less than my variable
Hey, I am having a problem with a SQL statement. I hope someone can help me.
I have a table with one key column, ID and two columns, Value and Date. I have a variable that contains a certain date. I need to select the max value whose date is less than my variable!
Code:SELECT Value ,MAX(Date) FROM myTable WHERE ID= '565' GROUP BY Value HAVING MAX(Date) <= @Variable
-
water ripple on rollover
Hey guys,
I have been searching for a tutorial on how to create a nice water ripple on mouse over. I found a great example on one forum but the dude offered no advise.
Perhaps an expert here may be able to point me in the right direction?
example I am trying to achieve:
http://www.kneib.biz/f8files/water_with_f8.h tml -
-
-
form GET method on submit parameter name problems!
Hey,
I am trying to use MapQuest's directions forms from my flash website. The code that they provide for you is basic html.
I am trying to send the form from inside a flash movie. The code is very simple:
var my_lv:LoadVars = new LoadVars();
my_lv.go = "1";
my_lv.2a = "555 Giffin Avenue";
my_lv.2c = "Canonsburg ";
my_lv.2s= "PA";... -
Ok Nate. Thanks for the advise. I actually got it going completely on the client side. The following code works really nice. The only problem now is that I want the .text property of lblExpand to change from "+" to "-" depending on whether the row is expanded or not. I will be trying to f with this for the rest of the day.
Here is the code that work for the curious. If you have any suggestion on how to manipulate...Leave a comment:
-
Nate,
Furthermore, I am using .net 2.0. You are very observant. The reason my code may resonate 1.1 is because the other side of this solution is in 1.1. The old school solution is used to profile the database tables that are then being displayed in this 2.0 solution's datagrid.
If you suggest I start this datagrid from scratch and use a gridview or something along those lines I'm all ears.
Again,...Leave a comment:
-
Hey Nate,
Thanks for your assistence. Unfortunately, I am still stuck. I am glad to see you understand exactly what I am trying to accomplish. I have been trying alterations of your fix, but to no avail.
When I click the LinkButton at runtime there is no reaction. Its sad. I will repaste my new codebehind:
Code:namespace USGWEBGUI.employee { public partial class postAPosition : System.Web.UI.Page
Leave a comment:
No activity results to display
Show More
Leave a comment: