I have a small problem when embedding an swf file in a flash cs4 project (adobe), when run, the embedded video loops continuously. If you play the swf file outside adobe flash, it doesn't loop.
Any one know how i can stop the embedded file from looping?
User Profile
Collapse
-
How to stop embedded flash file from looping continuously
-
How to stop embedded .swf from looping
Hi,
I have embedded a .swf file into a new project in adobe flash,
when i play the .swf file normally it does not loop, but in the project, the video loops, does anyone know how i can avoid the looping?
Thanks so much. -
thank you very much.
the items are now appearing vertically, however there is a large gap between each item and once the items reach the bottom, new items are allocated into another column.. could it be just one column? I tried AutoArrange as True and False but still get a second column.. -
autosizing picture in picturebox
Hi,
I have a picturebox in C#, visual studio 2008. when a picture is sent into the picturebox, the image is does not resize to the size of the picturebox. I tried the "behaviour options" in visual studios properties but alas no luck.
Is there a way around this?
Thank you. -
arrange items in rows (vertically) in a list view
Hi.
I have a listview , and when items are allocated to it, they get displayed in rows, ie, one next to the other, whereas i would prefer it to place each item in a new line such that it is arranged vertically, is there any way of doing this? -
thanks a lot for setting me in the right direction!
I now have;
...Code:s = r"(%s)" % ("\.".join(['(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)']*4)) patt = re.compile(s) fn = "file" s = open(fn).read() i = 0 results = [] while True: m = patt.search(s, i) if m: results.append(m.group(1)) i = m.end()+1Leave a comment:
-
parse log file to obtain IP's with failed attempts
I am trying to parse through a log file to obtain the IP addresses with >5 failed
login attempts, firstly I'm trying to get the IP addresses but there seems to be something wrong with the regular expression I think. would be good to export the addresses to another text file, does anyone have any ideas where to go from here?
Thank you.
[code=python]
#!/usr/local/bin/python
file = open(location)... -
counting the occurrences of specific terms in a text file, in python
Say I have a text file containing entries, and I want to count the number of entries which have the word "apple" in them.
I have tried the following code, anyone knows what would help? learning python.
-->...Code:#!/usr/local/bin/python file = open("C:/Users/xyzl/Desktop/fruit.txt","r") #Open File. def appleno(fruit): res = 0 for (apple) in auth: -
-
hi sanjib65,
brilliant! now everything i select is copied to the other listbox, but its not a 'move' since the items in the original listbox are still there after the move.
so i modified the code as below but, all the items don't get removed! strange.
private void btnMoverr_Click (object sender, EventArgs e)
{
foreach (int i in lstBoxl.Selecte dIndices)
{
...Leave a comment:
-
sorry im new to programming and dont understand it. im not purposely ignoring advice!Leave a comment:
-
Hi
sanjib65
the aim is to move multiple selected items from one listbox to another listbox. i have tried the following code;
private void btnMovell_Click (object sender, EventArgs e)
{
lstBoxl.Items.A dd(lstBoxr.Text );
lstBoxr.Items.R emove(lstBoxr.S electedItems);
but it just moves one selected item at a time.Leave a comment:
-
Yes Dheeraj,
I have two list boxes, and i want to move multiple items (yes, selected) from one list box to another!Leave a comment:
-
Thanks guys.. still havn't solved the issue yet but incase you think of anything more let me know! cheers.Leave a comment:
-
List Box : how to move multiple items in C# ?
Hello,
I am trying to move multiple items from one list box to another, i have tried the following code, but the output so far just gives me "{collectio n}" in the other list box.
...Code:private void btnMoverr_Click(object sender, EventArgs e) { //lstBoxr.Items.Add(lstBoxl.SelectedItems); //lstBoxl.Items.Remove(lstBoxr.SelectedItems);
No activity results to display
Show More
Leave a comment: