User Profile
Collapse
-
I get ya, makes sense sort of. -
you need to give the button an instance name:
single click the button -> in properties you will see instance name. name them something like home_btn, about_btn....
All we need to know now is are you using as3/as2?Leave a comment:
-
As in positioning a div tag or adding dynamic text with as3/as2?Leave a comment:
-
I dont quiet get what you mean. for example:
I want to load an external swf into flash and rotate it 90 degrees. If you want that its simple but i need to know what you mean.Leave a comment:
-
thanks, is it me or does it make no sense to find it by tagname then have to access it by using childNodes/firstChild.
Thanks for the fast response.
simonLeave a comment:
-
xml.dom.minidom nodeValue returns none
What causes nodeValue to be None?
Im trying to connect to facebook, my lack xml experiance with python is letting me down. Can anyone explain the following?
Code:def getReply(self, params): req = urllib.urlopen(facebook.getURL(params)) tokenXML = req.read() req.close() print 'Raw data: ', tokenXML return tokenXML tokenXML = parseString(facebook.getReply(params)) token
-
-
another thing that could be the problem is my wireless usb stick. Its a dynamode, its since then that i have had the problems. If anyone has had a similar problem let me know please, so i can take it back and get a new one (PCI this time)Leave a comment:
-
random bsod when using 3d programs
I dont understand why its happening and i have never had the problem before. I built my own computer as usual and every now and then i will get a BSOD (Blue Screen Of Doom/Death).
Not sure exactly why or how they apear, my first assumption is the driver on the graphics card, so i updated it with the correct version for my OS, which is windows 7 64bit. Not sure why its still happening any advice would be great.
Also whats... -
From what you wrote I'm guessing you want a popup, you need to use "_blank".
Erm kjogsite, this question was asked 3 years ago. You digging through old questions? :pLeave a comment:
-
ok sorry about my previous reply, i want to delete it to be honest. not many people will be able to help here as hitTest is now obsolete(its as2 and most people are as3 now). i downgraded for you and the problem has a simple solution.
Code:trace(man_mc.forward_mc.hitTest(insect_mc)); // change to trace(insect_mc.hitTest(man_mc.forward_mc)
Leave a comment:
-
i dont know what exactly your asking here. assuming you have a set up like the following:
Code:var myscene_mc = new myscene_(); var man_mc = new man_(); var insect_mc = new insect_(); var forward_mc = new MovieClip(); addChild(myscene_mc) myscene_mc.addChild(insect_mc); myscene_mc.addChild(man_mc); man_mc .addChild(forward_mc);
Code:Leave a comment:
-
i would say make two different flash files. One embedded into the browser and another for a full browser view.
The embedded into the browser has a button to pop out, simply done.
The fullbrowser view can just be a html file and you pass a few variables eg popup.html?file =xxxx&posistion =200888
will keep the track playing when it opens, like youtubes.Leave a comment:
-
alot of people just make a one of flash app that will crawl over a directory and open all the files in there. This is quiet simple and i can help you make it if you want.Leave a comment:
-
Heres the code, assuming the file is called file.xml and you want to load it from a file.
Code:var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, loadXML); loader.load(new URLRequest("file.xml")); var xml; function loadXML(e:Event):void { xml = new XML(e.target.data); trace(xml); // Outputs the whole file for (var i in xml.item)
Leave a comment:
-
Yup, that's all clear now. Thanks a lot, fast and helpful forums here.Leave a comment:
-
thanks for the reply, turns out i miss typed the file when making it. to text.txt. but i got it working now thanks, one question though. if the file is dynamic eg
filename from sys.
Code:f=open('files/'.filename,'r')
Leave a comment:
-
No such file or directory:
Ok i think it is the way i am telling the function what the path is. im guessing this only doesnt work because im on a windows machine (on python 2.5)
Code:f = open('files\test.txt', 'r') for line in f: print line
Code:'files\\test.txt' r'files\test.txt' 'files/test.txt' 'c:\....\files\test.py' 'c:\\...\files\test.py' (for the
No activity results to display
Show More
Leave a comment: