Flash ActionScript Not Working?
Feb 5, 2010Flash ActionScript Not Working?
View 2 RepliesFlash ActionScript Not Working?
View 2 RepliesI am trying to edit variables in a Flash game that runs off of AS3.I have tried this method:
Call Game.SetVariable("Variable", "Value")
Obviously my ShockwaveFlash control is named "Game" However, this only works in AS2.
In the beginning, I wasn't able to run a flash game on my webbrowser in visual basic. I then found out that there was a setting I needed to change and then flash started to work again for me.I just sent the program to my friend and flash isn't working for him in his webbrowser. What do I do?and the setting i changed was
Tools-->Options-->Show all settings-->checked
Projects and Solutions-->General-->Show advanced build configurations-->checked-->OK
Build-->Configuration Manager-->Active solution platform-->New-->x86-->OK-->Closed
In actionscript
Code:
var a = "b"
var c = "d"
var bd = "ef"
trace(this[a+c])
the output will be "ef"
How can i do somthing like this in visual basic?
I am going to create a gaming platform primarily with flash,flex and was also looking to create a windows client that could communicate with my server using these protocols. Could someone point me in the right direction on any possible .net libraries available that could handle the communications between client and server?
View 2 RepliesGood day all,A Flash movie that plays fine when opened in a web browser is playing slowly and choppily in my VB 2005 WinForm application on the same machine.
View 7 RepliesHi, I'm just beginning to teach myself how to do OOP in VB 2008 Express. I have a quick question after seeing a video online.Is a VB variable the equivalent of an 'instance' in Flash and a VB object like a 'symbol' in Flash? Is this what it means by a variable being a reference or pointer to an object and not the object itself?
View 5 Replieswhy is it i need to click the shockwave flash player/flash/.swf before it will exectue.
here's my code for shockwave flash player
Handles AxShockwaveFlash1.Enter
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Movie = "C:UserscompnameDesktopflash1.swf"
Me.AxShockwaveFlash1.BGColor = Me.BackColor.R.ToString("X2") & Me.BackColor.G.ToString("X2") & Me.BackColor.B.ToString("X2")
why is it i need to click the shockwave flash player/flash/.swf before it will execute.here's my code for shockwave flash player
Handles AxShockwaveFlash1.Enter
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Movie = "C:UserscompnameDesktopflash1.swf"
Me.AxShockwaveFlash1.BGColor = Me.BackColor.R.ToString("X2") & Me.BackColor.G.ToString("X2") & Me.BackColor.B.ToString("X2")
Well I have a Flash Movie loaded in the Flash Control, And I need to reload it. (So the new base url is used) How do I do this?
View 1 RepliesI need to modify a button so that I can add a flash property which will flash the backcolor red.Along the lines of RedLightButton.Flash = true.I have the following
Public Class RedLightButton
Inherits Button
Private WithEvents FlashTimer As New Timer
Private isFlashing As Boolean = False
Public Sub New(ByVal ButtonText As String)
[Code]...
When I right click on the component area, a contextmenu appears.I want to disable this OR remove "Settings" and "About Adobe Flash Player..".I searched the internet for a solution,but almost all the suggestions were about the Visual Basic 6. Anyone knows how to correct this in Visual basic 2008 ? (And sorry for my English if there is a mistake )
View 1 RepliesI found on msdn samples and modified (add Thread.GetDomaind.UnhandledException)
<SecurityPermission(SecurityAction.Demand, Flags:=SecurityPermissionFlag.ControlAppDomain)> _
Public Sub Main()
' Add the event handler for handling UI thread exceptions to the event.[code].....
It appears that my favorite thing in the world is tackling projects that are beyond my current knowledge and abilities. I have a little project that I am working on which is a simple image viewer stocked with (upon completion) your standard Load..., Next/Previous, Zoom In/Out, Actual Size, and Full Screen capabilities. However, I am running into a few snags:
(1) I've been able to get my "Load..." button to display a file dialog box, but I cannot seem to get a working filter (with which only image file types are allowed to be selected) in working order.
(2) I have a PictureBox object (entitled PictureBox1) that displays the image selected via the file dialog box, but it loads images in their full size (1:1/100% zoomed) state without scrollbars, etc. to allow me to navigate the loaded image. I would like to have it load the image, initially, to fit within the dimensions of PictureBox1 and from there be able to zoom in/out via my "Zoom In/Out" and "Actual Size" buttons and be able to scroll if the zoom level is beyond the dimensions of PictureBox1.
(3) It dawned on me that I haven't the faintest idea how to get my "Next/Previous" buttons to allow the user (me) to navigate, in succession, the images contained in the folder in which the currently loaded image is stored. [code]
If it is deemed that this thread is inappropriately requesting help, I ask that it be locked/deleted quickly as I recognize that this is a large community with many discussions going without need of unwelcome posts.
is there any way to use flash UI in VB? i understand there should be a plugin ? right now i got a window app that need to integrate with flash UI.
View 7 Repliescommunication between Flash and vb.net?
View 1 Replieshow can i control swf background transparency in vb.net either with flash.ocx or if there is any other way.so that if i have a swf animation block with red in background and some text written with yellow. now how can i remove that red background in vb.net.actually i want to make a system so that i can choose any color as transparency key for swf like in tv channels logos.
View 2 RepliesI am still a novice at visual basic, so forgive me if this question is trivial. The situation:Ok I am using visual basic 2008, I currently have a form on it with a web browser, a button and a textbox. What I am trying to achieve is when a value is entered into the textbox, and the button is pressed, a variable within a flash game is changed. I have seen many ways of doing this if the flash game is standalone, that looks relatively easy. What I don't understand is how can I target the flash game when it is within a web browser. I know the varibale I wish to change, I am just not aware of how I can alter this with Visual basic 2008.
If someone could please spend the time writing some steps for how I could achieve this I would be grateful.They may need to be relatively dumbed down, because like I said I am still a novice. Something along the lines of "double click the button and enter this code..." would be great.
how to get a string from flash and use it in VB.NET?
View 1 RepliesI'm familiar with VB and Java, and I want to make an application that can pull data from a flash player application on a website.Ideally it would be able to constantly monitor the application and pull changing data from it.
View 1 RepliesI'm thinking of having a flash interface in my program..I'm using visual basic 2008.Can you give some example code,tutorials or program that has flash interface.
View 1 RepliesThe first Picture show my original program.
View 2 RepliesI am wondering how to use flash in my programs. I have both VB 2008 and 2010 express. Does any one have tips for how I should get started?
View 3 Repliesmy axWebBrowser is activated. But now there is a new Problem, Im trying to use flash in the axWebBrowser and when i do that, it works fine but when i launch it again it fails. I cant use the ShockwaveFlash Object because the Flash Requires a Login before the Flash content is displayed. The login is in HTML So i need something that works with HTML And Flash, thats why im trying to use the webbrowsers. It does the same in The normal WebBrowser control, thats why i tried to use the axWebBrowser. I thought of a solution but i dont know whether its a usable solution, is there anyway you could reset the whole webbrowser control at launch of the app because the flash works only once at the first time running the app.
View 6 Repliesi have a problem in using the callfunction in the flash in vb.net.I have this fucntion in my flash.
function setColortext()
{
this.txta9.textColor=0x0B4A17;
}
and i want to call that function in my vb.net axflash.callfunction("setColortext") 'Error HRESULT E_FAIL has been returned from a call to a COM component.'i tried to use xml but don't have a correct over view of the code.'i used this in xml AxShockwaveFlash1.CallFunction("<invoke name=""setColortext"" returntype=""xml""></invoke>") 'still same error occurs..
I Want To create Animation Project like powerpoint In .net(vb.net).how to do the effects and what are the controls and components needed.
View 1 RepliesI develop on my 64bit system, and the problem with that is, flash does not support 64bit browsers, only 32 bit, is there a way to convert the browser i made to like 32 bit or something so it will be compatible with flash ....
View 1 RepliesWhen ever I use a Shockwave Flash Object in one of my Forms, it always says this It might be to do with some Add-On packs which I downloaded ages ago, but I have no idea. I have tried uninstalling and re-installing Flash, and the same for Visual Basic and all of it's components.
View 9 Replies[code]I can see the flash file, and I can send from Vb to the flash file , but i can't recieve anything from flash file to Vb using fscommand. The flash is taking from a example , and here the vb exe file works.I have made my project in V.S8
View 12 RepliesI have created a small application to open the Flash File from my VB.Net Windows Application. To open the Flash file - I have used the Shockwave Flash Object. When I run the application directly from the Solution, the flash files are opening perfectly. But, once I created the EXE and tried to open the same file, I could not. But I can still open other files such as XML, PDF, and Word file from the same directory.
View 2 Replies