669 Posted Topics
Re: I haven't tried it, but just off the top of my head, would it be worth using a variable to catch whatever value is returned by the system.os call where you're executing mxmlc and then print that value... Something like this?? [code = python] mxmlc_output = os.system("mxmlc.exe swick.swc -output location/swiff.swf") … | |
Re: I concur with Raja! If you open up the movie clip containing the images and the scroll bar (the instance of library object "scroll 3" called "ins_revistas"). Take a look at the movie-clips containing pictures 1-12 at frame 1 and pictures 13-24 in frame 2, you'll see that both clips … | |
Re: Assuming you're using Flash (if not, you're in the wrong forum!): If you're using Flash with AS2, you're probably gonna have to simulate 3D yourself, which could take a long while to explain the ins and outs of. But if you're using Flash with AS3, then you can use one … | |
Re: If you want to stream video on your own server, you'll need some form of flash server and the willingness to build your own application on it....Which will involve a fair bit of work. Regarding server software, Adobe's flash media server is prohibitively expensive for a home user as it … | |
Re: Hey guy and m. OK, I think I can help with the escape key thing, but I'm not sure on the video scaling problem. From what you've said, I'm assuming that you're listening for the escape key in your AS and then firing off some code to navigate away from … | |
Re: I'm not aware of any linux software that deals with flash, certainly nothing that will open .fla's. There are some attempts to make a linux port of Flashdevelop (a free Windows/.NET based IDE for the Flex 3 SDK), but I don't think they've got very far with it yet. As … | |
Re: [QUOTE=sab73;911298] i tried this, result is different but not as expected either. [CODE] byte = abc.B_ABC_Function02(hex(p2), hex(p3)) [/CODE][/QUOTE] Do you need to convert the returned value to hex perhaps?? i.e. [CODE] byte = hex( abc.B_ABC_Function02(hex(p2), hex(p3)) ) [/CODE] The above code should set the value of byte to be a … | |
Re: OK well, alpha is a public property of most if not all display object types in flash, so you should easily be able to write a script to randomly select a thumbnail and then modify it's alpha value. Animating filters is quite straightforward too. Here's an example of alpha and … | |
Re: Bugger, iamthwee got in there while I was writing my long winded reply... Right I'll remove my explanation of crossdomain.xml and the playback security settings and make this short... The other things to bear in mind are: Have you [B]definitely[/B] uploaded all of the files to the correct places keeping … | |
Re: This one was pretty straightforward... Take a look at divisions.xml If you look at the entry for "Eyesite" you can see that the "[CDATA[" tag at the start of the line hasn't been closed properly at the end. The line currently ends with: [CODE] in an effective manner.</Option> [/CODE] The … | |
Re: Without seeing some code I don't think there's a lot we can do. Perhaps try making a quick backup of what you've got there and then revert the changes you made to the seemingly unrelated page. Once you've got the page back to it's previous condition, test the site to … ![]() | |
Re: Well at first glance the code looks OK.... To confirm it, I just tried your code and it works for me on Windows and Ubuntu (both have Python 2.6 and wxPython 2.8 installed) I can see the menu, mousing over the menu items causes text to be displayed in the … | |
Re: It's been a while since I've used photoshop. But generally speaking, if I need to find the RGB value of a pixel in any graphics package (usually gimp/paint.net/inkscape), I'd zoom right in on the image so I can see the pixel I'm after and use the colour picker tool (looks … | |
Re: In answer to this question: Take a look at the actionscript on the scroll bar instance at frame 30 on layer 52.. The actionscript says: [CODE=ACTIONSCRIPT] onClipEvent (construct) { _targetInstanceName = "txt5"; horizontal = false; } [/CODE] Something struck me as odd while looking at this. The scrollbar in question … | |
Re: The short answer is there is no way around it. The flashvars that get passed into the myspace media player .swf are merely the parameters the player needs to be able to rettrieve the artists details and playlist from a database. The flashvars do not contain the total play count … | |
Re: Inside the command prompt, to go back to the root level, i.e. C:\ you just need to type: [code] cd\ [/code] | |
Re: [QUOTE=synxmax;919577]Dear Guys I Want To Generate A Random Number Between 2 Number [B]BUT[/B] Without Generating 2 Same Number I Mean If For Example Already Generated Number "2" Next Time Did Not Generate It , Is There Any Solution :icon_question:[/QUOTE] There are loads of ways to generate unique random numbers, but … | |
Re: Sorry for adding to an already solved thread, Generally the whoie camel case thing is just to make things more easily readable, but it's not at all mandatory as far as I'm aware. You can make your variable names as long or short as you like (there may be an … | |
Re: Believe it or not, I think it's your gotoAndStop() calls in your click handlers that are causing the error. If memory serves correctly, when you use addEventListener to attach an event handler function to an instance of an object of any class, I think the code in the handler function … | |
Re: I guess the easiest way would be to either look up some AS3 tutorials on the web, or buy a couple of decent books on AS3. "Friends of ED" (a publisher) do a few good books on AS3. A few which I own and recommend are: Foundation Actionscript 3.0 Animation:Making … | |
Re: To expand on MidiMagic's post, You could use the Python programming language with the wxPython library (pythons wrapper around the wxWidgets library) to create graphics like the example you've shown. The Software Development->Python forum here on daniweb has plenty of tutorials on programming Python/wxPython. The Python language and the wxPython … | |
Re: OK, I've downloaded the file and my initial impression is AAARGH! In my previous job in the elearning sector, I used to hate having to edit badly put together .fla's like this....It's a nightmarish mess of layers and code and badly named library objects (Although..not the worst I've seen by … | |
Re: If you're using the windows version of Python3.0 and for some reason you haven't got the shortcuts to idle (i.e. the installer failed to create them, you accidentally deleted them or you used a source package rather than the installer) you can create them manually by right-clicking on your desktop … | |
Re: [QUOTE=funfullson;887302]hello all. I have python 3 and want use mysql but i dont find mysqls modouls please say me a link.[/QUOTE] I don't think they've actually released a library for python 3.0 yet. I think the current version of mysql's python interface only works on python2.x versions Take a look … | |
Re: I'm not sure what's causing the problem, but it also occurs in IE7! I usually use firefox, but I took a peek at the site in IE7 (nice site BTW!) and had exactly the same problem you described in IE8. The page flashed up and then disappeared and IE showed … | |
Re: [QUOTE=cheapterp;897184]What (if anything) do I need to check with the organization that hosts my website to make sure Flash works as expected?[/QUOTE] You might want to check that your hosts allow .swf files to be uploaded to their servers. Most web hosts nowadays allow .swf files, but I suppose it … | |
Re: [QUOTE=wacky;896303]I don't know why when I use this functions from WAVEMIX.h,in my program I meet some errors: error LNK2019: unresolved external symbol "unsigned short __stdcall WaveMixGetInfo(struct WAVEMIXINFO *)" (?WaveMixGetInfo@@YGGPAUWAVEMIXINFO@@@Z) referenced in function "int __cdecl MixTest_OnCreate(struct HWND__ *,struct tagCREATESTRUCTA *)" (?MixTest_OnCreate@@YAHPAUHWND__@@PAUtagCREATESTRUCTA@@@Z) main.obj : error LNK2019: unresolved external symbol "void * __stdcall … | |
Re: As the other guys have suggested, there are several ways around the problem. The error you're getting is because your F_Ite() function does not return a value. A function can only return one value, the only way of returning several values would be to either create all of the variables … | |
Re: From what I can see it looks like it's because you are calling newName.ShowModal() twice in your code. In the first call to DoModal in your if statement, a dialog is created and if the user presses ok and has entered some text the dialog is destroyed and your while … | |
Re: [QUOTE=snitch321;889563]My original code enables me to play another frame once the user has clicked on the object-as seen in the code; [code=ActionScript]stop(); btn1.addEventListener (MouseEvent.CLICK, onClick); function onClick ( event:MouseEvent):void { gotoAndPlay("8") }[/code] However, when i replace gotoAndPlay with 'gotoAndStop' it doesnt work?[/QUOTE] Do you have a call to play() in … | |
Re: As Sky has mentioned, there are several potential causes of this error. I think it's most often related to incorrectly/ambiguously defined variables, function parameters or function return types. From what I understand of this (I have encountered it before): In MS's attempts to make VS2005 more conformable to the standard, … | |
Re: [QUOTE=Daria Shmaria;889024]I'm writing a "Chicken and Eggs"-style game. I get an error in Main.as, line 160, that says "1119: Access of possibly undefined property ENTER_FRAME through a reference with static type Class." Line 160 is: [code] basket_mc.removeEventListener(KeyboardEvent.ENTER_FRAME,moveBasket); [/code] basket_mc is a MovieClip of the basket used to collect falling eggs. … | |
Re: To better diagnose the problem it would be worth trying to run the .swf directly from the desktop in a standalone version of flash player, instead of via a browser plugin. To do this, navigate to your .swfs directory on the hard drive and double click on it and the … | |
Re: [QUOTE=vicky12345;887453][CODE]def who_knows(a, b): """ a and b are lists """ c = [] for i in a: if is_mem(b, i): c.append(i) return uniqify(c) def is_mem(a, elem): for i in a: if i == elem: return True return False def uniqify(arr): b = {} for i in arr: b[i] = 1 … | |
Re: [QUOTE=max.yevs;887573]im sorry this is kind of a silly question i know, but does anyone know any succesful ways to change a .py into a .exe? like so that someone without python installed on their computer can run it? i've seen this topic in a couple places but everything i've tried … | |
Re: [QUOTE=ryhan09;883013]Hi, I am using Flash 8 with Actionscript 2.0. I am unable to stop my Flash Videos from playing as soon as the page loads. Tried everything...please help, Thank You[/QUOTE] Have you tried setting the autoPlay parameter of the FLV playback component to false? That should solve the problem... To … | |
Re: looks ok to me...{using firefox..} Could be a browser related thing... What browser are you experiencing the problems on? What kind of help do you need? p.s. one thing I did think was that the site intro was a little long-winded and slow...Having the 'Enter site' link appear at the … | |
Re: I seem to recall having similar issues at my previous job, I had some software to maintain in VC6 which threw up several errors when I first tried to compile the source, despite having paths set up to all of the relevant external libraries and includes... winsock.h and winsock2.h were … | |
Re: Hey there, I just replied to your other thread: [url]http://www.daniweb.com/forums/thread195614.html[/url] Try altering your include order as mentioned in my reply to the post in the above URL and see if that does the trick. It may solve this problem as well as the other problems you were having! Cheers for … | |
Re: I can't see anything obvious... The only thing I can think of that you could try is perhaps removing your variables from the flash movies URL.. i.e. change the following lines: [QUOTE][CODE] <param name="movie" value="flash/arcs.swf?testing=test" /> [/CODE][/QUOTE] to [CODE] <param name="movie" value="flash/arcs.swf" /> [/CODE] and [QUOTE][CODE] <object type="application/x-shockwave-flash" data="flash/arcs.swf?testing=test" width="380" … | |
Re: [QUOTE=lera;878348]hi i have created a movie clip that should play external flv files i have placed the flv files in thier own key frames and have buttons that gottoand play frame number but when i click on the buttons it only play the 1st video in the 1st frame but … | |
Re: OK, I've reskinned the FLV player component before, but I've never had to reskin the tree component. So I'm not sure what would be involved. However, I do know that most, if not all of the components that ship with the various versions of flash are fully skinnable and customisable...So … | |
Re: [QUOTE=kavithakesav;868689]Hi All, I downloaded Flex 3 software from [url]www.adobe.com/flex[/url]. Its downloaded sucessfully after that its expand also. The problem don't know what to do after that:'( ....... Plz can anyone tell me[/QUOTE] Now you've got the flex3 SDK you can create AS3 classes using a text editor and use them … | |
Re: OK, I've not had time to look into this too far, and it's been a while since I've done any AS2...But here goes. To be able to dynamically use movieclips in your actionscript you first need to ensure that the clip has the appropriate linkage settings. After creating your GFX/movieclip, … ![]() | |
Re: Apologies for the delay in replying to this...For some reason I didn't spot this post until today! From the code you've posted, the 2nd line of the following block of AS contains a simple typo which is the source of your problem: [CODE] mySoundObject = new Sound(); //initializing my sound … | |
Re: Despite being a C++ programmer by trade nowadays, I still mess with Flash rather a lot. So one of the main bits of free web development software I've been using lately is [B]Flashdevelop[/B] ([url]www.flashdevelop.org[/url]) which is free open source software (Windows only) for creating flash content. If you download the … | |
Re: I think the problem is lines 18 and 33: [CODE=C++] void fillTree(const bintree<int> &treeRoot); [/CODE] By passing treeRoot into fillTree as a constant reference, what you're telling the compiler is that your function will not modify the contents of treeRoot.... As you are modifying the values held, this is the … | |
Re: [QUOTE=Erroneous Seth;862597]Hello to everyone, I am having this problem with the following code: [code] typedef struct test { int i; char c[50]; } testStruct; int main() { char *pData; testStruct t; t.i = 5; strcpy_s(t.c, 50*sizeof(char), "hello"); pData = (char *)malloc(sizeof(t)); memcpy(&pData, &t, sizeof(t)); testStruct a; memcpy(&a, &pData, sizeof(t)); cout … | |
Re: [QUOTE=Tiwana;858592]Hello! I want to find the position of objects on my sensor field. I have uploaded the diagram of sensor field attached In the figure S1-S8 are the laser sensor pointing into the field. While red and yellow are the balls [B] Case 1:[/B] if there is only one ball, … | |
Re: Nice post sky, well explained... But I noticed a very very minor mistake here.... [QUOTE=Sky Diploma;858337] [CODE=C++] void result(int v, int& x)//v=26;x=30 { x = ( 3 * v + 5 - x );//x=((3*26)+5-30) //x=76+5-30; //x=81-30=51. return; }//result [/CODE] [/QUOTE] 3*26=78, not 76. So the final value of x is: … |
The End.