Getting Flash Interface In . Net?
Apr 3, 2011I'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 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 Repliesis it possible to create an application with flash interface in Vb?I'm using visual basic 2008.
View 1 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 Replieshow to create a user interface in a game such as the application XFire using Visual Basic?
View 3 RepliesI'm working on a design project where I have to use a Graphical User Interface that contains a drag and drop form. It consists of having a window dropped on a wall. Both of them are images to scale. I would like to know what kind of code I would have to use to show the x and y coordinates of one of the points of my window when dragged so when I drop it, I'm dropping in it on the desired coordinate of the wall.
View 2 RepliesI was wondering if I could elicit some tips on how to procede with an interface design approach.That is. What is a good way to go about establishing a "work area" where one can have multiple "floating forms" in this area.Can you have a form which occupies the entire windows desk top and the other forms "float" in this space? the "floating" forms would need to interact with each other where pressing buttons etc on them would affect other forms on the "workspace") Or what would be a good way to start accomplishing that? Or is there a better way to get the same effect?
View 4 RepliesI'm trying to make a .dll that contains a lot of basic functionality that a program can use. Currently i am trying to use interfaces to make a lot of this functionallity independend of the program using it but i hit a snag. The Basic idea is that a programmer will create his own object using the interface discribed in my .DLL file. Then implements those functions as he likes. He can then instanciate a controller (found in the same DLL) and sends his custom object implementing the interface to that Controller. The controller can then be started and will take over all the work. I do not know what type of object is send to the controller and idealy i want to program it in such a fashion that i shouldn't care as long as the object send implements that interface.In code I am trying to achieve the following: (quite simplyfied)
.Dll:
Code:
Public Interface MyInterface '<----Decleration of the interfaceFunction GetData() As Integer
Function SetData(Data As Integer)
end interface
[code]....
this propperly. I know that the second i set the interface adaptor in the Controller VS comes nagging that it can not be converted to a "MyInterface" Class. Obviously i am doing something wrong. I can change the datatype that the controller expects to the "MyController" type but that would completely ruin the whole idea of flexibillity. I am hoping someone sees what i am trying to do and can point out where i made the thinking error.
Is this where i would post a picture of my interface and get feedback on changes for easier use? If not is there someplace on this forum or any other forum to do this?
View 1 Repliesin the codebase i'm maintaining there is an old interface. Let's call it IFoo. It pretty much became obsolete and replaced with the Interface INewFoo with a change a few weeks ago, but for backwards-compatibility purposes, i wrote a wrapper class which implements INewFoo and takes an IFoo in the constructor.To clarify, consider the following code.
Public Interface IFoo
Sub DoStuff()
End Interface[code].....
For both interfaces, the implementations are loaded by scanning a few assemblies with StructureMap. Now, let's get to the bad things. Most implementations for the old interface were put into forms for reason i can neither understand nor change. Because those tend to be displayed and disposed, i have to create a new instance every time i use ObjectFactory.GetAllInstances(Of IFoo). Thats still no problem, but i'd like to register a INewFoo-Wrapper for each registered implementation of IFoo, so that i can just use ObjectFactory.GetAllInstances(of INewFoo) and get all implementations of IFoo AND INewFoo.I can't iterate through the implementations of IFoo and register a wrapper for each one because as far as i can see, you can just register those with instances.Wrong code below:
ObjectFactory.Configure(Sub(config)
config.Scan(Sub(scan)
For Each ass In assemblies[code].....
My question is: Is it possible to register a wrapper for each implementation of IFoo which always creates a new instance of the implementation before creating a new instance of the wrapper?
I want to declare a property as an interface collection of an interface, and I want to instanciate the explicit type later, in the constructor. Something like this.
Public Class LicenseFile
Implements ILicenseFile
Public Property Collection As IList(Of ILicenseFileDataNode)
[Code]....
In short, the question is "Why It Didn't work"? This is a simplified scenario, but It's easy to take a workarround, But I need understand the reason because It's fails.
I'm using interface with relay and interface is connected to computer on COM (serial) 9 pins port. In Visual Studio 2005 I'm using this
SerialPort1.Open
SerialPort1.DtrEnable = True
SerialPort1.Breakstate = True
[code].....
Why does an interface override a class definition and violate class encapsulation? I have included two samples below, one in C# and one in VB.net?
[Code]...
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 RepliesI have an interface class (IUser) which is the interface of class User. Now, i want to put these into an IList but am confused as to how i should declare the IList:Dim userList As IList(Of IUser) = New List(Of IUser) Dim userList As IList(Of User) = New List(Of User) Dim userList As IList(Of IUser) = New List(Of User) Dim userList As IList(Of User) = New List(Of IUser) when instantiating should you always use its implementation; and when using it as a type use its interface?
And when im creating a new user should i use: Dim myUser as IUser = new User?
communication 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 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 Replies